/kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/ |
H A D | vas-fault.c | 54 * pswid - window ID of the window on which the request is sent. 80 * We use CCW[0] and pswid to validate CRBs: in vas_fault_thread_fn() 84 * pswid NX assigns window ID. Set pswid to -1 after in vas_fault_thread_fn() 107 if ((entry->stamp.nx.pswid == cpu_to_be32(FIFO_INVALID_ENTRY)) in vas_fault_thread_fn() 120 entry->stamp.nx.pswid = cpu_to_be32(FIFO_INVALID_ENTRY); in vas_fault_thread_fn() 133 be32_to_cpu(crb->stamp.nx.pswid)); in vas_fault_thread_fn() 145 pr_err("VAS[%d] fault_fifo %p, fifo %p, pswid 0x%x, fault_crbs %d bad CRB?\n", in vas_fault_thread_fn() 147 be32_to_cpu(crb->stamp.nx.pswid), in vas_fault_thread_fn()
|
H A D | vas-window.c | 391 val = SET_FIELD(VAS_PSWID_EA_HANDLE, val, winctx->pswid); in init_winctx_regs() 575 * Find the user space receive window given the @pswid. 583 u32 pswid) in get_user_rxwin() 588 decode_pswid(pswid, &vasid, &winid); in get_user_rxwin() 603 * by @cop and if applicable, @pswid. 608 enum vas_cop_type cop, u32 pswid) in get_vinst_rxwin() 615 rxwin = get_user_rxwin(vinst, pswid); in get_vinst_rxwin() 748 winctx->pswid = rxattr->pswid; in init_winctx_for_rxwin() 966 winctx->pswid in init_winctx_for_txwin() 582 get_user_rxwin(struct vas_instance *vinst, u32 pswid) get_user_rxwin() argument 607 get_vinst_rxwin(struct vas_instance *vinst, enum vas_cop_type cop, u32 pswid) get_vinst_rxwin() argument 1361 vas_pswid_to_window(struct vas_instance *vinst, uint32_t pswid) vas_pswid_to_window() argument [all...] |
H A D | vas.h | 299 * invalid one. So use pswid which is pasted by NX and ccw[0] (reserved 304 * successful read until finds invalid pswid and ccw[0] values. 306 * it by updating pswid with FIFO_INVALID_ENTRY and CCW[0] with 407 u32 pswid; member 432 uint32_t pswid); 493 static inline void decode_pswid(u32 pswid, int *vasid, int *winid) in decode_pswid() argument 496 *vasid = pswid >> (31 - 7) & 0xFF; in decode_pswid() 499 *winid = pswid & 0xFFFF; in decode_pswid()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
H A D | vas-window.c | 390 val = SET_FIELD(VAS_PSWID_EA_HANDLE, val, winctx->pswid); in init_winctx_regs() 574 * Find the user space receive window given the @pswid. 581 static struct vas_window *get_user_rxwin(struct vas_instance *vinst, u32 pswid) in get_user_rxwin() argument 586 decode_pswid(pswid, &vasid, &winid); in get_user_rxwin() 601 * by @cop and if applicable, @pswid. 606 enum vas_cop_type cop, u32 pswid) in get_vinst_rxwin() 613 rxwin = get_user_rxwin(vinst, pswid); in get_vinst_rxwin() 746 winctx->pswid = rxattr->pswid; in init_winctx_for_rxwin() 964 winctx->pswid in init_winctx_for_txwin() 605 get_vinst_rxwin(struct vas_instance *vinst, enum vas_cop_type cop, u32 pswid) get_vinst_rxwin() argument 1395 vas_pswid_to_window(struct vas_instance *vinst, uint32_t pswid) vas_pswid_to_window() argument [all...] |
H A D | vas.h | 299 * invalid one. So use pswid which is pasted by NX and ccw[0] (reserved 304 * successful read until finds invalid pswid and ccw[0] values. 306 * it by updating pswid with FIFO_INVALID_ENTRY and CCW[0] with 414 u32 pswid; member 439 uint32_t pswid); 500 static inline void decode_pswid(u32 pswid, int *vasid, int *winid) in decode_pswid() argument 503 *vasid = pswid >> (31 - 7) & 0xFF; in decode_pswid() 506 *winid = pswid & 0xFFFF; in decode_pswid()
|
H A D | vas-fault.c | 46 be32_to_cpu(nx->pswid), in dump_crb() 198 * pswid - window ID of the window on which the request is sent. 224 * We use CCW[0] and pswid to validate validate CRBs: in vas_fault_thread_fn() 228 * pswid NX assigns window ID. Set pswid to -1 after in vas_fault_thread_fn() 251 if ((entry->stamp.nx.pswid == cpu_to_be32(FIFO_INVALID_ENTRY)) in vas_fault_thread_fn() 264 entry->stamp.nx.pswid = cpu_to_be32(FIFO_INVALID_ENTRY); in vas_fault_thread_fn() 277 be32_to_cpu(crb->stamp.nx.pswid)); in vas_fault_thread_fn() 289 pr_err("VAS[%d] fault_fifo %p, fifo %p, pswid 0x%x, fault_crbs %d bad CRB?\n", in vas_fault_thread_fn() 291 be32_to_cpu(crb->stamp.nx.pswid), in vas_fault_thread_fn() [all...] |
H A D | vas-api.c | 108 txattr.pswid = false; in coproc_ioc_tx_win_open()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | vas.h | 76 u32 pswid; member 89 int pswid; member
|
H A D | icswx.h | 122 __be32 pswid; member
|
/kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
H A D | vas.h | 150 u32 pswid; member 163 int pswid; member
|
H A D | icswx.h | 122 __be32 pswid; member
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/nx-gzip/include/ |
H A D | crb.h | 139 #define crb_nx_pswid(c) c->stamp.nx.pswid
|
H A D | nxu.h | 202 uint32_t pswid; member
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/nx-gzip/include/ |
H A D | crb.h | 139 #define crb_nx_pswid(c) c->stamp.nx.pswid
|
H A D | nxu.h | 202 uint32_t pswid; member
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/book3s/ |
H A D | vas-api.c | 260 be32_to_cpu(nx->pswid), in vas_dump_crb()
|