Home
last modified time | relevance | path

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

12345678910>>...53

/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 …]
H A Ddevice-tree-gpio-naming.md148 ### Reset Cause
153 needs more details on the cause of a reset. Hardware can be configured to latch
156 Pattern: `reset-cause-*`
158 #### reset-cause-pinhole
160 The pinhole reset cause will be utilized by BMC firmware to know when it has
163 GPIO is not utilized to cause the actual reset, it is a GPIO that can be read
/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",
H A Dnum_nonfunc_rotors_before_error.md26 "cause": "missing_fan_frus",
33 "cause": "nonfunc_fan_rotors",
40 "cause": "nonfunc_fan_rotors",
/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/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-dbus-interfaces/yaml/xyz/openbmc_project/State/
H A DBMC.events.yaml6 - name: Cause
9 description: The detected cause of the last BMC reboot.
11 description: The BMC reboot and the cause was identified.
12 message: The last BMC reboot was caused by '{Cause}'.
/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()
/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 …]
H A Dfilter-root-cause.cpp65 // TODO: Consider returning all of them instead of one as root cause. in __findPllUnlock()
173 // Will query if a signature is a potential system checkstop root cause.
357 // they can cause downstream PLL unlock attentions. in findRootCause()
365 // because PLL unlock attentions can cause any number of downstream in findRootCause()
373 // blamed as the root cause of a system checkstop. in findRootCause()
375 // Memory channel failure attentions will produce SUEs and likely cause in findRootCause()
383 // potential root cause of a system checkstop attention. These would include in findRootCause()
393 // failures) that have been identified as a potential root cause of a in findRootCause()
401 // If no other viable root cause has been found, check for any signatures in findRootCause()
419 // No system checkstop root cause attentions were found. Next, look for in findRootCause()
[all …]
/openbmc/qemu/rust/qemu-api/src/
H A Derror.rs54 cause: Option<anyhow::Error>, field
61 self.cause.as_ref().map(AsRef::as_ref) in source()
68 .or_else(|| self.cause.as_deref().map(std::error::Error::description)) in description()
69 .expect("no message nor cause?") in description()
80 if let Some(ref cause) = self.cause { in fmt()
81 write!(f, "{prefix}{cause}")?; in fmt()
83 panic!("no message nor cause?"); in fmt()
95 cause: None, in from()
108 cause: None, in from()
121 cause: Some(error), in from()
[all …]
/openbmc/u-boot/arch/arm/mach-imx/mx7ulp/
H A Dsoc.c129 char cause[18]; in print_cpuinfo() local
138 printf("Reset cause: %s\n", get_reset_cause(cause)); in print_cpuinfo()
177 u32 cause1, cause = 0, srs = 0; in get_reset_cause() local
190 cause = cause1 & (CMC_SRS_POR | CMC_SRS_WUP | CMC_SRS_WARM); in get_reset_cause()
192 switch (cause) { in get_reset_cause()
200 cause = cause1 & (CMC_SRS_WDG | CMC_SRS_SW | in get_reset_cause()
202 switch (cause) { in get_reset_cause()
/openbmc/u-boot/doc/
H A DREADME.unaligned-memory-access.txt9 unaligned accesses, why you need to write code that doesn't cause them,
67 platforms and will cause performance problems on others.
70 Code that does not cause unaligned access
89 not be unreasonable to expect that accessing field2 would cause an unaligned
105 will never cause an unaligned access, because all memory addresses are evenly
133 the memory access in a way that does not cause unaligned access. Of course,
134 the extra instructions obviously cause a loss in performance compared to the
143 that can cause an unaligned memory access. The following function taken
177 Here is another example of some code that could cause unaligned accesses:
185 This code will cause unaligned accesses every time the data parameter points
/openbmc/qemu/target/xtensa/
H A Dexc_helper.c47 void HELPER(exception_cause)(CPUXtensaState *env, uint32_t pc, uint32_t cause) in HELPER()
64 env->sregs[EXCCAUSE] = cause; in HELPER()
71 uint32_t pc, uint32_t cause, uint32_t vaddr) in HELPER()
74 HELPER(exception_cause)(env, pc, cause); in HELPER()
77 void debug_exception_env(CPUXtensaState *env, uint32_t cause) in debug_exception_env() argument
80 HELPER(debug_exception)(env, env->pc, cause); in debug_exception_env()
84 void HELPER(debug_exception)(CPUXtensaState *env, uint32_t pc, uint32_t cause) in HELPER()
89 env->sregs[DEBUGCAUSE] = cause; in HELPER()
158 * exception with the 'level-1 interrupt' exception cause.
/openbmc/qemu/target/ppc/
H A Dmisc_helper.c90 const char *caller, uint32_t cause, in raise_hv_fu_exception() argument
98 raise_exception_err_ra(env, POWERPC_EXCP_HV_FU, cause, raddr); in raise_hv_fu_exception()
102 uint32_t sprn, uint32_t cause, in raise_fu_exception() argument
108 cause &= FSCR_IC_MASK; in raise_fu_exception()
109 env->spr[SPR_FSCR] |= (target_ulong)cause << FSCR_IC_POS; in raise_fu_exception()
116 const char *caller, uint32_t cause) in helper_hfscr_facility_check() argument
121 raise_hv_fu_exception(env, bit, caller, cause, GETPC()); in helper_hfscr_facility_check()
127 uint32_t sprn, uint32_t cause) in helper_fscr_facility_check() argument
134 raise_fu_exception(env, bit, sprn, cause, GETPC()); in helper_fscr_facility_check()
139 uint32_t sprn, uint32_t cause) in helper_msr_facility_check() argument
[all …]
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mx25/
H A Dgeneric.c186 u32 cause = readl(&ccm->rcsr) & 0x0f; in get_reset_cause() local
188 if (cause == 0) in get_reset_cause()
190 else if (cause == 1) in get_reset_cause()
192 else if ((cause & 2) == 2) in get_reset_cause()
194 else if ((cause & 4) == 4) in get_reset_cause()
196 else if ((cause & 8) == 8) in get_reset_cause()
212 printf("Reset cause: %s\n", get_reset_cause()); in print_cpuinfo()
/openbmc/u-boot/tools/binman/etype/
H A D_testing.py32 return-unknown-contents: Refuse to provide any contents (to cause a
35 cause a failure
36 never-complete-process-fdt: Refund to process the FDT (to cause a
91 # Request to update the conents with something larger, to cause a
/openbmc/qemu/tests/tcg/multiarch/
H A Dsegfault.c4 /* Cause a segfault for testing purposes. */
11 /* Cause segfault. */ in main()
/openbmc/qemu/target/mips/tcg/system/
H A Dtlb_helper.c583 * Synchronous exceptions detected on memory accesses cause a silent exit
1036 int cause = -1; in mips_cpu_do_interrupt() local
1132 cause = 0; in mips_cpu_do_interrupt()
1164 cause = 1; in mips_cpu_do_interrupt()
1168 cause = 2; in mips_cpu_do_interrupt()
1189 cause = 3; in mips_cpu_do_interrupt()
1210 cause = 4; in mips_cpu_do_interrupt()
1214 cause = 5; in mips_cpu_do_interrupt()
1218 cause = 6; in mips_cpu_do_interrupt()
1221 cause = 7; in mips_cpu_do_interrupt()
[all …]
/openbmc/intel-ipmi-oem/src/
H A Dchassiscommands.cpp559 static uint4_t getRestartCauseValue(const std::string& cause) in getRestartCauseValue() argument
562 if (cause == "xyz.openbmc_project.State.Host.RestartCause.Unknown") in getRestartCauseValue()
566 else if (cause == "xyz.openbmc_project.State.Host.RestartCause.IpmiCommand") in getRestartCauseValue()
570 else if (cause == "xyz.openbmc_project.State.Host.RestartCause.ResetButton") in getRestartCauseValue()
574 else if (cause == "xyz.openbmc_project.State.Host.RestartCause.PowerButton") in getRestartCauseValue()
578 else if (cause == in getRestartCauseValue()
583 else if (cause == "xyz.openbmc_project.State.Host.RestartCause.OEM") in getRestartCauseValue()
587 else if (cause == in getRestartCauseValue()
592 else if (cause == "xyz.openbmc_project.State.Host.RestartCause." in getRestartCauseValue()
597 else if (cause == "xyz.openbmc_project.State.Host.RestartCause.PEFReset") in getRestartCauseValue()
[all …]
/openbmc/u-boot/arch/mips/lib/
H A Dtraps.c23 unsigned int cause = regs->cp0_cause; in show_regs() local
58 exccode = (cause & CAUSEF_EXCCODE) >> CAUSEB_EXCCODE; in show_regs()
59 printf("Cause : %08x (ExcCode %02x)\n", cause, exccode); in show_regs()
/openbmc/openbmc/meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/
H A Dplat-phosphor-multi-gpio-monitor.json3 "Name": "reset-cause-platrst",
8 "RISING": ["gpios-deassert-log@0_reset-cause-platrst.service"],
9 "FALLING": ["gpios-assert-log@0_reset-cause-platrst.service"]
185 "Name": "reset-cause-pcie",
190 "RISING": ["gpios-deassert-log@2_reset-cause-pcie.service"],
191 "FALLING": ["gpios-assert-log@2_reset-cause-pcie.service"]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/postfix/files/
H A Dmain.cf53 # reject_unknown_client, # This can cause a lot of false rejects.
65 # reject_non_fqdn_hostname, # This can cause a lot of false rejects.
66 # reject_unknown_hostname, # This can cause a lot of false rejects.

12345678910>>...53