Home
last modified time | relevance | path

Searched refs:dar (Results 1 – 25 of 76) sorted by relevance

1234

/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dhw_breakpoint_constraints.c9 static bool dar_in_user_range(unsigned long dar, struct arch_hw_breakpoint *info) in dar_in_user_range() argument
11 return ((info->address <= dar) && (dar - info->address < info->len)); in dar_in_user_range()
21 static bool dar_in_hw_range(unsigned long dar, struct arch_hw_breakpoint *info) in dar_in_hw_range() argument
28 return ((hw_start_addr <= dar) && (hw_end_addr > dar)); in dar_in_hw_range()
87 bool in_user_range = dar_in_user_range(regs->dar, info); in wp_check_constraints()
102 !dar_in_hw_range(regs->dar, info)) in wp_check_constraints()
112 !dar_in_hw_range(regs->dar, info)) in wp_check_constraints()
Dppc32.h26 unsigned int dar; /* Fault registers */ member
/kernel/linux/linux-5.10/drivers/misc/cxl/
Dfault.c105 ctx->fault_addr = ctx->dar; 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()
167 if (!mm && (get_region_id(dar) != USER_REGION_ID)) in cxl_handle_mm_fault()
174 hash_page_mm(mm, dar, access, 0x300, inv_flags); 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()
233 u64 dar = ctx->dar; in cxl_handle_fault() local
238 cxl_p2n_read(ctx->afu, CXL_PSL_DAR_An) != dar || in cxl_handle_fault()
[all …]
Dirq.c25 static irqreturn_t schedule_cxl_fault(struct cxl_context *ctx, u64 dsisr, u64 dar) in schedule_cxl_fault() argument
28 ctx->dar = dar; in schedule_cxl_fault()
35 u64 dsisr, dar; in cxl_irq_psl9() local
38 dar = irq_info->dar; 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()
46 return schedule_cxl_fault(ctx, dsisr, dar); in cxl_irq_psl9()
86 u64 dsisr, dar; in cxl_irq_psl8() local
89 dar = irq_info->dar; in cxl_irq_psl8()
91 trace_cxl_psl_irq(ctx, irq, dsisr, dar); in cxl_irq_psl8()
[all …]
Dtrace.h163 TP_PROTO(struct cxl_context *ctx, int irq, u64 dsisr, u64 dar),
165 TP_ARGS(ctx, irq, dsisr, dar),
173 __field(u64, dar)
182 __entry->dar = dar;
192 __entry->dar
197 TP_PROTO(struct cxl_context *ctx, int irq, u64 dsisr, u64 dar),
199 TP_ARGS(ctx, irq, dsisr, dar),
207 __field(u64, dar)
216 __entry->dar = dar;
225 __entry->dar
[all …]
Dcxllib.c228 u64 dar, vma_start, vma_end; in cxllib_handle_fault() local
244 for (dar = (addr & ~(page_size - 1)); dar < (addr + size); in cxllib_handle_fault()
245 dar += page_size) { in cxllib_handle_fault()
246 if (dar < vma_start || dar >= vma_end) { in cxllib_handle_fault()
260 rc = get_vma_info(mm, dar, &vma_start, &vma_end, in cxllib_handle_fault()
266 rc = cxl_handle_mm_fault(mm, flags, dar); in cxllib_handle_fault()
/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),
78 __field(u64, dar)
86 __entry->dar = dar;
94 __entry->dar,
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.c67 u64 dar; member
100 static void read_irq(struct spa *spa, u64 *dsisr, u64 *dar, u64 *pe) in read_irq() argument
105 *dar = in_be64(spa->reg_dar); 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()
167 if (get_region_id(fault->dar) != USER_REGION_ID) in xsl_fault_handler_bh()
171 hash_page_mm(fault->pe_data.mm, fault->dar, access, 0x300, 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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/
Dsubpage_prot.c34 volatile void *dar; variable
48 dar = (void *)regs->dar; in segv()
84 if (dar != addr) { in check_faulted()
86 addr, dar); in check_faulted()
/kernel/linux/linux-5.10/arch/sh/drivers/dma/
Ddma-g2.c102 if (chan->dar & 31) { in g2_xfer_dma()
103 printk("g2dma: unaligned dest 0x%lx\n", chan->dar); in g2_xfer_dma()
112 chan->dar += 0xa0800000; in g2_xfer_dma()
121 g2_dma->channel[chan_nr].g2_addr = chan->dar & 0x1fffffe0; in g2_xfer_dma()
Ddma-pvr2.c55 if (chan->sar || !chan->dar) in pvr2_xfer_dma()
60 __raw_writel(chan->dar, PVR2_DMA_ADDR); in pvr2_xfer_dma()
/kernel/linux/linux-5.10/arch/powerpc/platforms/8xx/
Dmachine_check.c20 pr_cont("Data access error at address %lx\n", regs->dar); in machine_check_8xx()
29 bad_page_fault(regs, regs->dar, SIGBUS); in machine_check_8xx()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dpnv-ocxl.h21 void pnv_ocxl_unmap_xsl_regs(void __iomem *dsisr, void __iomem *dar,
24 void __iomem **dar, void __iomem **tfc,
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dtrace_booke.h46 __field( unsigned long, dar )
53 __entry->dar = kvmppc_get_fault_dar(vcpu);
67 __entry->dar,
Dtrace_pr.h225 __field( unsigned long, dar )
233 __entry->dar = kvmppc_get_fault_dar(vcpu);
249 __entry->dar,
Dbook3s_emulate.c1045 ulong dar = 0; in kvmppc_alignment_dar()
1055 dar = kvmppc_get_gpr(vcpu, ra); in kvmppc_alignment_dar()
1056 dar += (s32)((s16)inst); in kvmppc_alignment_dar()
1060 dar = kvmppc_get_gpr(vcpu, ra); in kvmppc_alignment_dar()
1061 dar += kvmppc_get_gpr(vcpu, rb); in kvmppc_alignment_dar()
1068 return dar; in kvmppc_alignment_dar()
/kernel/linux/linux-5.10/arch/powerpc/mm/
Dfault.c576 regs->dar < PAGE_SIZE ? "Kernel NULL pointer dereference" : in bad_page_fault()
578 is_write ? "write" : "read", regs->dar); in bad_page_fault()
587 regs->dar); in bad_page_fault()
591 regs->dar); in bad_page_fault()
/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
389 iounmap(dar); in pnv_ocxl_unmap_xsl_regs()
396 void __iomem **dar, void __iomem **tfc, in pnv_ocxl_map_xsl_regs() argument
425 *dar = regs[1]; in pnv_ocxl_map_xsl_regs()
/kernel/linux/linux-5.10/arch/powerpc/perf/
Dperf_regs.c68 PT_REGS_OFFSET(PERF_REG_POWERPC_DAR, dar),
70 PT_REGS_OFFSET(PERF_REG_POWERPC_SIER, dar),
/kernel/linux/linux-5.10/tools/perf/arch/powerpc/include/
Ddwarf-regs-table.h24 REG_DWARFNUM_NAME(dar, 119),
/kernel/linux/linux-5.10/drivers/dma/
Didma64.c234 u64 sar, dar; in idma64_hw_desc_fill() local
241 dar = config->dst_addr; in idma64_hw_desc_fill()
248 dar = hw->phys; in idma64_hw_desc_fill()
252 dst_width = __ffs(dar | hw->len | 4); in idma64_hw_desc_fill()
256 lli->dar = dar; in idma64_hw_desc_fill()
/kernel/linux/linux-5.10/arch/powerpc/kernel/ptrace/
Dptrace.c420 BUILD_BUG_ON(offsetof(struct pt_regs, dar) != in pt_regs_check()
421 offsetof(struct user_pt_regs, dar)); in pt_regs_check()
479 CHECK_REG(PT_DAR, dar); in pt_regs_check()
/kernel/linux/linux-5.10/arch/powerpc/include/uapi/asm/
Dkvm_para.h47 __u64 dar; /* dear on BookE */ member
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/
Dspu_base.c307 unsigned long stat, mask, dar, dsisr; in spu_irq_class_1() local
315 dar = spu_mfc_dar_get(spu); in spu_irq_class_1()
322 dar, dsisr); in spu_irq_class_1()
325 __spu_trap_data_seg(spu, dar); in spu_irq_class_1()
328 __spu_trap_data_map(spu, dar, dsisr); in spu_irq_class_1()
/kernel/linux/linux-5.10/drivers/dma/sh/
Dshdma.h46 u32 dar; /* DAR / destination address */ member

1234