Home
last modified time | relevance | path

Searched refs:err_type (Results 1 – 25 of 68) sorted by relevance

123

/linux-6.6.21/drivers/firmware/efi/
Dcper-x86.c87 static enum err_types cper_get_err_type(const guid_t *err_type) in cper_get_err_type() argument
89 if (guid_equal(err_type, &INFO_ERR_STRUCT_TYPE_CACHE)) in cper_get_err_type()
91 else if (guid_equal(err_type, &INFO_ERR_STRUCT_TYPE_TLB)) in cper_get_err_type()
93 else if (guid_equal(err_type, &INFO_ERR_STRUCT_TYPE_BUS)) in cper_get_err_type()
95 else if (guid_equal(err_type, &INFO_ERR_STRUCT_TYPE_MS)) in cper_get_err_type()
161 u8 err_type = CHECK_MS_ERR_TYPE(check); in print_err_info_ms() local
163 printk("%sError Type: %u, %s\n", pfx, err_type, in print_err_info_ms()
164 err_type < ARRAY_SIZE(ia_check_ms_error_type_strs) ? in print_err_info_ms()
165 ia_check_ms_error_type_strs[err_type] : "unknown"); in print_err_info_ms()
184 static void print_err_info(const char *pfx, u8 err_type, u64 check) in print_err_info() argument
[all …]
/linux-6.6.21/drivers/edac/
Dqcom_edac.c129 qcom_llcc_clear_error_status(int err_type, struct llcc_drv_data *drv) in qcom_llcc_clear_error_status() argument
133 switch (err_type) { in qcom_llcc_clear_error_status()
165 err_type); in qcom_llcc_clear_error_status()
176 static void get_reg_offsets(struct llcc_drv_data *drv, int err_type, in get_reg_offsets() argument
181 switch (err_type) { in get_reg_offsets()
207 dump_syn_reg_values(struct llcc_drv_data *drv, u32 bank, int err_type) in dump_syn_reg_values() argument
209 struct llcc_edac_reg_data reg_data = edac_reg_data[err_type]; in dump_syn_reg_values()
214 get_reg_offsets(drv, err_type, &regs); in dump_syn_reg_values()
249 return qcom_llcc_clear_error_status(err_type, drv); in dump_syn_reg_values()
253 dump_syn_reg(struct edac_device_ctl_info *edev_ctl, int err_type, u32 bank) in dump_syn_reg() argument
[all …]
/linux-6.6.21/arch/powerpc/kernel/
Drtasd.c198 void pSeries_log_error(char *buf, unsigned int err_type, int fatal) in pSeries_log_error() argument
211 switch (err_type & ERR_TYPE_MASK) { in pSeries_log_error()
214 if (!(err_type & ERR_FLAG_BOOT)) in pSeries_log_error()
226 if (logging_enabled && !(err_type & ERR_FLAG_BOOT)) in pSeries_log_error()
227 nvram_write_error_log(buf, len, err_type, error_log_cnt); in pSeries_log_error()
235 if ((err_type & ERR_TYPE_MASK) == ERR_TYPE_RTAS_LOG) in pSeries_log_error()
247 switch (err_type & ERR_TYPE_MASK) { in pSeries_log_error()
460 unsigned int err_type ; in retrieve_nvram_error_log() local
466 &err_type, &error_log_cnt); in retrieve_nvram_error_log()
470 if (err_type != ERR_FLAG_ALREADY_LOGGED) { in retrieve_nvram_error_log()
[all …]
Dmce.c376 const char *level, *sevstr, *subtype, *err_type, *initiator; in machine_check_print_event_info() local
486 err_type = "UE"; in machine_check_print_event_info()
497 err_type = "SLB"; in machine_check_print_event_info()
506 err_type = "ERAT"; in machine_check_print_event_info()
515 err_type = "TLB"; in machine_check_print_event_info()
524 err_type = "User"; in machine_check_print_event_info()
533 err_type = "Real address"; in machine_check_print_event_info()
542 err_type = "Link"; in machine_check_print_event_info()
551 err_type = "D-Cache"; in machine_check_print_event_info()
555 err_type = "I-Cache"; in machine_check_print_event_info()
[all …]
Dnvram_64.c182 unsigned int err_type, in nvram_write_os_partition() argument
195 info.error_type = cpu_to_be32(err_type); in nvram_write_os_partition()
220 int length, unsigned int *err_type, in nvram_read_partition() argument
251 *err_type = be32_to_cpu(info.error_type); in nvram_read_partition()
388 unsigned int err_type = ERR_TYPE_KERNEL_PANIC; in nvram_pstore_write() local
403 err_type = ERR_TYPE_KERNEL_PANIC_GZ; in nvram_pstore_write()
406 (int) (sizeof(*oops_hdr) + record->size), err_type, in nvram_pstore_write()
424 unsigned int err_type, id_no, size = 0; in nvram_pstore_read() local
491 if (nvram_read_partition(part, buff, part->size, &err_type, &id_no)) { in nvram_pstore_read()
523 if (err_type == ERR_TYPE_KERNEL_PANIC_GZ) in nvram_pstore_read()
[all …]
/linux-6.6.21/arch/powerpc/include/asm/
Dnvram.h46 unsigned int err_type, unsigned int err_seq);
48 unsigned int * err_type, unsigned int *err_seq);
85 int length, unsigned int *err_type,
91 unsigned int err_type,
Dmachdep.h76 void (*log_error)(char *buf, unsigned int err_type, int fatal);
237 static inline void log_error(char *buf, unsigned int err_type, int fatal) in log_error() argument
240 ppc_md.log_error(buf, err_type, fatal); in log_error()
/linux-6.6.21/arch/powerpc/platforms/pseries/
Dnvram.c134 unsigned int err_type, unsigned int error_log_cnt) in nvram_write_error_log() argument
137 err_type, error_log_cnt); in nvram_write_error_log()
153 unsigned int *err_type, unsigned int *error_log_cnt) in nvram_read_error_log() argument
156 err_type, error_log_cnt); in nvram_read_error_log()
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/
Dqed_devlink.c19 enum qed_hw_err_type err_type; member
22 int qed_report_fatal_error(struct devlink *devlink, enum qed_hw_err_type err_type) in qed_report_fatal_error() argument
26 .err_type = err_type, in qed_report_fatal_error()
Dqed_devlink.h18 int qed_report_fatal_error(struct devlink *dl, enum qed_hw_err_type err_type);
Dqed_hw.h334 enum qed_hw_err_type err_type,
Dqed_hw.c834 enum qed_hw_err_type err_type, const char *fmt, ...) in qed_hw_err_notify() argument
853 err_type != QED_HW_ERR_FAN_FAIL) { in qed_hw_err_notify()
857 err_type); in qed_hw_err_notify()
861 qed_hw_error_occurred(p_hwfn, err_type); in qed_hw_err_notify()
/linux-6.6.21/arch/mips/sgi-ip27/
Dip27-berr.c27 static char *err_type[2][8] = { in dump_hub_information() local
56 pr_info("Error type is %s\n", err_type[st1.pi_stat1_fmt.s1_rw_rb] in dump_hub_information()
/linux-6.6.21/drivers/misc/
Dsmpro-errmon.c303 unsigned int err_type; in smpro_internal_err_read() local
321 err_type = (val & BIT(1)) ? BIT(1) : in smpro_internal_err_read()
324 if (!err_type) in smpro_internal_err_read()
335 if (err_type & BIT(2)) { in smpro_internal_err_read()
347 ret = regmap_write(errmon->regmap, err_info->type, err_type); in smpro_internal_err_read()
/linux-6.6.21/include/ras/
Dras_event.h100 TP_PROTO(const unsigned int err_type,
113 TP_ARGS(err_type, error_msg, label, error_count, mc_index,
133 __entry->error_type = err_type;
/linux-6.6.21/include/rdma/
Dsignature.h117 enum ib_sig_err_type err_type; member
/linux-6.6.21/drivers/net/ethernet/emulex/benet/
Dbe.h939 static inline u8 be_check_error(struct be_adapter *adapter, u32 err_type) in be_check_error() argument
941 return (adapter->err_flags & err_type); in be_check_error()
944 static inline void be_set_error(struct be_adapter *adapter, int err_type) in be_set_error() argument
948 adapter->err_flags |= err_type; in be_set_error()
954 static inline void be_clear_error(struct be_adapter *adapter, int err_type) in be_clear_error() argument
956 adapter->err_flags &= ~err_type; in be_clear_error()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ras_eeprom.h121 enum amdgpu_ras_eeprom_err_type err_type; member
/linux-6.6.21/drivers/pci/controller/
Dpcie-hisi-error.c55 u16 err_type; member
228 dev_info(dev, "Error type = 0x%x\n", edata->err_type); in hisi_pcie_handle_error()
/linux-6.6.21/include/linux/
Dedac.h121 static inline char *mc_event_error_type(const unsigned int err_type) in mc_event_error_type() argument
123 switch (err_type) { in mc_event_error_type()
/linux-6.6.21/arch/powerpc/platforms/powernv/
Deeh-powernv.c1412 __be16 err_type, severity; in pnv_eeh_next_error() local
1434 &frozen_pe_no, &err_type, &severity); in pnv_eeh_next_error()
1443 if (be16_to_cpu(err_type) == OPAL_EEH_NO_ERROR || in pnv_eeh_next_error()
1456 __func__, be16_to_cpu(err_type), in pnv_eeh_next_error()
1459 switch (be16_to_cpu(err_type)) { in pnv_eeh_next_error()
1541 __func__, be16_to_cpu(err_type)); in pnv_eeh_next_error()
/linux-6.6.21/drivers/net/ethernet/microchip/sparx5/
Dsparx5_fdma.c476 u32 err_type = spx5_rd(sparx5, FDMA_ERRORS); in sparx5_fdma_handler() local
480 err, err_type); in sparx5_fdma_handler()
482 spx5_wr(err_type, sparx5, FDMA_ERRORS); in sparx5_fdma_handler()
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/af/
Dcgx_fw_if.h221 uint64_t err_type:10; member
/linux-6.6.21/drivers/net/ethernet/qlogic/qede/
Dqede_main.c112 enum qed_hw_err_type err_type);
2750 enum qed_hw_err_type err_type) in qede_set_hw_err_flags() argument
2754 switch (err_type) { in qede_set_hw_err_flags()
2769 DP_NOTICE(edev, "Unexpected HW error [%d]\n", err_type); in qede_set_hw_err_flags()
2777 enum qed_hw_err_type err_type) in qede_schedule_hw_err_handler() argument
2786 err_type != QED_HW_ERR_FAN_FAIL) { in qede_schedule_hw_err_handler()
2792 if (err_type >= QED_HW_ERR_LAST) { in qede_schedule_hw_err_handler()
2793 DP_NOTICE(edev, "Unknown HW error [%d]\n", err_type); in qede_schedule_hw_err_handler()
2798 edev->last_err_type = err_type; in qede_schedule_hw_err_handler()
2799 qede_set_hw_err_flags(edev, err_type); in qede_schedule_hw_err_handler()
[all …]
/linux-6.6.21/drivers/crypto/hisilicon/sec2/
Dsec.h60 int err_type; member

123