Home
last modified time | relevance | path

Searched refs:dsisr (Results 1 – 25 of 73) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/misc/cxl/
Dirq.c25 static irqreturn_t schedule_cxl_fault(struct cxl_context *ctx, u64 dsisr, u64 dar) in schedule_cxl_fault() argument
27 ctx->dsisr = dsisr; in schedule_cxl_fault()
35 u64 dsisr, dar; in cxl_irq_psl9() local
37 dsisr = irq_info->dsisr; in cxl_irq_psl9()
40 trace_cxl_psl9_irq(ctx, irq, dsisr, dar); in cxl_irq_psl9()
42 pr_devel("CXL interrupt %i for afu pe: %i DSISR: %#llx DAR: %#llx\n", irq, ctx->pe, dsisr, dar); in cxl_irq_psl9()
44 if (dsisr & CXL_PSL9_DSISR_An_TF) { in cxl_irq_psl9()
46 return schedule_cxl_fault(ctx, dsisr, dar); in cxl_irq_psl9()
49 if (dsisr & CXL_PSL9_DSISR_An_PE) in cxl_irq_psl9()
50 return cxl_ops->handle_psl_slice_error(ctx, dsisr, in cxl_irq_psl9()
[all …]
Dfault.c106 ctx->fault_dsisr = ctx->dsisr; in cxl_ack_ae()
131 int cxl_handle_mm_fault(struct mm_struct *mm, u64 dsisr, u64 dar) in cxl_handle_mm_fault() argument
153 if ((result = copro_handle_mm_fault(mm, dar, dsisr, &flt))) { in cxl_handle_mm_fault()
164 if (dsisr & CXL_PSL_DSISR_An_S) in cxl_handle_mm_fault()
170 if (dsisr & DSISR_NOHPTE) in cxl_handle_mm_fault()
182 u64 dsisr, u64 dar) in cxl_handle_page_fault() argument
184 trace_cxl_pte_miss(ctx, dsisr, dar); in cxl_handle_page_fault()
186 if (cxl_handle_mm_fault(mm, dsisr, dar)) { in cxl_handle_page_fault()
209 static bool cxl_is_segment_miss(struct cxl_context *ctx, u64 dsisr) in cxl_is_segment_miss() argument
211 if ((cxl_is_power8() && (dsisr & CXL_PSL_DSISR_An_DS))) in cxl_is_segment_miss()
[all …]
Dtrace.h163 TP_PROTO(struct cxl_context *ctx, int irq, u64 dsisr, u64 dar),
165 TP_ARGS(ctx, irq, dsisr, dar),
172 __field(u64, dsisr)
181 __entry->dsisr = dsisr;
190 __entry->dsisr,
191 dsisr_psl9_flags(__entry->dsisr),
197 TP_PROTO(struct cxl_context *ctx, int irq, u64 dsisr, u64 dar),
199 TP_ARGS(ctx, irq, dsisr, dar),
206 __field(u64, dsisr)
215 __entry->dsisr = dsisr;
[all …]
Dnative.c134 u64 dsisr, dar; in cxl_psl_purge() local
176 dsisr = cxl_p2n_read(afu, CXL_PSL_DSISR_An); in cxl_psl_purge()
178 PSL_CNTL, dsisr); in cxl_psl_purge()
180 if (dsisr & trans_fault) { in cxl_psl_purge()
183 dsisr, dar); in cxl_psl_purge()
185 } else if (dsisr) { in cxl_psl_purge()
187 dsisr); in cxl_psl_purge()
1092 info->dsisr = cxl_p2n_read(afu, CXL_PSL_DSISR_An); in native_get_irq_info()
1136 u64 dsisr, u64 errstat) in native_handle_psl_slice_error() argument
1152 static bool cxl_is_translation_fault(struct cxl_afu *afu, u64 dsisr) in cxl_is_translation_fault() argument
[all …]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Ddisassemble.h92 unsigned dsisr; in make_dsisr() local
96 dsisr = (instr & 0x03ff0000) >> 16; in make_dsisr()
100 dsisr |= (instr & 0x00000006) << 14; in make_dsisr()
102 dsisr |= (instr & 0x00000040) << 8; in make_dsisr()
104 dsisr |= (instr & 0x00000780) << 3; in make_dsisr()
107 dsisr |= (instr & 0x04000000) >> 12; in make_dsisr()
109 dsisr |= (instr & 0x78000000) >> 17; in make_dsisr()
112 dsisr |= (instr & 0x00000003) << 18; in make_dsisr()
115 return dsisr; in make_dsisr()
Dpnv-ocxl.h21 void pnv_ocxl_unmap_xsl_regs(void __iomem *dsisr, void __iomem *dar,
23 int pnv_ocxl_map_xsl_regs(struct pci_dev *dev, void __iomem **dsisr,
Dspu_priv1.h29 void (*mfc_dsisr_set) (struct spu *spu, u64 dsisr);
99 spu_mfc_dsisr_set (struct spu *spu, u64 dsisr) in spu_mfc_dsisr_set() argument
101 spu_priv1_ops->mfc_dsisr_set(spu, dsisr); in spu_mfc_dsisr_set()
Dcopro.h17 unsigned long dsisr, vm_fault_t *flt);
/kernel/linux/linux-5.10/drivers/misc/ocxl/
Dtrace.h71 TP_PROTO(void *spa, u64 pe, u64 dsisr, u64 dar, u64 tfc),
72 TP_ARGS(spa, pe, dsisr, dar, tfc),
77 __field(u64, dsisr)
85 __entry->dsisr = dsisr;
93 __entry->dsisr,
100 TP_PROTO(void *spa, u64 pe, u64 dsisr, u64 dar, u64 tfc),
101 TP_ARGS(spa, pe, dsisr, dar, tfc)
105 TP_PROTO(void *spa, u64 pe, u64 dsisr, u64 dar, u64 tfc),
106 TP_ARGS(spa, pe, dsisr, dar, tfc)
Dlink.c40 void (*xsl_err_cb)(void *data, u64 addr, u64 dsisr);
66 u64 dsisr; member
100 static void read_irq(struct spa *spa, u64 *dsisr, u64 *dar, u64 *pe) in read_irq() argument
104 *dsisr = in_be64(spa->reg_dsisr); in read_irq()
124 spa->xsl_fault.dsisr, spa->xsl_fault.dar, reg); in ack_irq()
144 rc = copro_handle_mm_fault(fault->pe_data.mm, fault->dar, fault->dsisr, in xsl_fault_handler_bh()
151 fault->dar, fault->dsisr); in xsl_fault_handler_bh()
164 if (fault->dsisr & SPA_XSL_S) in xsl_fault_handler_bh()
185 u64 dsisr, dar, pe_handle; in xsl_fault_handler() local
191 read_irq(spa, &dsisr, &dar, &pe_handle); in xsl_fault_handler()
[all …]
Dcontext.c56 static void xsl_fault_error(void *data, u64 addr, u64 dsisr) in xsl_fault_error() argument
62 ctx->xsl_error.dsisr = dsisr; in xsl_fault_error()
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/
Dfault.c88 u64 ea, dsisr, access; in spufs_handle_class1() local
103 dsisr = ctx->csa.class_1_dsisr; in spufs_handle_class1()
105 if (!(dsisr & (MFC_DSISR_PTE_NOT_FOUND | MFC_DSISR_ACCESS_DENIED))) in spufs_handle_class1()
111 dsisr, ctx->state); in spufs_handle_class1()
121 access |= (dsisr & MFC_DSISR_ACCESS_PUT) ? _PAGE_WRITE : 0UL; in spufs_handle_class1()
123 ret = hash_page(ea, access, 0x300, dsisr); in spufs_handle_class1()
128 ret = copro_handle_mm_fault(current->mm, ea, dsisr, &flt); in spufs_handle_class1()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_hv_ras.c76 unsigned long dsisr = vcpu->arch.shregs.dsisr; in kvmppc_realmode_mc_power7() local
78 if (dsisr & (DSISR_MC_SLB_PARMULTI | DSISR_MC_SLB_MULTI | in kvmppc_realmode_mc_power7()
82 dsisr &= ~(DSISR_MC_SLB_PARMULTI | DSISR_MC_SLB_MULTI | in kvmppc_realmode_mc_power7()
85 if (dsisr & DSISR_MC_TLB_MULTI) { in kvmppc_realmode_mc_power7()
87 dsisr &= ~DSISR_MC_TLB_MULTI; in kvmppc_realmode_mc_power7()
90 if (dsisr & 0xffffffffUL) in kvmppc_realmode_mc_power7()
Dtrace_hv.h275 unsigned long dsisr),
277 TP_ARGS(vcpu, hptep, memslot, ea, dsisr),
287 __field(u32, dsisr)
296 __entry->dsisr = dsisr;
304 __entry->ea, __entry->dsisr,
Dbook3s_hv_nested.c1176 unsigned long n_gpa, unsigned long dsisr, in kvmhv_translate_addr_nested() argument
1179 u64 fault_addr, flags = dsisr & DSISR_ISSTORE; in kvmhv_translate_addr_nested()
1204 if (dsisr & DSISR_ISSTORE) { in kvmhv_translate_addr_nested()
1240 unsigned long dsisr) in kvmhv_handle_nested_set_rc() argument
1243 bool writing = !!(dsisr & DSISR_ISSTORE); in kvmhv_handle_nested_set_rc()
1310 unsigned long dsisr = vcpu->arch.fault_dsisr; in __kvmhv_nested_page_fault() local
1315 bool writing = !!(dsisr & DSISR_ISSTORE); in __kvmhv_nested_page_fault()
1328 if (!(dsisr & DSISR_PRTABLE_FAULT)) in __kvmhv_nested_page_fault()
1330 ret = kvmhv_translate_addr_nested(vcpu, gp, n_gpa, dsisr, &gpte); in __kvmhv_nested_page_fault()
1338 (dsisr & (DSISR_PROTFAULT | DSISR_BADACCESS | DSISR_NOEXEC_OR_G | in __kvmhv_nested_page_fault()
[all …]
Dbook3s_64_mmu_radix.c917 unsigned long ea, unsigned long dsisr) in kvmppc_book3s_radix_page_fault() argument
923 bool writing = !!(dsisr & DSISR_ISSTORE); in kvmppc_book3s_radix_page_fault()
927 if (dsisr & DSISR_UNSUPP_MMU) { in kvmppc_book3s_radix_page_fault()
931 if (dsisr & DSISR_BADACCESS) { in kvmppc_book3s_radix_page_fault()
933 pr_err("KVM: Got radix HV page fault with DSISR=%lx\n", dsisr); in kvmppc_book3s_radix_page_fault()
934 kvmppc_core_queue_data_storage(vcpu, ea, dsisr); in kvmppc_book3s_radix_page_fault()
942 if (!(dsisr & DSISR_PRTABLE_FAULT)) in kvmppc_book3s_radix_page_fault()
953 if (dsisr & (DSISR_PRTABLE_FAULT | DSISR_BADACCESS | in kvmppc_book3s_radix_page_fault()
959 kvmppc_core_queue_data_storage(vcpu, ea, dsisr); in kvmppc_book3s_radix_page_fault()
976 if (dsisr & DSISR_SET_RC) { in kvmppc_book3s_radix_page_fault()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/pasemi/
Dsetup.c316 unsigned long srr0, srr1, dsisr; in pas_machine_check_handler() local
330 dsisr = mfspr(SPRN_DSISR); in pas_machine_check_handler()
333 pr_err("DSISR 0x%016lx DAR 0x%016lx\n", dsisr, regs->dar); in pas_machine_check_handler()
345 if (dsisr & 0x8000) in pas_machine_check_handler()
347 if (dsisr & 0x4000) in pas_machine_check_handler()
349 if (dsisr & 0x2000) { in pas_machine_check_handler()
353 if (dsisr & 0x1000) in pas_machine_check_handler()
355 if (dsisr & 0x800) in pas_machine_check_handler()
357 if (dsisr & 0x400) in pas_machine_check_handler()
/kernel/linux/linux-5.10/arch/powerpc/mm/
Dcopro_fault.c24 unsigned long dsisr, vm_fault_t *flt) in copro_handle_mm_fault() argument
49 is_write = dsisr & DSISR_ISSTORE; in copro_handle_mm_fault()
63 WARN_ON_ONCE(dsisr & DSISR_PROTFAULT); in copro_handle_mm_fault()
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/
Dspu_base.c172 unsigned long trap, unsigned long dsisr); //XXX
173 static int __spu_trap_data_map(struct spu *spu, unsigned long ea, u64 dsisr) in __spu_trap_data_map() argument
177 pr_debug("%s, %llx, %lx\n", __func__, dsisr, ea); in __spu_trap_data_map()
183 if ((dsisr & MFC_DSISR_PTE_NOT_FOUND) && in __spu_trap_data_map()
189 0x300, dsisr); in __spu_trap_data_map()
199 spu->class_1_dsisr = dsisr; in __spu_trap_data_map()
307 unsigned long stat, mask, dar, dsisr; in spu_irq_class_1() local
316 dsisr = spu_mfc_dsisr_get(spu); in spu_irq_class_1()
322 dar, dsisr); in spu_irq_class_1()
328 __spu_trap_data_map(spu, dar, dsisr); in spu_irq_class_1()
Dspu_priv1_mmio.c91 static void mfc_dsisr_set(struct spu *spu, u64 dsisr) in mfc_dsisr_set() argument
93 out_be64(&spu->priv1->mfc_dsisr_RW, dsisr); in mfc_dsisr_set()
/kernel/linux/linux-5.10/arch/powerpc/platforms/44x/
Dmachine_check.c14 unsigned long reason = regs->dsisr; in machine_check_440A()
51 unsigned long reason = regs->dsisr; in machine_check_47x()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Docxl.c385 void pnv_ocxl_unmap_xsl_regs(void __iomem *dsisr, void __iomem *dar, in pnv_ocxl_unmap_xsl_regs() argument
388 iounmap(dsisr); in pnv_ocxl_unmap_xsl_regs()
395 int pnv_ocxl_map_xsl_regs(struct pci_dev *dev, void __iomem **dsisr, in pnv_ocxl_map_xsl_regs() argument
424 *dsisr = regs[0]; in pnv_ocxl_map_xsl_regs()
/kernel/linux/linux-5.10/arch/powerpc/platforms/4xx/
Dmachine_check.c13 unsigned long reason = regs->dsisr; in machine_check_4xx()
/kernel/linux/linux-5.10/arch/powerpc/perf/
Dperf_regs.c69 PT_REGS_OFFSET(PERF_REG_POWERPC_DSISR, dsisr),
71 PT_REGS_OFFSET(PERF_REG_POWERPC_MMCRA, dsisr),
/kernel/linux/linux-5.10/tools/perf/arch/powerpc/include/
Ddwarf-regs-table.h25 REG_DWARFNUM_NAME(dsisr, 118),

123