Home
last modified time | relevance | path

Searched refs:err_addr (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Dumc_v6_7.c117 uint64_t err_addr, soc_pa; in umc_v6_7_ecc_info_query_correctable_error_count() local
121 err_addr = ras->umc_ecc.ecc[eccinfo_table_idx].mca_ceumc_addr; in umc_v6_7_ecc_info_query_correctable_error_count()
122 err_addr = REG_GET_FIELD(err_addr, MCA_UMC_UMC0_MCUMC_ADDRT0, ErrorAddr); in umc_v6_7_ecc_info_query_correctable_error_count()
124 soc_pa = ADDR_OF_8KB_BLOCK(err_addr) | in umc_v6_7_ecc_info_query_correctable_error_count()
126 OFFSET_IN_256B_BLOCK(err_addr); in umc_v6_7_ecc_info_query_correctable_error_count()
188 struct ras_err_data *err_data, uint64_t err_addr, in umc_v6_7_convert_error_address() argument
197 soc_pa = ADDR_OF_8KB_BLOCK(err_addr) | in umc_v6_7_convert_error_address()
199 OFFSET_IN_256B_BLOCK(err_addr); in umc_v6_7_convert_error_address()
211 amdgpu_umc_fill_error_record(err_data, err_addr, in umc_v6_7_convert_error_address()
217 amdgpu_umc_fill_error_record(err_data, err_addr, in umc_v6_7_convert_error_address()
[all …]
Dumc_v12_0.c181 uint64_t soc_pa, retired_page, column, err_addr; in umc_v12_0_convert_error_address() local
184 err_addr = addr_in->ma.err_addr; in umc_v12_0_convert_error_address()
188 err_addr); in umc_v12_0_convert_error_address()
197 col = (err_addr >> 1) & 0x1fULL; in umc_v12_0_convert_error_address()
198 row = (err_addr >> 10) & 0x3fffULL; in umc_v12_0_convert_error_address()
215 amdgpu_umc_fill_error_record(err_data, err_addr, in umc_v12_0_convert_error_address()
223 amdgpu_umc_fill_error_record(err_data, err_addr, in umc_v12_0_convert_error_address()
230 uint64_t err_addr) in umc_v12_0_dump_addr_info() argument
239 col = (err_addr >> 1) & 0x1fULL; in umc_v12_0_dump_addr_info()
240 row = (err_addr >> 10) & 0x3fffULL; in umc_v12_0_dump_addr_info()
[all …]
Dumc_v8_7.c112 struct ras_err_data *err_data, uint64_t err_addr, in umc_v8_7_convert_error_address() argument
122 retired_page = ADDR_OF_4KB_BLOCK(err_addr) | in umc_v8_7_convert_error_address()
124 OFFSET_IN_256B_BLOCK(err_addr); in umc_v8_7_convert_error_address()
126 amdgpu_umc_fill_error_record(err_data, err_addr, in umc_v8_7_convert_error_address()
135 uint64_t mc_umc_status, err_addr; in umc_v8_7_ecc_info_query_error_address() local
145 if (!err_data->err_addr) in umc_v8_7_ecc_info_query_error_address()
152 err_addr = ras->umc_ecc.ecc[eccinfo_table_idx].mca_umc_addr; in umc_v8_7_ecc_info_query_error_address()
153 err_addr = REG_GET_FIELD(err_addr, MCA_UMC_UMC0_MCUMC_ADDRT0, ErrorAddr); in umc_v8_7_ecc_info_query_error_address()
155 umc_v8_7_convert_error_address(adev, err_data, err_addr, in umc_v8_7_ecc_info_query_error_address()
333 uint64_t mc_umc_status, err_addr, mc_umc_addrt0; in umc_v8_7_query_error_address() local
[all …]
Damdgpu_umc.c32 struct ras_err_data *err_data, uint64_t err_addr, in amdgpu_umc_convert_error_address() argument
38 err_data, err_addr, ch_inst, umc_inst); in amdgpu_umc_convert_error_address()
50 uint64_t err_addr, uint32_t ch_inst, uint32_t umc_inst) in amdgpu_umc_page_retirement_mca() argument
59 err_data.err_addr = in amdgpu_umc_page_retirement_mca()
62 if (!err_data.err_addr) { in amdgpu_umc_page_retirement_mca()
74 ret = amdgpu_umc_convert_error_address(adev, &err_data, err_addr, in amdgpu_umc_page_retirement_mca()
80 amdgpu_ras_add_bad_pages(adev, err_data.err_addr, in amdgpu_umc_page_retirement_mca()
86 kfree(err_data.err_addr); in amdgpu_umc_page_retirement_mca()
116 err_data->err_addr = in amdgpu_umc_handle_bad_pages()
123 if(!err_data->err_addr) in amdgpu_umc_handle_bad_pages()
[all …]
Dumc_v8_10.c206 struct ras_err_data *err_data, uint64_t err_addr, in umc_v8_10_convert_error_address() argument
223 err_addr &= ~((0x1ULL << addr_lsb) - 1); in umc_v8_10_convert_error_address()
224 na_err_addr_base = err_addr & ~(0x3ULL << UMC_V8_10_NA_C5_BIT); in umc_v8_10_convert_error_address()
249 uint64_t mc_umc_status, err_addr; in umc_v8_10_query_error_address() local
262 if (!err_data->err_addr) { in umc_v8_10_query_error_address()
274 err_addr = RREG64_PCIE((mc_umc_addrt0 + umc_reg_offset) * 4); in umc_v8_10_query_error_address()
275 err_addr = REG_GET_FIELD(err_addr, MCA_UMC_UMC0_MCUMC_ADDRT0, ErrorAddr); in umc_v8_10_query_error_address()
277 umc_v8_10_convert_error_address(adev, err_data, err_addr, in umc_v8_10_query_error_address()
406 uint64_t mc_umc_status, err_addr; in umc_v8_10_ecc_info_query_error_address() local
420 if (!err_data->err_addr) in umc_v8_10_ecc_info_query_error_address()
[all …]
Dumc_v6_1.c302 uint64_t mc_umc_status, err_addr, retired_page, mc_umc_addrt0; in umc_v6_1_query_error_address() local
324 if (!err_data->err_addr) { in umc_v6_1_query_error_address()
334 err_addr = RREG64_PCIE((mc_umc_addrt0 + umc_reg_offset) * 4); in umc_v6_1_query_error_address()
336 lsb = REG_GET_FIELD(err_addr, MCA_UMC_UMC0_MCUMC_ADDRT0, LSB); in umc_v6_1_query_error_address()
337 err_addr = REG_GET_FIELD(err_addr, MCA_UMC_UMC0_MCUMC_ADDRT0, ErrorAddr); in umc_v6_1_query_error_address()
338 err_addr &= ~((0x1ULL << lsb) - 1); in umc_v6_1_query_error_address()
341 retired_page = ADDR_OF_8KB_BLOCK(err_addr) | in umc_v6_1_query_error_address()
343 OFFSET_IN_256B_BLOCK(err_addr); in umc_v6_1_query_error_address()
345 amdgpu_umc_fill_error_record(err_data, err_addr, in umc_v6_1_query_error_address()
Damdgpu_umc.h116 uint64_t err_addr,
125 uint64_t err_addr, uint32_t ch_inst, uint32_t umc_inst);
Dumc_v6_7.h75 struct ras_err_data *err_data, uint64_t err_addr,
Dta_ras_if.h145 uint64_t err_addr; member
Damdgpu_ras.h592 struct eeprom_table_record *err_addr; member
/linux-6.12.1/drivers/edac/
Dhighbank_mc_edac.c58 u32 status, err_addr; in highbank_mc_err_handler() local
64 err_addr = readl(drvdata->mc_err_base + HB_DDR_ECC_U_ERR_ADDR); in highbank_mc_err_handler()
66 err_addr >> PAGE_SHIFT, in highbank_mc_err_handler()
67 err_addr & ~PAGE_MASK, 0, in highbank_mc_err_handler()
74 err_addr = readl(drvdata->mc_err_base + HB_DDR_ECC_C_ERR_ADDR); in highbank_mc_err_handler()
76 err_addr >> PAGE_SHIFT, in highbank_mc_err_handler()
77 err_addr & ~PAGE_MASK, syndrome, in highbank_mc_err_handler()
Dti_edac.c97 u32 err_addr; in ti_edac_isr() local
103 err_addr = ti_edac_readl(edac, EMIF_1B_ECC_ERR_ADDR_LOG); in ti_edac_isr()
107 err_addr >> PAGE_SHIFT, in ti_edac_isr()
108 err_addr & ~PAGE_MASK, -1, 0, 0, 0, in ti_edac_isr()
113 err_addr = ti_edac_readl(edac, EMIF_2B_ECC_ERR_ADDR_LOG); in ti_edac_isr()
115 err_addr >> PAGE_SHIFT, in ti_edac_isr()
116 err_addr & ~PAGE_MASK, -1, 0, 0, 0, in ti_edac_isr()
Dfsl_ddr_edac.c281 u64 err_addr; in fsl_mc_check() local
312 err_addr = make64( in fsl_mc_check()
315 pfn = err_addr >> PAGE_SHIFT; in fsl_mc_check()
351 fsl_mc_printk(mci, KERN_ERR, "Err addr: %#8.8llx\n", err_addr); in fsl_mc_check()
360 pfn, err_addr & ~PAGE_MASK, syndrome, in fsl_mc_check()
366 pfn, err_addr & ~PAGE_MASK, syndrome, in fsl_mc_check()
Dversal_edac.c367 unsigned long err_addr = 0; in convert_to_physical() local
373 err_addr |= (row & BIT(0)) << priv->row_bit[index]; in convert_to_physical()
378 err_addr |= (pinf.col & BIT(0)) << priv->col_bit[index]; in convert_to_physical()
383 err_addr |= (pinf.bank & BIT(0)) << priv->bank_bit[index]; in convert_to_physical()
388 err_addr |= (pinf.group & BIT(0)) << priv->grp_bit[index]; in convert_to_physical()
393 err_addr |= (pinf.rank & BIT(0)) << priv->rank_bit[index]; in convert_to_physical()
398 err_addr |= (pinf.lrank & BIT(0)) << priv->lrank_bit[index]; in convert_to_physical()
402 err_addr |= (priv->stat.channel & BIT(0)) << priv->ch_bit; in convert_to_physical()
404 return err_addr; in convert_to_physical()
Daltera_edac.c86 u32 status, err_count = 1, err_addr; in altr_sdram_mc_err_handler() local
92 &err_addr); in altr_sdram_mc_err_handler()
97 err_count, err_addr); in altr_sdram_mc_err_handler()
101 &err_addr); in altr_sdram_mc_err_handler()
106 err_addr >> PAGE_SHIFT, in altr_sdram_mc_err_handler()
107 err_addr & ~PAGE_MASK, 0, in altr_sdram_mc_err_handler()
2069 int err_addr, dberror; in s10_edac_dberr_handler() local
2088 err_addr = readl(ed->base + ALTR_S10_DERR_ADDRA_OFST); in s10_edac_dberr_handler()
2090 S10_SYSMGR_UE_ADDR_OFST, err_addr); in s10_edac_dberr_handler()
2093 ed->edac_dev_name, err_addr); in s10_edac_dberr_handler()
[all …]
Digen6_edac.c139 u64 (*err_addr)(u64 ecclog); member
533 .err_addr = rpl_p_err_addr,
863 if (res_cfg->err_addr) in ecclog_work_cb()
864 eaddr = res_cfg->err_addr(node->ecclog); in ecclog_work_cb()
/linux-6.12.1/arch/mips/sgi-ip22/
Dip28-berr.c55 unsigned long err_addr; member
66 cache_tags.err_addr = addr; in save_cache_tags()
175 printk(KERN_ERR "Cache tags @ %08x:\n", (unsigned)cache_tags.err_addr); in print_cache_tags()
178 scw = (cache_tags.err_addr >> 4) & 0x0fffff00; in print_cache_tags()
180 scb = cache_tags.err_addr & ((1 << 12) - 1) & ~((1 << 5) - 1); in print_cache_tags()
191 scb = cache_tags.err_addr & ((1 << 12) - 1) & ~((1 << 6) - 1); in print_cache_tags()
210 scw-1, scb, i & (unsigned)cache_tags.err_addr); in print_cache_tags()
/linux-6.12.1/drivers/memory/
Dfsl_ifc.c149 u32 err_axiid, err_srcid, status, cs_err, err_addr; in fsl_ifc_ctrl_irq() local
162 err_addr = ifc_in32(&ifc->cm_erattr1); in fsl_ifc_ctrl_irq()
182 err_addr); in fsl_ifc_ctrl_irq()
/linux-6.12.1/drivers/mtd/nand/raw/brcmnand/
Dbrcmnand.c880 u64 err_addr; in brcmnand_get_uncorrecc_addr() local
882 err_addr = brcmnand_read_reg(ctrl, BRCMNAND_UNCORR_ADDR); in brcmnand_get_uncorrecc_addr()
883 err_addr |= ((u64)(brcmnand_read_reg(ctrl, in brcmnand_get_uncorrecc_addr()
887 return err_addr; in brcmnand_get_uncorrecc_addr()
892 u64 err_addr; in brcmnand_get_correcc_addr() local
894 err_addr = brcmnand_read_reg(ctrl, BRCMNAND_CORR_ADDR); in brcmnand_get_correcc_addr()
895 err_addr |= ((u64)(brcmnand_read_reg(ctrl, in brcmnand_get_correcc_addr()
899 return err_addr; in brcmnand_get_correcc_addr()
1926 u64 err_addr = 0; in brcmnand_edu_trans() local
1932 err_addr = brcmnand_get_uncorrecc_addr(ctrl); in brcmnand_edu_trans()
[all …]
/linux-6.12.1/arch/powerpc/sysdev/
Dtsi108_pci.c87 u32 err_stat, err_addr, pci_stat; in tsi108_clear_pci_error() local
97 err_addr = tsi108_read_reg(TSI108_PB_OFFSET + TSI108_PB_AERR); in tsi108_clear_pci_error()
109 if ((err_addr & 0xFF000000) == pci_cfg_base) { in tsi108_clear_pci_error()
/linux-6.12.1/drivers/video/fbdev/
Darcfb.c482 goto err_addr; in arcfb_probe()
497 goto err_addr; in arcfb_probe()
529 err_addr: in arcfb_probe()
/linux-6.12.1/drivers/pci/endpoint/functions/
Dpci-epf-test.c439 goto err_addr; in pci_epf_test_read()
486 err_addr: in pci_epf_test_read()
523 goto err_addr; in pci_epf_test_write()
577 err_addr: in pci_epf_test_write()
/linux-6.12.1/drivers/mtd/nand/raw/
Ddenali.c481 u32 err_addr, err_cor_info; in denali_sw_ecc_fixup() local
490 err_addr = ioread32(denali->reg + ECC_ERROR_ADDRESS); in denali_sw_ecc_fixup()
491 err_sector = FIELD_GET(ECC_ERROR_ADDRESS__SECTOR, err_addr); in denali_sw_ecc_fixup()
492 err_byte = FIELD_GET(ECC_ERROR_ADDRESS__OFFSET, err_addr); in denali_sw_ecc_fixup()
/linux-6.12.1/drivers/scsi/bfa/
Dbfa_defs.h1163 u32 err_addr; /* error address reg */ member
/linux-6.12.1/drivers/infiniband/core/
Ddevice.c2897 goto err_addr; in ib_core_init()
2938 err_addr: in ib_core_init()

12