Home
last modified time | relevance | path

Searched refs:retired_page (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Dumc_v12_0.c181 uint64_t soc_pa, retired_page, column, err_addr; in umc_v12_0_convert_error_address() local
207 retired_page = soc_pa | ((column & 0x3) << UMC_V12_0_PA_C2_BIT); in umc_v12_0_convert_error_address()
208 retired_page |= (((column & 0x4) >> 2) << UMC_V12_0_PA_C4_BIT); in umc_v12_0_convert_error_address()
214 retired_page, row, col, bank, channel_index); in umc_v12_0_convert_error_address()
216 retired_page, channel_index, addr_in->ma.umc_inst); in umc_v12_0_convert_error_address()
219 retired_page ^= (0x1ULL << UMC_V12_0_PA_R13_BIT); in umc_v12_0_convert_error_address()
222 retired_page, row_xor, col, bank, channel_index); in umc_v12_0_convert_error_address()
224 retired_page, channel_index, addr_in->ma.umc_inst); in umc_v12_0_convert_error_address()
233 uint64_t soc_pa, retired_page, column; in umc_v12_0_dump_addr_info() local
249 retired_page = soc_pa | ((column & 0x3) << UMC_V12_0_PA_C2_BIT); in umc_v12_0_dump_addr_info()
[all …]
Dumc_v6_7.c192 uint64_t soc_pa, retired_page, column; in umc_v6_7_convert_error_address() local
209 retired_page = soc_pa | (column << UMC_V6_7_PA_C2_BIT); in umc_v6_7_convert_error_address()
210 dev_info(adev->dev, "Error Address(PA): 0x%llx\n", retired_page); in umc_v6_7_convert_error_address()
212 retired_page, channel_index, umc_inst); in umc_v6_7_convert_error_address()
215 retired_page ^= (0x1ULL << UMC_V6_7_PA_R14_BIT); in umc_v6_7_convert_error_address()
216 dev_info(adev->dev, "Error Address(PA): 0x%llx\n", retired_page); in umc_v6_7_convert_error_address()
218 retired_page, channel_index, umc_inst); in umc_v6_7_convert_error_address()
Damdgpu_virt.c377 bp = data->bps[i].retired_page; in amdgpu_virt_ras_reserve_bps()
402 uint64_t retired_page) in amdgpu_virt_ras_check_bad_page() argument
412 if (retired_page == data->bps[i].retired_page) in amdgpu_virt_ras_check_bad_page()
422 uint64_t retired_page; in amdgpu_virt_add_bad_page() local
436 retired_page = *(uint64_t *)(vram_usage_va + in amdgpu_virt_add_bad_page()
438 bp.retired_page = retired_page; in amdgpu_virt_add_bad_page()
440 if (amdgpu_virt_ras_check_bad_page(adev, retired_page)) in amdgpu_virt_add_bad_page()
Dumc_v6_1.c302 uint64_t mc_umc_status, err_addr, retired_page, mc_umc_addrt0; in umc_v6_1_query_error_address() local
341 retired_page = ADDR_OF_8KB_BLOCK(err_addr) | in umc_v6_1_query_error_address()
346 retired_page, channel_index, umc_inst); in umc_v6_1_query_error_address()
Dumc_v8_7.c115 uint64_t retired_page; in umc_v8_7_convert_error_address() local
122 retired_page = ADDR_OF_4KB_BLOCK(err_addr) | in umc_v8_7_convert_error_address()
127 retired_page, channel_index, umc_inst); in umc_v8_7_convert_error_address()
Damdgpu_umc.c359 uint64_t retired_page, in amdgpu_umc_fill_error_record() argument
374 err_rec->retired_page = retired_page >> AMDGPU_GPU_PAGE_SHIFT; in amdgpu_umc_fill_error_record()
Damdgpu_ras_eeprom.h118 uint64_t retired_page; member
Damdgpu_umc.h117 uint64_t retired_page,
Damdgpu_ras_eeprom.c512 tmp = cpu_to_le64((record->retired_page & 0xffffffffffff)); in __encode_table_record_to_buf()
541 record->retired_page = (le64_to_cpu(tmp) & 0xffffffffffff); in __decode_table_record_from_buf()
1188 record.retired_page); in amdgpu_ras_debugfs_table_read()
Damdgpu_ras.c2500 .bp = data->bps[i].retired_page, in amdgpu_ras_badpages_read()
2505 data->bps[i].retired_page << AMDGPU_GPU_PAGE_SHIFT); in amdgpu_ras_badpages_read()
2683 bps[i].retired_page << AMDGPU_GPU_PAGE_SHIFT)) in amdgpu_ras_add_bad_pages()
2692 amdgpu_ras_reserve_page(adev, bps[i].retired_page); in amdgpu_ras_add_bad_pages()
2785 if (addr == data->bps[i].retired_page) in amdgpu_ras_check_bad_page_unlock()