Home
last modified time | relevance | path

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

/linux-6.6.21/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 …]
Damdgpu_umc.c28 struct ras_err_data *err_data, uint64_t err_addr, in amdgpu_umc_convert_error_address() argument
34 err_data, err_addr, ch_inst, umc_inst); in amdgpu_umc_convert_error_address()
46 uint64_t err_addr, uint32_t ch_inst, uint32_t umc_inst) in amdgpu_umc_page_retirement_mca() argument
51 err_data.err_addr = in amdgpu_umc_page_retirement_mca()
54 if (!err_data.err_addr) { in amdgpu_umc_page_retirement_mca()
63 ret = amdgpu_umc_convert_error_address(adev, &err_data, err_addr, in amdgpu_umc_page_retirement_mca()
69 amdgpu_ras_add_bad_pages(adev, err_data.err_addr, in amdgpu_umc_page_retirement_mca()
75 kfree(err_data.err_addr); in amdgpu_umc_page_retirement_mca()
98 err_data->err_addr = in amdgpu_umc_do_page_retirement()
105 if(!err_data->err_addr) in amdgpu_umc_do_page_retirement()
[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 …]
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()
408 uint64_t mc_umc_status, err_addr; in umc_v8_10_ecc_info_query_error_address() local
422 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.h103 uint64_t err_addr,
112 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,
Damdgpu_ras.h447 struct eeprom_table_record *err_addr; member
Damdgpu_ras.c174 err_data.err_addr = &err_rec; in amdgpu_reserve_page_direct()
178 amdgpu_ras_add_bad_pages(adev, err_data.err_addr, in amdgpu_reserve_page_direct()
/linux-6.6.21/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()
Daltera_edac.c85 u32 status, err_count = 1, err_addr; in altr_sdram_mc_err_handler() local
91 &err_addr); in altr_sdram_mc_err_handler()
96 err_count, err_addr); in altr_sdram_mc_err_handler()
100 &err_addr); in altr_sdram_mc_err_handler()
105 err_addr >> PAGE_SHIFT, in altr_sdram_mc_err_handler()
106 err_addr & ~PAGE_MASK, 0, in altr_sdram_mc_err_handler()
2080 int err_addr, dberror; in s10_edac_dberr_handler() local
2099 err_addr = readl(ed->base + ALTR_S10_DERR_ADDRA_OFST); in s10_edac_dberr_handler()
2101 S10_SYSMGR_UE_ADDR_OFST, err_addr); in s10_edac_dberr_handler()
2104 ed->edac_dev_name, err_addr); in s10_edac_dberr_handler()
[all …]
/linux-6.6.21/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.6.21/drivers/memory/
Dfsl_ifc.c151 u32 err_axiid, err_srcid, status, cs_err, err_addr; in fsl_ifc_ctrl_irq() local
164 err_addr = ifc_in32(&ifc->cm_erattr1); in fsl_ifc_ctrl_irq()
184 err_addr); in fsl_ifc_ctrl_irq()
/linux-6.6.21/drivers/mtd/nand/raw/brcmnand/
Dbrcmnand.c864 u64 err_addr; in brcmnand_get_uncorrecc_addr() local
866 err_addr = brcmnand_read_reg(ctrl, BRCMNAND_UNCORR_ADDR); in brcmnand_get_uncorrecc_addr()
867 err_addr |= ((u64)(brcmnand_read_reg(ctrl, in brcmnand_get_uncorrecc_addr()
871 return err_addr; in brcmnand_get_uncorrecc_addr()
876 u64 err_addr; in brcmnand_get_correcc_addr() local
878 err_addr = brcmnand_read_reg(ctrl, BRCMNAND_CORR_ADDR); in brcmnand_get_correcc_addr()
879 err_addr |= ((u64)(brcmnand_read_reg(ctrl, in brcmnand_get_correcc_addr()
883 return err_addr; in brcmnand_get_correcc_addr()
2036 u64 err_addr = 0; in brcmnand_edu_trans() local
2042 err_addr = brcmnand_get_uncorrecc_addr(ctrl); in brcmnand_edu_trans()
[all …]
/linux-6.6.21/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.6.21/drivers/video/fbdev/
Darcfb.c542 goto err_addr; in arcfb_probe()
557 goto err_addr; in arcfb_probe()
589 err_addr: in arcfb_probe()
/linux-6.6.21/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.6.21/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.6.21/drivers/scsi/bfa/
Dbfa_defs.h1163 u32 err_addr; /* error address reg */ member
Dbfa_ioc.c4790 res->err_addr = swab32(res->err_addr); in bfa_diag_memtest_done()
4796 bfa_trc(diag, res->err_addr); in bfa_diag_memtest_done()
/linux-6.6.21/drivers/infiniband/core/
Ddevice.c2797 goto err_addr; in ib_core_init()
2838 err_addr: in ib_core_init()
/linux-6.6.21/drivers/accel/habanalabs/gaudi/
Dgaudi.c6720 u64 err_addr, err_word = 0; in gaudi_extract_ecc_info() local
6729 err_addr = params->block_address + GAUDI_ECC_DERR0_OFFSET; in gaudi_extract_ecc_info()
6731 err_addr = params->block_address + GAUDI_ECC_SERR0_OFFSET; in gaudi_extract_ecc_info()
6738 err_addr += i * 4; in gaudi_extract_ecc_info()
6739 err_word = RREG32(err_addr); in gaudi_extract_ecc_info()