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("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()
398 * Modify window and it is ready to use. in vas_allocate_window()
410 * removal after the window is opened. So if there are any in vas_allocate_window()
412 * window to user space. New windows will be opened only in vas_allocate_window()
427 pr_err("No credit is available to allocate window\n"); in vas_allocate_window()
431 * Window is not operational. Free IRQ before closing in vas_allocate_window()
432 * window so that do not have to hold mutex. in vas_allocate_window()
456 * are processed before closing the window - Means all in deallocate_free_window()
483 pr_err("Window (%u): Invalid window type %u\n", in vas_deallocate_window()
491 * VAS window is already closed in the hypervisor when in vas_deallocate_window()
519 .open_win = vas_allocate_window, /* Open and configure window */
521 .close_win = vas_deallocate_window, /* Close window */
576 pr_err("Unsupported window type %u\n", caps->win_type); in get_vas_capabilities()
587 pr_err("Window creds(%u) > max allowed window creds(%u)\n", in get_vas_capabilities()
605 * core add and set the window active status. When NX sees the page
607 * by setting the remapping to new paste address if the window is
660 * This window is closed with DLPAR and migration events. in reconfig_open_windows()
661 * So reopen the window with the last event. in reconfig_open_windows()
665 * this window will be opened with the last event. in reconfig_open_windows()
674 * Nothing to do on this window if it is not closed in reconfig_open_windows()
691 * Set window status to active in reconfig_open_windows()
703 * Window modify HCALL failed. So close the window to the in reconfig_open_windows()
735 * This window is already closed due to lost credit in reconfig_close_windows()
736 * or for migration before. Go for next window. in reconfig_close_windows()
737 * For migration, nothing to do since this window in reconfig_close_windows()
764 * is done with mmap() after the window is opened with ioctl. in reconfig_close_windows()
774 * Close VAS window in the hypervisor, but do not in reconfig_close_windows()
807 * changes. Reconfig window configurations based on the credits
848 * On pseries, each window will have 1 credit. in vas_reconfig_capabilties()