Lines Matching full:window

25 /* The hypervisor allows one credit per window right now */
50 * Allocate VAS window hcall
85 * Deallocate VAS window hcall.
106 * Modify VAS window.
107 * After the window is opened with allocate window hcall, configure it
189 * When the fault interrupt is received for each window, query the
221 * during this window, the hypervisor will not deliver this
239 * Allocate window and setup IRQ mapping.
251 * interrupt per window. So the IRQ setup and fault handling in allocate_setup_window()
252 * will be done for each open window separately. in allocate_setup_window()
273 pr_err("VAS-Window[%d]: Request IRQ(%u) failed with %d\n", in allocate_setup_window()
311 * A VAS window can have many credits which means that many in vas_allocate_window()
313 * restricts one credit per window. in vas_allocate_window()
331 * Allocate window with QoS credits if user requested. Otherwise in vas_allocate_window()
343 pr_err("Credits are not available to allocate window\n"); in vas_allocate_window()
350 * The user space is requesting to allocate a window on in vas_allocate_window()
372 * Allocate / Deallocate window hcalls and setup / free IRQs in vas_allocate_window()
374 * Open VAS window: Allocate window hcall and setup IRQ in vas_allocate_window()
375 * Close VAS window: Deallocate window hcall and free IRQ in vas_allocate_window()
377 * completed before closing the window. So expects OS in vas_allocate_window()
379 * after the deallocate window hcall is returned. in vas_allocate_window()
380 * So once the window is closed with deallocate hcall before in vas_allocate_window()
383 * result in setup IRQ fail for the new window since the in vas_allocate_window()
397 * Modify window and it is ready to use. in vas_allocate_window()
409 * removal after the window is opened. So if there are any in vas_allocate_window()
411 * window to user space. New windows will be opened only in vas_allocate_window()
426 pr_err("No credit is available to allocate window\n"); in vas_allocate_window()
430 * Window is not operational. Free IRQ before closing in vas_allocate_window()
431 * window so that do not have to hold mutex. in vas_allocate_window()
455 * are processed before closing the window - Means all in deallocate_free_window()
482 pr_err("Window (%u): Invalid window type %u\n", in vas_deallocate_window()
490 * VAS window is already closed in the hypervisor when in vas_deallocate_window()
518 .open_win = vas_allocate_window, /* Open and configure window */
520 .close_win = vas_deallocate_window, /* Close window */
575 pr_err("Unsupported window type %u\n", caps->win_type); in get_vas_capabilities()
586 pr_err("Window creds(%u) > max allowed window creds(%u)\n", in get_vas_capabilities()
604 * core add and set the window active status. When NX sees the page
606 * by setting the remapping to new paste address if the window is
659 * This window is closed with DLPAR and migration events. in reconfig_open_windows()
660 * So reopen the window with the last event. in reconfig_open_windows()
664 * this window will be opened with the last event. in reconfig_open_windows()
673 * Nothing to do on this window if it is not closed in reconfig_open_windows()
690 * Set window status to active in reconfig_open_windows()
702 * Window modify HCALL failed. So close the window to the in reconfig_open_windows()
734 * This window is already closed due to lost credit in reconfig_close_windows()
735 * or for migration before. Go for next window. in reconfig_close_windows()
736 * For migration, nothing to do since this window in reconfig_close_windows()
758 * is done with mmap() after the window is opened with ioctl. in reconfig_close_windows()
769 * Close VAS window in the hypervisor, but do not in reconfig_close_windows()
802 * changes. Reconfig window configurations based on the credits
843 * On pseries, each window will have 1 credit. in vas_reconfig_capabilties()