Home
last modified time | relevance | path

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

/drivers/misc/cxl/
Dirq.c23 static irqreturn_t handle_psl_slice_error(struct cxl_context *ctx, u64 dsisr, u64 errstat) in handle_psl_slice_error() argument
88 static irqreturn_t schedule_cxl_fault(struct cxl_context *ctx, u64 dsisr, u64 dar) in schedule_cxl_fault() argument
90 ctx->dsisr = dsisr; in schedule_cxl_fault()
99 u64 dsisr, dar; in cxl_irq() local
101 dsisr = irq_info->dsisr; in cxl_irq()
104 trace_cxl_psl_irq(ctx, irq, dsisr, dar); in cxl_irq()
106 pr_devel("CXL interrupt %i for afu pe: %i DSISR: %#llx DAR: %#llx\n", irq, ctx->pe, dsisr, dar); in cxl_irq()
108 if (dsisr & CXL_PSL_DSISR_An_DS) { in cxl_irq()
120 return schedule_cxl_fault(ctx, dsisr, dar); in cxl_irq()
123 if (dsisr & CXL_PSL_DSISR_An_M) in cxl_irq()
[all …]
Dfault.c109 ctx->fault_dsisr = ctx->dsisr; in cxl_ack_ae()
135 struct mm_struct *mm, u64 dsisr, u64 dar) in cxl_handle_page_fault() argument
141 trace_cxl_pte_miss(ctx, dsisr, dar); in cxl_handle_page_fault()
143 if ((result = copro_handle_mm_fault(mm, dar, dsisr, &flt))) { in cxl_handle_page_fault()
153 if (dsisr & CXL_PSL_DSISR_An_S) in cxl_handle_page_fault()
158 if (dsisr & DSISR_NOHPTE) in cxl_handle_page_fault()
253 u64 dsisr = ctx->dsisr; in cxl_handle_fault() local
257 if (cxl_p2n_read(ctx->afu, CXL_PSL_DSISR_An) != dsisr || in cxl_handle_fault()
274 "DSISR: %#llx DAR: %#llx\n", ctx->pe, dsisr, dar); in cxl_handle_fault()
291 if (dsisr & CXL_PSL_DSISR_An_DS) in cxl_handle_fault()
[all …]
Dtrace.h158 TP_PROTO(struct cxl_context *ctx, int irq, u64 dsisr, u64 dar),
160 TP_ARGS(ctx, irq, dsisr, dar),
167 __field(u64, dsisr)
176 __entry->dsisr = dsisr;
185 __print_flags(__entry->dsisr, "|", DSISR_FLAGS),
278 TP_PROTO(struct cxl_context *ctx, u64 dsisr, u64 dar),
280 TP_ARGS(ctx, dsisr, dar),
286 __field(u64, dsisr)
294 __entry->dsisr = dsisr;
302 __print_flags(__entry->dsisr, "|", DSISR_FLAGS),
Dnative.c108 u64 dsisr, dar; in cxl_psl_purge() local
144 dsisr = cxl_p2n_read(afu, CXL_PSL_DSISR_An); in cxl_psl_purge()
145 …r_devel_ratelimited("PSL purging... PSL_CNTL: 0x%016llx PSL_DSISR: 0x%016llx\n", PSL_CNTL, dsisr); in cxl_psl_purge()
146 if (dsisr & CXL_PSL_DSISR_TRANS) { in cxl_psl_purge()
148 …>dev, "PSL purge terminating pending translation, DSISR: 0x%016llx, DAR: 0x%016llx\n", dsisr, dar); in cxl_psl_purge()
150 } else if (dsisr) { in cxl_psl_purge()
151 …ice(&afu->dev, "PSL purge acknowledging pending non-translation fault, DSISR: 0x%016llx\n", dsisr); in cxl_psl_purge()
746 info->dsisr = cxl_p2n_read(afu, CXL_PSL_DSISR_An); in cxl_get_irq()
760 u64 dsisr; in recover_psl_err() local
765 dsisr = cxl_p2n_read(afu, CXL_PSL_DSISR_An); in recover_psl_err()
[all …]
Dcxl.h474 u64 dsisr; member
725 u64 dsisr; member
Dfile.c395 event.fault.dsisr = ctx->fault_dsisr; in afu_read()