Lines Matching full:windows
69 * be mapped cache-able and is only applicable to send windows.
269 * These registers are common to send/receive windows although they
270 * differ for user/kernel windows. As we resolve the TODOs we may
318 * TODO: Can we mfspr(AMR) even for user windows? in init_xlate_regs()
353 * Design note: For NX receive windows, NX allocates the FIFO buffer in OPAL
357 * write the per-chip RX FIFO addresses to the windows during boot-up
516 pr_err("Too many (%d) open windows\n", VAS_WINDOWS_PER_CHIP); in vas_assign_window_id()
577 * (so both send and receive windows are on the same VAS instance)
580 * NOTE: We access ->windows[] table and assume that vinst->mutex is held.
593 rxwin = vinst->windows[winid]; in get_user_rxwin()
628 * We have two tables of windows in a VAS instance. The first one,
629 * ->windows[], contains all the windows in the instance and allows
630 * looking up a window by its id. It is used to look up send windows
631 * during fault handling and receive windows when pairing user space
632 * send/receive windows.
634 * The second table, ->rxwin[], contains receive windows that are
639 * Here, we save @window in the ->windows[] table. If it is a receive
658 WARN_ON_ONCE(vinst->windows[id] != NULL); in set_vinst_win()
659 vinst->windows[id] = window; in set_vinst_win()
665 * Clear this window from the table(s) of windows for this VAS instance.
680 WARN_ON_ONCE(vinst->windows[id] != window); in clear_vinst_win()
681 vinst->windows[id] = NULL; in clear_vinst_win()
695 * ->notify_disable False for NX windows in init_winctx_for_rxwin()
696 * ->intr_disable False for Fault Windows in init_winctx_for_rxwin()
697 * ->xtra_write False for NX windows in init_winctx_for_rxwin()
698 * ->notify_early NA for NX windows in init_winctx_for_rxwin()
699 * ->rsvd_txbuf_count NA for Rx windows in init_winctx_for_rxwin()
700 * ->lpid, ->pid, ->tid NA for Rx windows in init_winctx_for_rxwin()
784 * Section 3.1.4.32: NX Windows must not disable notification, in rx_win_args_valid()
796 * Section 3.1.4.32: Fault windows must disable notification in rx_win_args_valid()
804 * User receive windows are only for fast-thread-wakeup in rx_win_args_valid()
920 * ->notify_disable False for NX windows in init_winctx_for_txwin()
921 * ->xtra_write False for NX windows in init_winctx_for_txwin()
922 * ->notify_early NA for NX windows in init_winctx_for_txwin()
923 * ->lnotify_lpid NA for Tx windows in init_winctx_for_txwin()
924 * ->lnotify_pid NA for Tx windows in init_winctx_for_txwin()
925 * ->lnotify_tid NA for Tx windows in init_winctx_for_txwin()
926 * ->tx_win_cred_mode Ignore for now for NX windows in init_winctx_for_txwin()
927 * ->rx_win_cred_mode Ignore for now for NX windows in init_winctx_for_txwin()
1011 * receive window (applicable only to FTW windows), use the vasid in vas_tx_win_open()
1048 * kernel's address space. For user windows, user must issue an in vas_tx_win_open()
1109 * Only NX windows are supported for now and hardware assumes in vas_paste_crb()
1110 * report-enable flag is set for NX windows. Ensure software in vas_paste_crb()
1327 * Send windows and fault window uses credit mechanism as follows:
1329 * Send windows:
1386 window = vinst->windows[winid]; in vas_pswid_to_window()
1396 * NX GZIP user send window. FTW windows should not incur faults in vas_pswid_to_window()