/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_umc.c | 36 if (!adev->umc.ras_if) { in amdgpu_umc_ras_late_init() 37 adev->umc.ras_if = in amdgpu_umc_ras_late_init() 39 if (!adev->umc.ras_if) in amdgpu_umc_ras_late_init() 41 adev->umc.ras_if->block = AMDGPU_RAS_BLOCK__UMC; in amdgpu_umc_ras_late_init() 42 adev->umc.ras_if->type = AMDGPU_RAS_ERROR__MULTI_UNCORRECTABLE; in amdgpu_umc_ras_late_init() 43 adev->umc.ras_if->sub_block_index = 0; in amdgpu_umc_ras_late_init() 44 strcpy(adev->umc.ras_if->name, "umc"); in amdgpu_umc_ras_late_init() 46 ih_info.head = fs_info.head = *adev->umc.ras_if; in amdgpu_umc_ras_late_init() 48 r = amdgpu_ras_late_init(adev, adev->umc.ras_if, in amdgpu_umc_ras_late_init() 53 if (amdgpu_ras_is_supported(adev, adev->umc.ras_if->block)) { in amdgpu_umc_ras_late_init() [all …]
|
D | gmc_v9_0.c | 1132 adev->umc.funcs = &umc_v6_0_funcs; in gmc_v9_0_set_umc_funcs() 1135 adev->umc.max_ras_err_cnt_per_query = UMC_V6_1_TOTAL_CHANNEL_NUM; in gmc_v9_0_set_umc_funcs() 1136 adev->umc.channel_inst_num = UMC_V6_1_CHANNEL_INSTANCE_NUM; in gmc_v9_0_set_umc_funcs() 1137 adev->umc.umc_inst_num = UMC_V6_1_UMC_INSTANCE_NUM; in gmc_v9_0_set_umc_funcs() 1138 adev->umc.channel_offs = UMC_V6_1_PER_CHANNEL_OFFSET_VG20; in gmc_v9_0_set_umc_funcs() 1139 adev->umc.channel_idx_tbl = &umc_v6_1_channel_idx_tbl[0][0]; in gmc_v9_0_set_umc_funcs() 1140 adev->umc.funcs = &umc_v6_1_funcs; in gmc_v9_0_set_umc_funcs() 1143 adev->umc.max_ras_err_cnt_per_query = UMC_V6_1_TOTAL_CHANNEL_NUM; in gmc_v9_0_set_umc_funcs() 1144 adev->umc.channel_inst_num = UMC_V6_1_CHANNEL_INSTANCE_NUM; in gmc_v9_0_set_umc_funcs() 1145 adev->umc.umc_inst_num = UMC_V6_1_UMC_INSTANCE_NUM; in gmc_v9_0_set_umc_funcs() [all …]
|
D | amdgpu_umc.h | 34 #define LOOP_UMC_INST(umc_inst) for ((umc_inst) = 0; (umc_inst) < adev->umc.umc_inst_num; (umc_inst… 35 #define LOOP_UMC_CH_INST(ch_inst) for ((ch_inst) = 0; (ch_inst) < adev->umc.channel_inst_num; (ch_i…
|
D | gmc_v10_0.c | 619 adev->umc.max_ras_err_cnt_per_query = UMC_V8_7_TOTAL_CHANNEL_NUM; in gmc_v10_0_set_umc_funcs() 620 adev->umc.channel_inst_num = UMC_V8_7_CHANNEL_INSTANCE_NUM; in gmc_v10_0_set_umc_funcs() 621 adev->umc.umc_inst_num = UMC_V8_7_UMC_INSTANCE_NUM; in gmc_v10_0_set_umc_funcs() 622 adev->umc.channel_offs = UMC_V8_7_PER_CHANNEL_OFFSET_SIENNA; in gmc_v10_0_set_umc_funcs() 623 adev->umc.channel_idx_tbl = &umc_v8_7_channel_idx_tbl[0][0]; in gmc_v10_0_set_umc_funcs() 624 adev->umc.funcs = &umc_v8_7_funcs; in gmc_v10_0_set_umc_funcs() 997 if (adev->umc.funcs && adev->umc.funcs->init_registers) in gmc_v10_0_hw_init() 998 adev->umc.funcs->init_registers(adev); in gmc_v10_0_hw_init()
|
D | umc_v8_7.c | 46 return adev->umc.channel_offs*ch_inst + UMC_8_INST_DIST*umc_inst; in get_umc_8_reg_offset() 204 …uint32_t channel_index = adev->umc.channel_idx_tbl[umc_inst * adev->umc.channel_inst_num + ch_inst… in umc_v8_7_query_error_address()
|
D | umc_v6_1.c | 90 return adev->umc.channel_offs*ch_inst + UMC_6_INST_DIST*umc_inst; in get_umc_6_reg_offset() 303 …uint32_t channel_index = adev->umc.channel_idx_tbl[umc_inst * adev->umc.channel_inst_num + ch_inst… in umc_v6_1_query_error_address()
|
D | amdgpu_gmc.c | 316 if (adev->umc.funcs && adev->umc.funcs->ras_late_init) { in amdgpu_gmc_ras_late_init() 317 r = adev->umc.funcs->ras_late_init(adev); in amdgpu_gmc_ras_late_init()
|
D | amdgpu_ras.c | 770 if (adev->umc.funcs->query_ras_error_count) in amdgpu_ras_error_query() 771 adev->umc.funcs->query_ras_error_count(adev, &err_data); in amdgpu_ras_error_query() 775 if (adev->umc.funcs->query_ras_error_address) in amdgpu_ras_error_query() 776 adev->umc.funcs->query_ras_error_address(adev, &err_data); in amdgpu_ras_error_query()
|
D | amdgpu.h | 919 struct amdgpu_umc umc; member
|
/Linux-v5.10/drivers/edac/ |
D | amd64_edac.c | 214 if (pvt->umc) { in __set_scrub_rate() 256 if (pvt->umc) { in get_scrub_rate() 720 if (pvt->umc) { in determine_edac_cap() 724 if (!(pvt->umc[i].sdp_ctrl & UMC_SDP_INIT)) in determine_edac_cap() 730 if (pvt->umc[i].umc_cfg & BIT(12)) in determine_edac_cap() 830 struct amd64_umc *umc; in __dump_misc_regs_df() local 835 umc = &pvt->umc[i]; in __dump_misc_regs_df() 837 edac_dbg(1, "UMC%d DIMM cfg: 0x%x\n", i, umc->dimm_cfg); in __dump_misc_regs_df() 838 edac_dbg(1, "UMC%d UMC cfg: 0x%x\n", i, umc->umc_cfg); in __dump_misc_regs_df() 839 edac_dbg(1, "UMC%d SDP ctrl: 0x%x\n", i, umc->sdp_ctrl); in __dump_misc_regs_df() [all …]
|
D | amd64_edac.h | 391 struct amd64_umc *umc; /* UMC registers */ member
|
/Linux-v5.10/Documentation/ABI/testing/ |
D | sysfs-bus-umc | 1 What: /sys/bus/umc/ 11 The umc bus presents each of the individual 14 What: /sys/bus/umc/devices/.../capability_id 22 What: /sys/bus/umc/devices/.../version
|
/Linux-v5.10/arch/x86/kernel/cpu/mce/ |
D | amd.c | 678 int umc_normaddr_to_sysaddr(u64 norm_addr, u16 nid, u8 umc, u64 *sys_addr) in umc_normaddr_to_sysaddr() argument 695 if (amd_df_indirect_read(nid, 0, 0x1B4, umc, &tmp)) in umc_normaddr_to_sysaddr() 709 if (amd_df_indirect_read(nid, 0, 0x110 + (8 * base), umc, &tmp)) in umc_normaddr_to_sysaddr() 732 if (amd_df_indirect_read(nid, 0, 0x114 + (8 * base), umc, &tmp)) in umc_normaddr_to_sysaddr() 788 if (amd_df_indirect_read(nid, 0, 0x50, umc, &tmp)) in umc_normaddr_to_sysaddr() 805 if (amd_df_indirect_read(nid, 1, 0x208, umc, &tmp)) in umc_normaddr_to_sysaddr() 844 if (amd_df_indirect_read(nid, 0, 0x104, umc, &tmp)) in umc_normaddr_to_sysaddr()
|
/Linux-v5.10/arch/x86/include/asm/ |
D | mce.h | 369 int umc_normaddr_to_sysaddr(u64 norm_addr, u16 nid, u8 umc, u64 *sys_addr); 378 umc_normaddr_to_sysaddr(u64 norm_addr, u16 nid, u8 umc, u64 *sys_addr) { return -EINVAL; }; in umc_normaddr_to_sysaddr() argument
|
/Linux-v5.10/arch/x86/kernel/cpu/ |
D | Makefile | 44 obj-$(CONFIG_CPU_SUP_UMC_32) += umc.o
|
/Linux-v5.10/drivers/scsi/ |
D | megaraid.c | 3518 megacmd_t __user *umc; in mega_n_to_m() local 3538 umc = MBOX_P(uiocp); in mega_n_to_m() 3540 if (get_user(upthru, (mega_passthru __user * __user *)&umc->xferaddr)) in mega_n_to_m() 3555 umc = (megacmd_t __user *)uioc_mimd->mbox; in mega_n_to_m() 3557 if (get_user(upthru, (mega_passthru __user * __user *)&umc->xferaddr)) in mega_n_to_m()
|