Searched refs:severity (Results 1 - 25 of 67) sorted by relevance

123

/linux-master/arch/x86/kernel/cpu/mce/
H A DMakefile2 obj-y = core.o severity.o genpool.o
H A Dapei.c29 void apei_mce_report_mem_error(int severity, struct cper_sec_mem_err *mem_err) argument
53 if (severity >= GHES_SEV_RECOVERABLE)
56 if (severity >= GHES_SEV_PANIC) {
H A Dcore.c434 * the severity of the problem as we read per-bank specific details.
594 if (mce->severity != MCE_AO_SEVERITY &&
595 mce->severity != MCE_DEFERRED_SEVERITY)
763 m.severity = mce_severity(&m, NULL, NULL, false);
800 * the severity assessment code. Pretend that EIPV was set, and take the
1020 * Grade the severity of the errors of all the CPUs.
1025 if (mtmp->severity > global_worst) {
1026 global_worst = mtmp->severity;
1270 int severity, i, taint = 0; local
1299 severity
[all...]
H A Dseverity.c23 * Grade an mce by severity. In general the most severe ones are processed
38 static struct severity { struct
126 * Set severity to "AO" for same action as normal patrol scrub error.
374 struct severity *s;
433 struct severity *ser = data;
/linux-master/drivers/regulator/
H A Dbd9576-regulator.c239 static bool check_ocp_flag_mismatch(struct regulator_dev *rdev, int severity, argument
242 if ((severity == REGULATOR_SEVERITY_ERR &&
244 (severity == REGULATOR_SEVERITY_WARN &&
249 if (severity == REGULATOR_SEVERITY_WARN)
258 static bool check_uvd_flag_mismatch(struct regulator_dev *rdev, int severity, argument
261 if ((severity == REGULATOR_SEVERITY_ERR &&
263 (severity == REGULATOR_SEVERITY_WARN &&
267 if (severity == REGULATOR_SEVERITY_WARN)
276 static bool check_ovd_flag_mismatch(struct regulator_dev *rdev, int severity, argument
279 if ((severity
294 check_temp_flag_mismatch(struct regulator_dev *rdev, int severity, struct bd957x_regulator_data *r) argument
310 bd9576_set_ocp(struct regulator_dev *rdev, int lim_uA, int severity, bool enable) argument
384 bd9576_set_uvp(struct regulator_dev *rdev, int lim_uV, int severity, bool enable) argument
424 bd9576_set_ovp(struct regulator_dev *rdev, int lim_uV, int severity, bool enable) argument
465 bd9576_set_tw(struct regulator_dev *rdev, int lim, int severity, bool enable) argument
[all...]
H A Dmax5970-regulator.c162 static int max597x_uvp_ovp_check_mode(struct regulator_dev *rdev, int severity) argument
172 if (severity == REGULATOR_SEVERITY_PROT) {
184 static int max597x_set_vp(struct regulator_dev *rdev, int lim_uV, int severity, argument
192 if (severity == REGULATOR_SEVERITY_WARN) {
200 if (severity == REGULATOR_SEVERITY_WARN) {
226 static int max597x_set_uvp(struct regulator_dev *rdev, int lim_uV, int severity, argument
238 ret = max597x_uvp_ovp_check_mode(rdev, severity);
242 return max597x_set_vp(rdev, lim_uV, severity, enable, false);
245 static int max597x_set_ovp(struct regulator_dev *rdev, int lim_uV, int severity, argument
257 ret = max597x_uvp_ovp_check_mode(rdev, severity);
264 max597x_set_ocp(struct regulator_dev *rdev, int lim_uA, int severity, bool enable) argument
[all...]
H A Drt5759-regulator.c114 static int rt5759_set_ocp(struct regulator_dev *rdev, int lim_uA, int severity, argument
123 if (severity != REGULATOR_SEVERITY_PROT)
147 static int rt5759_set_otp(struct regulator_dev *rdev, int lim, int severity, argument
156 if (severity != REGULATOR_SEVERITY_PROT)
H A Dbd718x7-regulator.c438 int severity)
444 if (severity != REGULATOR_SEVERITY_PROT) {
461 int severity, bool enable)
466 ret = bd718x7_xvp_sanity_check(rdev, lim_uV, severity);
523 int severity, bool enable)
527 ret = bd718x7_xvp_sanity_check(rdev, lim_uV, severity);
543 int severity,
548 ret = bd718x7_xvp_sanity_check(rdev, lim_uV, severity);
437 bd718x7_xvp_sanity_check(struct regulator_dev *rdev, int lim_uV, int severity) argument
460 bd718x7_set_ldo_uvp(struct regulator_dev *rdev, int lim_uV, int severity, bool enable) argument
522 bd718x7_set_buck_uvp(struct regulator_dev *rdev, int lim_uV, int severity, bool enable) argument
542 bd718x7_set_buck_ovp(struct regulator_dev *rdev, int lim_uV, int severity, bool enable) argument
/linux-master/include/linux/
H A Dcompiler-gcc.h140 #define __diag_GCC(version, severity, s) \
141 __diag_GCC_ ## version(__diag_GCC_ ## severity s)
H A Dcompiler-clang.h105 #define __diag_clang(version, severity, s) \
106 __diag_clang_ ## version(__diag_clang_ ## severity s)
H A Daer.h57 int severity, struct aer_capability_regs *aer_regs);
/linux-master/arch/x86/include/uapi/asm/
H A Dmce.h23 __u8 severity; /* Error severity */ member in struct:mce
/linux-master/drivers/pci/pcie/
H A Daer.c626 switch (info->severity) {
681 if (info->severity == AER_CORRECTABLE) {
707 pci_err(dev, "PCIe Bus Error: severity=%s, type=Inaccessible, (Unregistered Agent ID)\n",
708 aer_error_severity_string[info->severity]);
712 layer = AER_GET_LAYER_ERROR(info->severity, info->status);
713 agent = AER_GET_AGENT(info->severity, info->status);
715 level = (info->severity == AER_CORRECTABLE) ? KERN_WARNING : KERN_ERR;
717 pci_printk(level, dev, "PCIe Bus Error: severity=%s, type=%s, (%s)\n",
718 aer_error_severity_string[info->severity],
734 info->severity, inf
1129 int severity; member in struct:aer_recover_entry
1178 aer_recover_queue(int domain, unsigned int bus, unsigned int devfn, int severity, struct aer_capability_regs *aer_regs) argument
[all...]
/linux-master/arch/powerpc/platforms/pseries/
H A Dras.c571 int severity = rtas_error_severity(errp); local
596 if (severity == RTAS_SEVERITY_NO_ERROR)
597 mce_err.severity = MCE_SEV_NO_ERROR;
598 else if (severity == RTAS_SEVERITY_EVENT)
599 mce_err.severity = MCE_SEV_WARNING;
600 else if (severity == RTAS_SEVERITY_WARNING)
601 mce_err.severity = MCE_SEV_WARNING;
602 else if (severity == RTAS_SEVERITY_ERROR_SYNC)
603 mce_err.severity = MCE_SEV_SEVERE;
604 else if (severity
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dhealth.c409 int severity; local
422 severity = mlx5_health_get_severity(rfr_severity);
423 mlx5_log(dev, severity, "Health issue observed, %s, severity(%d) %s:\n",
424 hsynd_str(ioread8(&h->synd)), severity, mlx5_loglevel_str(severity));
427 mlx5_log(dev, severity, "assert_var[%d] 0x%08x\n", i,
430 mlx5_log(dev, severity, "assert_exit_ptr 0x%08x\n", ioread32be(&h->assert_exit_ptr));
431 mlx5_log(dev, severity, "assert_callra 0x%08x\n", ioread32be(&h->assert_callra));
432 mlx5_log(dev, severity, "fw_ve
[all...]
/linux-master/include/ras/
H A Dras_event.h248 TP_printk("severity: %d; sec type:%pU; FRU: %pU %s; data len:%d; raw data:%s",
266 * u8 severity - error severity 0:NONFATAL 1:FATAL 2:CORRECTED
301 const u8 severity,
305 TP_ARGS(dev_name, status, severity, tlp_header_valid, tlp),
310 __field( u8, severity )
318 __entry->severity = severity;
328 TP_printk("%s PCIe Bus Error: severity=%s, %s, TLP Header=%s\n",
330 __entry->severity
[all...]
/linux-master/drivers/firmware/efi/
H A Dcper.c65 const char *cper_severity_str(unsigned int severity) argument
67 return severity < ARRAY_SIZE(severity_strs) ?
68 severity_strs[severity] : "unknown";
542 __u16 severity; local
548 severity = gdata->error_severity;
550 cper_severity_str(severity));
651 __u16 severity; local
653 severity = estatus->error_severity;
654 if (severity == CPER_SEV_CORRECTED)
658 printk("%s""event severity
[all...]
/linux-master/arch/powerpc/kernel/
H A Dmce_power.c145 unsigned int severity; member in struct:mce_ierror_table
298 unsigned int severity; member in struct:mce_derror_table
544 mce_err->severity = table[i].severity;
566 mce_err->severity = MCE_SEV_SEVERE;
646 mce_err->severity = table[i].severity;
668 mce_err->severity = MCE_SEV_SEVERE;
/linux-master/arch/powerpc/include/asm/
H A Dmce.h117 enum MCE_Severity severity:8; member in struct:machine_check_event
200 enum MCE_Severity severity:8; member in struct:mce_error_info
H A Dppc-pci.h56 void eeh_slot_error_detail(struct eeh_pe *pe, int severity);
/linux-master/include/linux/regulator/
H A Ddriver.h87 * levels of severity.
174 int severity, bool enable);
176 int severity, bool enable);
178 int severity, bool enable);
180 int severity, bool enable);
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_devlink.c77 static char *bnxt_health_severity_str(enum bnxt_health_severity severity) argument
79 switch (severity) {
122 } else if (h->severity || fw_status != BNXT_FW_STATUS_HEALTHY) {
123 if (!h->severity) {
124 h->severity = SEVERITY_FATAL;
137 bnxt_health_severity_str(h->severity));
139 if (h->severity) {
200 if (bp->fw_health->severity == SEVERITY_FATAL)
264 fw_health->severity = SEVERITY_RECOVERABLE;
280 fw_health->severity
[all...]
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-hmi.c225 switch (hmi_evt->severity) {
245 if (hmi_evt->severity != OpalHMI_SEV_NO_ERROR || __ratelimit(&rs)) {
H A Deeh-powernv.c1126 * @severity: temporary or permanent error log
1132 static int pnv_eeh_get_log(struct eeh_pe *pe, int severity, argument
1412 __be16 err_type, severity; local
1434 &frozen_pe_no, &err_type, &severity);
1444 be16_to_cpu(severity) == OPAL_EEH_SEV_NO_ERROR) {
1457 be16_to_cpu(severity), be64_to_cpu(frozen_pe_no),
1461 if (be16_to_cpu(severity) == OPAL_EEH_SEV_IOC_DEAD) {
1464 } else if (be16_to_cpu(severity) == OPAL_EEH_SEV_INF) {
1473 if (be16_to_cpu(severity) == OPAL_EEH_SEV_PHB_DEAD) {
1480 } else if (be16_to_cpu(severity)
[all...]
/linux-master/drivers/cxl/core/
H A Dpci.c891 /* Get AER severity. Return false if there is no error. */
893 int *severity)
897 *severity = AER_FATAL;
899 *severity = AER_NONFATAL;
904 *severity = AER_CORRECTABLE;
917 int severity; local
928 if (!cxl_rch_get_aer_severity(&aer_regs, &severity))
931 pci_print_aer(pdev, severity, &aer_regs);
933 if (severity == AER_CORRECTABLE)
892 cxl_rch_get_aer_severity(struct aer_capability_regs *aer_regs, int *severity) argument

Completed in 613 milliseconds

123