Lines Matching full:window

26 /* The hypervisor allows one credit per window right now */
51 * Allocate VAS window hcall
86 * Deallocate VAS window hcall.
107 * Modify VAS window.
108 * After the window is opened with allocate window hcall, configure it
190 * When the fault interrupt is received for each window, query the
222 * during this window, the hypervisor will not deliver this
240 * Allocate window and setup IRQ mapping.
252 * interrupt per window. So the IRQ setup and fault handling in allocate_setup_window()
253 * will be done for each open window separately. in allocate_setup_window()
274 pr_err("VAS-Window[%d]: Request IRQ(%u) failed with %d\n", in allocate_setup_window()
312 * A VAS window can have many credits which means that many in vas_allocate_window()
314 * restricts one credit per window. in vas_allocate_window()
332 * Allocate window with QoS credits if user requested. Otherwise in vas_allocate_window()
344 pr_err_ratelimited("Credits are not available to allocate window\n"); in vas_allocate_window()
351 * The user space is requesting to allocate a window on in vas_allocate_window()
373 * Allocate / Deallocate window hcalls and setup / free IRQs in vas_allocate_window()
375 * Open VAS window: Allocate window hcall and setup IRQ in vas_allocate_window()
376 * Close VAS window: Deallocate window hcall and free IRQ in vas_allocate_window()
378 * completed before closing the window. So expects OS in vas_allocate_window()
380 * after the deallocate window hcall is returned. in vas_allocate_window()
381 * So once the window is closed with deallocate hcall before in vas_allocate_window()
384 * result in setup IRQ fail for the new window since the in vas_allocate_window()
402 * Modify window and it is ready to use. in vas_allocate_window()
414 * closes all open windows from the list. But the window is in vas_allocate_window()
423 * removal after the window is opened. So if there are any in vas_allocate_window()
425 * window to user space. New windows will be opened only in vas_allocate_window()
442 pr_err_ratelimited("No credit is available to allocate window\n"); in vas_allocate_window()
446 * Window is not operational. Free IRQ before closing in vas_allocate_window()
447 * window so that do not have to hold mutex. in vas_allocate_window()
477 * are processed before closing the window - Means all in deallocate_free_window()
504 pr_err("Window (%u): Invalid window type %u\n", in vas_deallocate_window()
512 * VAS window is already closed in the hypervisor when in vas_deallocate_window()
540 .open_win = vas_allocate_window, /* Open and configure window */
542 .close_win = vas_deallocate_window, /* Close window */
597 pr_err("Unsupported window type %u\n", caps->win_type); in get_vas_capabilities()
608 pr_err("Window creds(%u) > max allowed window creds(%u)\n", in get_vas_capabilities()
626 * core add and set the window active status. When NX sees the page
628 * by setting the remapping to new paste address if the window is
681 * This window is closed with DLPAR and migration events. in reconfig_open_windows()
682 * So reopen the window with the last event. in reconfig_open_windows()
686 * this window will be opened with the last event. in reconfig_open_windows()
695 * Nothing to do on this window if it is not closed in reconfig_open_windows()
712 * Set window status to active in reconfig_open_windows()
724 * Window modify HCALL failed. So close the window to the in reconfig_open_windows()
756 * This window is already closed due to lost credit in reconfig_close_windows()
757 * or for migration before. Go for next window. in reconfig_close_windows()
758 * For migration, nothing to do since this window in reconfig_close_windows()
785 * is done with mmap() after the window is opened with ioctl. in reconfig_close_windows()
795 * Close VAS window in the hypervisor, but do not in reconfig_close_windows()
828 * changes. Reconfig window configurations based on the credits
869 * On pseries, each window will have 1 credit. in vas_reconfig_capabilties()