Lines Matching full:window
26 /* The hypervisor allows one credit per window right now */
71 * Allocate VAS window hcall
106 * Deallocate VAS window hcall.
127 * Modify VAS window.
128 * After the window is opened with allocate window hcall, configure it
210 * When the fault interrupt is received for each window, query the
242 * during this window, the hypervisor will not deliver this
260 * Allocate window and setup IRQ mapping.
272 * interrupt per window. So the IRQ setup and fault handling in allocate_setup_window()
273 * will be done for each open window separately. in allocate_setup_window()
294 pr_err("VAS-Window[%d]: Request IRQ(%u) failed with %d\n", in allocate_setup_window()
332 * A VAS window can have many credits which means that many in vas_allocate_window()
334 * restricts one credit per window. in vas_allocate_window()
352 * Allocate window with QoS credits if user requested. Otherwise in vas_allocate_window()
364 pr_err_ratelimited("Credits are not available to allocate window\n"); in vas_allocate_window()
371 * The user space is requesting to allocate a window on in vas_allocate_window()
393 * Allocate / Deallocate window hcalls and setup / free IRQs in vas_allocate_window()
395 * Open VAS window: Allocate window hcall and setup IRQ in vas_allocate_window()
396 * Close VAS window: Deallocate window hcall and free IRQ in vas_allocate_window()
398 * completed before closing the window. So expects OS in vas_allocate_window()
400 * after the deallocate window hcall is returned. in vas_allocate_window()
401 * So once the window is closed with deallocate hcall before in vas_allocate_window()
404 * result in setup IRQ fail for the new window since the in vas_allocate_window()
422 * Modify window and it is ready to use. in vas_allocate_window()
434 * closes all open windows from the list. But the window is in vas_allocate_window()
443 * removal after the window is opened. So if there are any in vas_allocate_window()
445 * window to user space. New windows will be opened only in vas_allocate_window()
462 pr_err_ratelimited("No credit is available to allocate window\n"); in vas_allocate_window()
466 * Window is not operational. Free IRQ before closing in vas_allocate_window()
467 * window so that do not have to hold mutex. in vas_allocate_window()
497 * are processed before closing the window - Means all in deallocate_free_window()
524 pr_err("Window (%u): Invalid window type %u\n", in vas_deallocate_window()
532 * VAS window is already closed in the hypervisor when in vas_deallocate_window()
560 .open_win = vas_allocate_window, /* Open and configure window */
562 .close_win = vas_deallocate_window, /* Close window */
617 pr_err("Unsupported window type %u\n", caps->win_type); in get_vas_capabilities()
628 pr_err("Window creds(%u) > max allowed window creds(%u)\n", in get_vas_capabilities()
646 * core add and set the window active status. When NX sees the page
648 * by setting the remapping to new paste address if the window is
701 * This window is closed with DLPAR and migration events. in reconfig_open_windows()
702 * So reopen the window with the last event. in reconfig_open_windows()
706 * this window will be opened with the last event. in reconfig_open_windows()
715 * Nothing to do on this window if it is not closed in reconfig_open_windows()
732 * Set window status to active in reconfig_open_windows()
744 * Window modify HCALL failed. So close the window to the in reconfig_open_windows()
776 * This window is already closed due to lost credit in reconfig_close_windows()
777 * or for migration before. Go for next window. in reconfig_close_windows()
778 * For migration, nothing to do since this window in reconfig_close_windows()
805 * is done with mmap() after the window is opened with ioctl. in reconfig_close_windows()
815 * Close VAS window in the hypervisor, but do not in reconfig_close_windows()
848 * changes. Reconfig window configurations based on the credits
889 * On pseries, each window will have 1 credit. in vas_reconfig_capabilties()