Home
last modified time | relevance | path

Searched full:cause (Results 1 – 25 of 2632) sorted by relevance

12345678910>>...106

/Linux-v6.1/arch/mips/kernel/
Dirq-gt641xx.c22 u32 cause; in ack_gt641xx_irq() local
25 cause = GT_READ(GT_INTRCAUSE_OFS); in ack_gt641xx_irq()
26 cause &= ~GT641XX_IRQ_TO_BIT(d->irq); in ack_gt641xx_irq()
27 GT_WRITE(GT_INTRCAUSE_OFS, cause); in ack_gt641xx_irq()
46 u32 cause, mask; in mask_ack_gt641xx_irq() local
53 cause = GT_READ(GT_INTRCAUSE_OFS); in mask_ack_gt641xx_irq()
54 cause &= ~GT641XX_IRQ_TO_BIT(d->irq); in mask_ack_gt641xx_irq()
55 GT_WRITE(GT_INTRCAUSE_OFS, cause); in mask_ack_gt641xx_irq()
81 u32 cause, mask; in gt641xx_irq_dispatch() local
84 cause = GT_READ(GT_INTRCAUSE_OFS); in gt641xx_irq_dispatch()
[all …]
Dmips-cm.c376 int ocause, cause; in mips_cm_error_report() local
388 cause = FIELD_GET(CM_GCR_ERROR_CAUSE_ERRTYPE, cm_error); in mips_cm_error_report()
391 if (!cause) in mips_cm_error_report()
394 if (cause < 16) { in mips_cm_error_report()
405 } else if (cause < 24) { in mips_cm_error_report()
440 cm2_causes[cause], buf); in mips_cm_error_report()
447 cause = FIELD_GET(CM3_GCR_ERROR_CAUSE_ERRTYPE, cm_error); in mips_cm_error_report()
450 if (!cause) in mips_cm_error_report()
453 /* Used by cause == {1,2,3} */ in mips_cm_error_report()
463 if (cause == 1 || cause == 3) { /* Tag ECC */ in mips_cm_error_report()
[all …]
/Linux-v6.1/arch/riscv/mm/
Dfault.c52 if (kfence_handle_page_fault(addr, regs->cause == EXC_STORE_PAGE_FAULT, regs)) in no_context()
93 /* User mode accesses just cause a SIGSEGV */ in bad_area()
112 /* User mode accesses just cause a SIGSEGV */ in vmalloc_fault()
178 static inline bool access_error(unsigned long cause, struct vm_area_struct *vma) in access_error() argument
180 switch (cause) { in access_error()
198 panic("%s: unhandled cause %lu", __func__, cause); in access_error()
212 unsigned long addr, cause; in do_page_fault() local
217 cause = regs->cause; in do_page_fault()
223 if (kprobe_page_fault(regs, cause)) in do_page_fault()
262 tsk->thread.bad_cause = cause; in do_page_fault()
[all …]
/Linux-v6.1/arch/mips/bcm47xx/
Dirq.c36 u32 cause; in plat_irq_dispatch() local
38 cause = read_c0_cause() & read_c0_status() & CAUSEF_IP; in plat_irq_dispatch()
40 clear_c0_status(cause); in plat_irq_dispatch()
42 if (cause & CAUSEF_IP7) in plat_irq_dispatch()
44 if (cause & CAUSEF_IP2) in plat_irq_dispatch()
46 if (cause & CAUSEF_IP3) in plat_irq_dispatch()
48 if (cause & CAUSEF_IP4) in plat_irq_dispatch()
50 if (cause & CAUSEF_IP5) in plat_irq_dispatch()
52 if (cause & CAUSEF_IP6) in plat_irq_dispatch()
/Linux-v6.1/tools/perf/pmu-events/arch/x86/broadwellx/
Dvirtual-memory.json3 "BriefDescription": "Load misses in all DTLB levels that cause page walks",
9 …"PublicDescription": "This event counts load misses in all DTLB levels that cause page walks of an…
14 …: "Load operations that miss the first DTLB level but hit the second and do not cause page walks.",
57 …"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page…
68 …"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page…
79 …"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page…
95 "BriefDescription": "Store misses in all DTLB levels that cause page walks",
101 …"PublicDescription": "This event counts store misses in all DTLB levels that cause page walks of a…
106 …: "Store operations that miss the first TLB level but hit the second and do not cause page walks.",
133 "BriefDescription": "Store misses in all DTLB levels that cause completed page walks.",
[all …]
/Linux-v6.1/tools/perf/pmu-events/arch/x86/broadwell/
Dvirtual-memory.json3 "BriefDescription": "Load misses in all DTLB levels that cause page walks",
9 …"PublicDescription": "This event counts load misses in all DTLB levels that cause page walks of an…
14 …: "Load operations that miss the first DTLB level but hit the second and do not cause page walks.",
57 …"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page…
68 …"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page…
79 …"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page…
95 "BriefDescription": "Store misses in all DTLB levels that cause page walks",
101 …"PublicDescription": "This event counts store misses in all DTLB levels that cause page walks of a…
106 …: "Store operations that miss the first TLB level but hit the second and do not cause page walks.",
133 "BriefDescription": "Store misses in all DTLB levels that cause completed page walks.",
[all …]
/Linux-v6.1/tools/perf/pmu-events/arch/x86/broadwellde/
Dvirtual-memory.json3 "BriefDescription": "Load misses in all DTLB levels that cause page walks",
9 …"PublicDescription": "This event counts load misses in all DTLB levels that cause page walks of an…
14 …: "Load operations that miss the first DTLB level but hit the second and do not cause page walks.",
57 …"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page…
68 …"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page…
79 …"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page…
95 "BriefDescription": "Store misses in all DTLB levels that cause page walks",
101 …"PublicDescription": "This event counts store misses in all DTLB levels that cause page walks of a…
106 …: "Store operations that miss the first TLB level but hit the second and do not cause page walks.",
133 "BriefDescription": "Store misses in all DTLB levels that cause completed page walks.",
[all …]
/Linux-v6.1/security/integrity/ima/
Dima_appraise.c278 enum integrity_status *status, const char **cause) in xattr_verify() argument
294 *cause = "verity-signature-required"; in xattr_verify()
296 *cause = "IMA-signature-required"; in xattr_verify()
316 *cause = "invalid-hash"; in xattr_verify()
327 *cause = "verity-signature-required"; in xattr_verify()
334 *cause = "invalid-signature-version"; in xattr_verify()
355 *cause = "invalid-signature"; in xattr_verify()
366 *cause = "IMA-signature-required"; in xattr_verify()
374 *cause = "invalid-signature-version"; in xattr_verify()
382 *cause = "sigv3-hashing-error"; in xattr_verify()
[all …]
/Linux-v6.1/tools/perf/pmu-events/arch/x86/jaketown/
Dvirtual-memory.json3 "BriefDescription": "Load misses in all DTLB levels that cause page walks.",
12 …: "Load operations that miss the first DTLB level but hit the second and do not cause page walks.",
17 …d operations that miss the first DTLB level but hit the second and do not cause any page walks. Th…
22 "BriefDescription": "Load misses at all DTLB levels that cause completed page walks.",
41 "BriefDescription": "Store misses in all DTLB levels that cause page walks.",
50 …: "Store operations that miss the first TLB level but hit the second and do not cause page walks.",
59 "BriefDescription": "Store misses in all DTLB levels that cause completed page walks.",
95 "BriefDescription": "Misses at all ITLB levels that cause page walks.",
104 …": "Operations that miss the first ITLB level but hit the second and do not cause any page walks.",
113 "BriefDescription": "Misses in all ITLB levels that cause completed page walks.",
/Linux-v6.1/tools/perf/pmu-events/arch/x86/sandybridge/
Dvirtual-memory.json3 "BriefDescription": "Load misses in all DTLB levels that cause page walks.",
12 …: "Load operations that miss the first DTLB level but hit the second and do not cause page walks.",
17 …d operations that miss the first DTLB level but hit the second and do not cause any page walks. Th…
22 "BriefDescription": "Load misses at all DTLB levels that cause completed page walks.",
41 "BriefDescription": "Store misses in all DTLB levels that cause page walks.",
50 …: "Store operations that miss the first TLB level but hit the second and do not cause page walks.",
59 "BriefDescription": "Store misses in all DTLB levels that cause completed page walks.",
95 "BriefDescription": "Misses at all ITLB levels that cause page walks.",
104 …": "Operations that miss the first ITLB level but hit the second and do not cause any page walks.",
113 "BriefDescription": "Misses in all ITLB levels that cause completed page walks.",
/Linux-v6.1/tools/perf/pmu-events/arch/x86/ivybridge/
Dvirtual-memory.json17 …"PublicDescription": "Misses in all TLB levels that cause a page walk of any page size from demand…
22 …": "Load operations that miss the first DTLB level but hit the second and do not cause page walks",
52 "BriefDescription": "Store misses in all DTLB levels that cause page walks",
62 …": "Store operations that miss the first TLB level but hit the second and do not cause page walks",
67 …: "Store operations that miss the first TLB level but hit the second and do not cause page walks.",
72 "BriefDescription": "Store misses in all DTLB levels that cause completed page walks",
121 "BriefDescription": "Misses at all ITLB levels that cause page walks",
126 "PublicDescription": "Misses in all ITLB levels that cause page walks.",
131 …n": "Operations that miss the first ITLB level but hit the second and do not cause any page walks",
141 "BriefDescription": "Misses in all ITLB levels that cause completed page walks",
[all …]
/Linux-v6.1/drivers/dma/idxd/
Dirq.c220 static int process_misc_interrupts(struct idxd_device *idxd, u32 cause) in process_misc_interrupts() argument
228 if (cause & IDXD_INTC_HALT_STATE) in process_misc_interrupts()
231 if (cause & IDXD_INTC_ERR) { in process_misc_interrupts()
266 if (cause & IDXD_INTC_INT_HANDLE_REVOKED) { in process_misc_interrupts()
283 if (cause & IDXD_INTC_CMD) { in process_misc_interrupts()
288 if (cause & IDXD_INTC_OCCUPY) { in process_misc_interrupts()
293 if (cause & IDXD_INTC_PERFMON_OVFL) { in process_misc_interrupts()
298 val ^= cause; in process_misc_interrupts()
300 dev_warn_once(dev, "Unexpected interrupt cause bits set: %#x\n", in process_misc_interrupts()
339 u32 cause; in idxd_misc_thread() local
[all …]
/Linux-v6.1/tools/perf/pmu-events/arch/x86/ivytown/
Dvirtual-memory.json35 …"PublicDescription": "Misses in all TLB levels that cause a page walk of any page size from demand…
40 …": "Load operations that miss the first DTLB level but hit the second and do not cause page walks",
70 "BriefDescription": "Store misses in all DTLB levels that cause page walks",
80 …": "Store operations that miss the first TLB level but hit the second and do not cause page walks",
85 …: "Store operations that miss the first TLB level but hit the second and do not cause page walks.",
90 "BriefDescription": "Store misses in all DTLB levels that cause completed page walks",
139 "BriefDescription": "Misses at all ITLB levels that cause page walks",
144 "PublicDescription": "Misses in all ITLB levels that cause page walks.",
149 …n": "Operations that miss the first ITLB level but hit the second and do not cause any page walks",
159 "BriefDescription": "Misses in all ITLB levels that cause completed page walks",
[all …]
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb/
Dsubr.c191 u32 cause = readl(adapter->regs + FPGA_GMAC_ADDR_INTERRUPT_CAUSE); in fpga_phy_intr_handler() local
194 if (cause & (1 << p)) { in fpga_phy_intr_handler()
201 writel(cause, adapter->regs + FPGA_GMAC_ADDR_INTERRUPT_CAUSE); in fpga_phy_intr_handler()
210 u32 cause = readl(adapter->regs + A_PL_CAUSE); in fpga_slow_intr() local
213 cause &= ~F_PL_INTR_SGE_DATA; in fpga_slow_intr()
214 if (cause & F_PL_INTR_SGE_ERR) { in fpga_slow_intr()
219 if (cause & FPGA_PCIX_INTERRUPT_GMAC) in fpga_slow_intr()
222 if (cause & FPGA_PCIX_INTERRUPT_TP) { in fpga_slow_intr()
232 if (cause & FPGA_PCIX_INTERRUPT_PCIX) { in fpga_slow_intr()
238 if (cause) in fpga_slow_intr()
[all …]
/Linux-v6.1/arch/mips/kvm/
Dvz.c258 u32 cause) in kvm_vz_irq_deliver_cb() argument
287 u32 cause) in kvm_vz_irq_clear_cb() argument
295 * Explicitly clear irq associated with Cause.IP[IPTI] in kvm_vz_irq_clear_cb()
360 * @cause: CP0_Cause register to restore.
366 u32 cause) in _kvm_vz_restore_stimer() argument
375 write_gc0_cause(cause); in _kvm_vz_restore_stimer()
382 * @cause: CP0_Cause register to restore.
384 * Restore hard timer Guest.Count & Guest.Cause taking care to preserve the
388 u32 compare, u32 cause) in _kvm_vz_restore_htimer() argument
404 write_gc0_cause(cause); in _kvm_vz_restore_htimer()
[all …]
/Linux-v6.1/arch/nios2/kernel/
Dtraps.c94 * down the cause of the crash will be able to figure in show_stack()
122 asmlinkage void handle_unaligned_c(struct pt_regs *fp, int cause) in handle_unaligned_c() argument
126 cause >>= 2; in handle_unaligned_c()
136 pr_alert(" cause %d\n", cause); in handle_unaligned_c()
168 asmlinkage void unhandled_exception(struct pt_regs *regs, int cause) in unhandled_exception() argument
172 cause /= 4; in unhandled_exception()
175 cause, user_mode(regs) ? "user" : "kernel", addr); in unhandled_exception()
/Linux-v6.1/security/integrity/
Dintegrity_audit.c30 const char *cause, int result, int audit_info) in integrity_audit_msg() argument
32 integrity_audit_message(audit_msgno, inode, fname, op, cause, in integrity_audit_msg()
38 const char *cause, int result, int audit_info, in integrity_audit_message() argument
56 audit_log_format(ab, " op=%s cause=%s comm=", op, cause); in integrity_audit_message()
/Linux-v6.1/drivers/irqchip/
Dirq-riscv-intc.c24 unsigned long cause = regs->cause & ~CAUSE_IRQ_FLAG; in riscv_intc_irq() local
26 if (unlikely(cause >= BITS_PER_LONG)) in riscv_intc_irq()
27 panic("unexpected interrupt cause"); in riscv_intc_irq()
29 switch (cause) { in riscv_intc_irq()
40 generic_handle_domain_irq(intc_domain, cause); in riscv_intc_irq()
/Linux-v6.1/arch/mips/sgi-ip30/
Dip30-irq.c46 u64 pending, mask, cause, error_irqs, err_reg; in ip30_error_irq() local
52 cause = heart_read(&heart_regs->cause); in ip30_error_irq()
66 * If we also have a cause value, then something happened, so loop in ip30_error_irq()
68 * and print the value of the HEART cause register. This is really in ip30_error_irq()
72 * Refer to heart.h for the HC_* macros to work out the cause in ip30_error_irq()
75 if (cause) { in ip30_error_irq()
76 pr_alert("IP30: CPU%d: HEART ATTACK! ISR = 0x%.16llx, IMR = 0x%.16llx, CAUSE = 0x%.16llx\n", in ip30_error_irq()
77 cpu, pending, mask, cause); in ip30_error_irq()
79 if (cause & HC_COR_MEM_ERR) { in ip30_error_irq()
/Linux-v6.1/tools/perf/pmu-events/arch/x86/haswellx/
Dvirtual-memory.json3 "BriefDescription": "Load misses in all DTLB levels that cause page walks",
8 "PublicDescription": "Misses in all TLB levels that cause a page walk of any page size.",
23 …": "Load operations that miss the first DTLB level but hit the second and do not cause page walks",
38 …ons from a 2M page that miss the first DTLB level but hit the second and do not cause page walks.",
48 …ons from a 4K page that miss the first DTLB level but hit the second and do not cause page walks.",
102 "BriefDescription": "Store misses in all DTLB levels that cause page walks",
122 …": "Store operations that miss the first TLB level but hit the second and do not cause page walks",
127 …: "Store operations that miss the first TLB level but hit the second and do not cause page walks.",
137 …ons from a 2M page that miss the first DTLB level but hit the second and do not cause page walks.",
147 …ons from a 4K page that miss the first DTLB level but hit the second and do not cause page walks.",
[all …]
/Linux-v6.1/tools/perf/pmu-events/arch/x86/haswell/
Dvirtual-memory.json3 "BriefDescription": "Load misses in all DTLB levels that cause page walks",
8 "PublicDescription": "Misses in all TLB levels that cause a page walk of any page size.",
23 …": "Load operations that miss the first DTLB level but hit the second and do not cause page walks",
38 …ons from a 2M page that miss the first DTLB level but hit the second and do not cause page walks.",
48 …ons from a 4K page that miss the first DTLB level but hit the second and do not cause page walks.",
102 "BriefDescription": "Store misses in all DTLB levels that cause page walks",
122 …": "Store operations that miss the first TLB level but hit the second and do not cause page walks",
127 …: "Store operations that miss the first TLB level but hit the second and do not cause page walks.",
137 …ons from a 2M page that miss the first DTLB level but hit the second and do not cause page walks.",
147 …ons from a 4K page that miss the first DTLB level but hit the second and do not cause page walks.",
[all …]
/Linux-v6.1/arch/nios2/mm/
Dfault.c43 asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long cause, in do_page_fault() argument
53 cause >>= 2; in do_page_fault()
112 switch (cause) { in do_page_fault()
179 /* User mode accesses just cause a SIGSEGV */ in do_page_fault()
183 "cause %ld\n", current->comm, SIGSEGV, address, cause); in do_page_fault()
204 pr_alert("ea = %08lx, ra = %08lx, cause = %ld\n", regs->ea, regs->ra, in do_page_fault()
205 cause); in do_page_fault()
/Linux-v6.1/arch/mips/bcm63xx/
Dirq.c163 u32 cause; in plat_irq_dispatch() local
166 cause = read_c0_cause() & read_c0_status() & ST0_IM; in plat_irq_dispatch()
168 if (!cause) in plat_irq_dispatch()
171 if (cause & CAUSEF_IP7) in plat_irq_dispatch()
173 if (cause & CAUSEF_IP0) in plat_irq_dispatch()
175 if (cause & CAUSEF_IP1) in plat_irq_dispatch()
177 if (cause & CAUSEF_IP2) in plat_irq_dispatch()
180 if (cause & CAUSEF_IP3) in plat_irq_dispatch()
183 if (cause & CAUSEF_IP3) in plat_irq_dispatch()
185 if (cause & CAUSEF_IP4) in plat_irq_dispatch()
[all …]
/Linux-v6.1/Documentation/core-api/
Dunaligned-memory-access.rst15 unaligned accesses, why you need to write code that doesn't cause them,
73 platforms and will cause performance problems on others.
76 Code that does not cause unaligned access
95 not be unreasonable to expect that accessing field2 would cause an unaligned
111 will never cause an unaligned access, because all memory addresses are evenly
139 the memory access in a way that does not cause unaligned access. Of course,
140 the extra instructions obviously cause a loss in performance compared to the
149 that can cause an unaligned memory access. The following function taken
183 Here is another example of some code that could cause unaligned accesses::
192 This code will cause unaligned accesses every time the data parameter points
/Linux-v6.1/tools/testing/selftests/kvm/x86_64/
Dsvm_nested_shutdown_test.c31 idt[6].p = 0; // #UD is intercepted but its injection will cause #NP in l1_guest_code()
32 idt[11].p = 0; // #NP is not intercepted and will cause another in l1_guest_code()
34 idt[8].p = 0; // #DF will cause #NP which will cause SHUTDOWN in l1_guest_code()

12345678910>>...106