Home
last modified time | relevance | path

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

12345678910>>...135

/openbmc/phosphor-fan-presence/monitor/test/
H A Dpower_off_cause_test.cpp14 MissingFanFRUCause cause{2}; in TEST() local
15 EXPECT_FALSE(cause.satisfied(health)); in TEST()
18 EXPECT_FALSE(cause.satisfied(health)); in TEST()
21 EXPECT_TRUE(cause.satisfied(health)); in TEST()
24 EXPECT_TRUE(cause.satisfied(health)); in TEST()
29 EXPECT_TRUE(cause.satisfied(health)); in TEST()
39 NonfuncFanRotorCause cause{2}; in TEST() local
40 EXPECT_FALSE(cause.satisfied(health)); in TEST()
43 EXPECT_FALSE(cause.satisfied(health)); in TEST()
46 EXPECT_TRUE(cause.satisfied(health)); in TEST()
[all …]
/openbmc/docs/designs/
H A Dbmc-reboot-cause-update.md1 # BMC Boot Cause Event Log
13 vendors to record different types of BMC reboot cause event logs. The purpose of
28 corresponding BMC reboot cause.
29 2. Each BMC vendor needs to record the results of the retrieved reboot cause to
31 3. Each vendor needs to ensure the accuracy of interpreting the reboot cause
33 4. New reboot cause types need to be defined to cover the requirements
34 5. Revise the definitions of certain existing reboot cause types to better
43 A[BMC reboot] --> B[Driver get the reboot cause]
44 …B --> C[Driver set the corresponding flag based on the reboot cause to /sys/class/watchdog/watchdo…
49 After a BMC reboot, each BMC vendor’s driver first retrieves the reboot cause.
[all …]
/openbmc/linux/arch/mips/kernel/
H A 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 …]
/openbmc/linux/tools/perf/pmu-events/arch/x86/broadwellde/
H A Dvirtual-memory.json3 "BriefDescription": "Load misses in all DTLB levels that cause page walks",
7 …"PublicDescription": "This event counts load misses in all DTLB levels that cause page walks of an…
12 …: "Load operations that miss the first DTLB level but hit the second and do not cause page walks.",
45 …"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page…
54 …"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page…
63 …"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page…
77 "BriefDescription": "Store misses in all DTLB levels that cause page walks",
81 …"PublicDescription": "This event counts store misses in all DTLB levels that cause page walks of a…
86 …: "Store operations that miss the first TLB level but hit the second and do not cause page walks.",
107 "BriefDescription": "Store misses in all DTLB levels that cause completed page walks.",
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/x86/broadwellx/
H A Dvirtual-memory.json3 "BriefDescription": "Load misses in all DTLB levels that cause page walks",
7 …"PublicDescription": "This event counts load misses in all DTLB levels that cause page walks of an…
12 …: "Load operations that miss the first DTLB level but hit the second and do not cause page walks.",
45 …"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page…
54 …"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page…
63 …"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page…
77 "BriefDescription": "Store misses in all DTLB levels that cause page walks",
81 …"PublicDescription": "This event counts store misses in all DTLB levels that cause page walks of a…
86 …: "Store operations that miss the first TLB level but hit the second and do not cause page walks.",
107 "BriefDescription": "Store misses in all DTLB levels that cause completed page walks.",
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/x86/broadwell/
H A Dvirtual-memory.json3 "BriefDescription": "Load misses in all DTLB levels that cause page walks",
7 …"PublicDescription": "This event counts load misses in all DTLB levels that cause page walks of an…
12 …: "Load operations that miss the first DTLB level but hit the second and do not cause page walks.",
45 …"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page…
54 …"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page…
63 …"PublicDescription": "This event counts load misses in all DTLB levels that cause a completed page…
77 "BriefDescription": "Store misses in all DTLB levels that cause page walks",
81 …"PublicDescription": "This event counts store misses in all DTLB levels that cause page walks of a…
86 …: "Store operations that miss the first TLB level but hit the second and do not cause page walks.",
107 "BriefDescription": "Store misses in all DTLB levels that cause completed page walks.",
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/x86/jaketown/
H A Dvirtual-memory.json3 "BriefDescription": "Load misses in all DTLB levels that cause page walks.",
10 …: "Load operations that miss the first DTLB level but hit the second and do not cause page walks.",
13 …d operations that miss the first DTLB level but hit the second and do not cause any page walks. Th…
18 "BriefDescription": "Load misses at all DTLB levels that cause completed page walks.",
33 "BriefDescription": "Store misses in all DTLB levels that cause page walks.",
40 …: "Store operations that miss the first TLB level but hit the second and do not cause page walks.",
47 "BriefDescription": "Store misses in all DTLB levels that cause completed page walks.",
75 "BriefDescription": "Misses at all ITLB levels that cause page walks.",
82 …": "Operations that miss the first ITLB level but hit the second and do not cause any page walks.",
89 "BriefDescription": "Misses in all ITLB levels that cause completed page walks.",
/openbmc/linux/tools/perf/pmu-events/arch/x86/sandybridge/
H A Dvirtual-memory.json3 "BriefDescription": "Load misses in all DTLB levels that cause page walks.",
10 …: "Load operations that miss the first DTLB level but hit the second and do not cause page walks.",
13 …d operations that miss the first DTLB level but hit the second and do not cause any page walks. Th…
18 "BriefDescription": "Load misses at all DTLB levels that cause completed page walks.",
33 "BriefDescription": "Store misses in all DTLB levels that cause page walks.",
40 …: "Store operations that miss the first TLB level but hit the second and do not cause page walks.",
47 "BriefDescription": "Store misses in all DTLB levels that cause completed page walks.",
75 "BriefDescription": "Misses at all ITLB levels that cause page walks.",
82 …": "Operations that miss the first ITLB level but hit the second and do not cause any page walks.",
89 "BriefDescription": "Misses in all ITLB levels that cause completed page walks.",
/openbmc/linux/arch/riscv/mm/
H A Dfault.c53 if (kfence_handle_page_fault(addr, regs->cause == EXC_STORE_PAGE_FAULT, regs)) in no_context()
95 /* User mode accesses just cause a SIGSEGV */ in bad_area_nosemaphore()
123 /* User mode accesses just cause a SIGSEGV */ in vmalloc_fault()
194 static inline bool access_error(unsigned long cause, struct vm_area_struct *vma) in access_error() argument
196 switch (cause) { in access_error()
214 panic("%s: unhandled cause %lu", __func__, cause); in access_error()
228 unsigned long addr, cause; in handle_page_fault() local
233 cause = regs->cause; in handle_page_fault()
239 if (kprobe_page_fault(regs, cause)) in handle_page_fault()
266 tsk->thread.bad_cause = cause; in handle_page_fault()
[all …]
/openbmc/linux/arch/mips/bcm47xx/
H A 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()
/openbmc/phosphor-fan-presence/monitor/
H A Dpower_off_rule.hpp25 * This class implements a power off rule, which has a cause
27 * power off that will occur when the cause is satisfied.
47 * @param[in] cause - The power off cause to use
51 std::unique_ptr<PowerOffCause> cause, in PowerOffRule() argument
53 _validState(validState), _cause(std::move(cause)), in PowerOffRule()
70 * @brief Checks the cause against the passed in fan health
71 * and starts the power off action if the cause
87 std::format("Starting shutdown action '{}' due to cause '{}'", in check()
133 * @brief Base class pointer to the power off cause class
/openbmc/phosphor-fan-presence/docs/monitor/
H A Dpower_off_config.md18 - `cause` - ["missing_fan_frus", "nonfunc_fan_rotors"]
25 - Number of the configured `cause` instances to begin the power off `type`
31 of the `cause` criteria is met.
44 `cause` criteria still exists. This timer is canceled when the `count`
45 instances of the `cause` is not longer met.
61 "cause": "missing_fan_frus",
68 "cause": "nonfunc_fan_rotors",
75 "cause": "nonfunc_fan_rotors",
/openbmc/linux/tools/perf/pmu-events/arch/x86/ivybridge/
H A Dvirtual-memory.json13 …"PublicDescription": "Misses in all TLB levels that cause a page walk of any page size from demand…
18 …": "Load operations that miss the first DTLB level but hit the second and do not cause page walks",
42 "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",
53 …: "Store operations that miss the first TLB level but hit the second and do not cause page walks.",
58 "BriefDescription": "Store misses in all DTLB levels that cause completed page walks",
97 "BriefDescription": "Misses at all ITLB levels that cause page walks",
100 "PublicDescription": "Misses in all ITLB levels that cause page walks.",
105 …n": "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",
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/x86/ivytown/
H A Dvirtual-memory.json27 …"PublicDescription": "Misses in all TLB levels that cause a page walk of any page size from demand…
32 …": "Load operations that miss the first DTLB level but hit the second and do not cause page walks",
56 "BriefDescription": "Store misses in all DTLB levels that cause page walks",
64 …": "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",
111 "BriefDescription": "Misses at all ITLB levels that cause page walks",
114 "PublicDescription": "Misses in all ITLB levels that cause page walks.",
119 …n": "Operations that miss the first ITLB level but hit the second and do not cause any page walks",
127 "BriefDescription": "Misses in all ITLB levels that cause completed page walks",
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Control/Power/
H A DThrottle.interface.yaml11 This property shall contain the cause(s) of the component being
29 The cause of the component being throttled is a clock limit.
32 The cause of the component being throttled is a fault detected
36 The cause of the component being throttled is a power limit.
39 The cause of the component being throttled is a thermal limit.
42 The cause of the component being throttled is not known.
/openbmc/linux/security/integrity/ima/
H A Dima_appraise.c281 enum integrity_status *status, const char **cause) in xattr_verify() argument
297 *cause = "verity-signature-required"; in xattr_verify()
299 *cause = "IMA-signature-required"; in xattr_verify()
319 *cause = "invalid-hash"; in xattr_verify()
330 *cause = "verity-signature-required"; in xattr_verify()
337 *cause = "invalid-signature-version"; in xattr_verify()
358 *cause = "invalid-signature"; in xattr_verify()
369 *cause = "IMA-signature-required"; in xattr_verify()
377 *cause = "invalid-signature-version"; in xattr_verify()
385 *cause = "sigv3-hashing-error"; in xattr_verify()
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/x86/haswell/
H A Dvirtual-memory.json3 "BriefDescription": "Load misses in all DTLB levels that cause page walks",
6 "PublicDescription": "Misses in all TLB levels that cause a page walk of any page size.",
19 …": "Load operations that miss the first DTLB level but hit the second and do not cause page walks",
30 …ons from a 2M page that miss the first DTLB level but hit the second and do not cause page walks.",
38 …ons from a 4K page that miss the first DTLB level but hit the second and do not cause page walks.",
82 "BriefDescription": "Store misses in all DTLB levels that cause page walks",
98 …": "Store operations that miss the first TLB level but hit the second and do not cause page walks",
101 …: "Store operations that miss the first TLB level but hit the second and do not cause page walks.",
109 …ons from a 2M page that miss the first DTLB level but hit the second and do not cause page walks.",
117 …ons from a 4K page that miss the first DTLB level but hit the second and do not cause page walks.",
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/x86/haswellx/
H A Dvirtual-memory.json3 "BriefDescription": "Load misses in all DTLB levels that cause page walks",
6 "PublicDescription": "Misses in all TLB levels that cause a page walk of any page size.",
19 …": "Load operations that miss the first DTLB level but hit the second and do not cause page walks",
30 …ons from a 2M page that miss the first DTLB level but hit the second and do not cause page walks.",
38 …ons from a 4K page that miss the first DTLB level but hit the second and do not cause page walks.",
82 "BriefDescription": "Store misses in all DTLB levels that cause page walks",
98 …": "Store operations that miss the first TLB level but hit the second and do not cause page walks",
101 …: "Store operations that miss the first TLB level but hit the second and do not cause page walks.",
109 …ons from a 2M page that miss the first DTLB level but hit the second and do not cause page walks.",
117 …ons from a 4K page that miss the first DTLB level but hit the second and do not cause page walks.",
[all …]
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/
H A 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 …]
/openbmc/u-boot/arch/arm/cpu/armv7/vf610/
H A Dgeneric.c282 u32 cause; in get_reset_cause() local
285 cause = readl(&src_regs->srsr); in get_reset_cause()
286 writel(cause, &src_regs->srsr); in get_reset_cause()
288 if (cause & SRC_SRSR_POR_RST) in get_reset_cause()
290 else if (cause & SRC_SRSR_WDOG_A5) in get_reset_cause()
292 else if (cause & SRC_SRSR_WDOG_M4) in get_reset_cause()
294 else if (cause & SRC_SRSR_JTAG_RST) in get_reset_cause()
296 else if (cause & SRC_SRSR_SW_RST) in get_reset_cause()
298 else if (cause & SRC_SRSR_RESETB) in get_reset_cause()
308 printf("Reset cause: %s\n", get_reset_cause()); in print_cpuinfo()
/openbmc/openpower-hw-diags/analyzer/
H A Danalyzer_main.cpp28 * @param o_rootCause The returned root cause signature.
30 * @return True, if root cause has been found. False, otherwise.
128 // Filter for root cause attention. in analyzeHardware()
138 trace::err("Exception caught during root cause filtering"); in analyzeHardware()
143 // If a root cause attention was found, or if this was a system checkstop, in analyzeHardware()
149 trace::inf("Root cause attention: %s 0x%0" PRIx32 " %s", in analyzeHardware()
155 // This is bad. Analysis should have found a root cause attention in analyzeHardware()
159 trace::err("System checkstop with no root cause attention"); in analyzeHardware()
174 // Resolve the root cause attention. in analyzeHardware()
179 trace::err("Exception caught during root cause analysis"); in analyzeHardware()
[all …]
/openbmc/linux/arch/nios2/kernel/
H A 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()
/openbmc/linux/arch/mips/kvm/
H A 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 …]
/openbmc/linux/security/integrity/
H A 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()
/openbmc/u-boot/arch/riscv/lib/
H A Dinterrupts.c67 ulong handle_trap(ulong cause, ulong epc, struct pt_regs *regs) in handle_trap() argument
71 is_irq = (cause & MCAUSE_INT); in handle_trap()
72 irq = (cause & ~MCAUSE_INT); in handle_trap()
85 _exit_trap(cause, epc, regs); in handle_trap()
89 _exit_trap(cause, epc, regs); in handle_trap()

12345678910>>...135