diff options
author | Tao Zhou <tao.zhou1@amd.com> | 2023-02-10 16:33:58 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-02-23 17:35:59 -0500 |
commit | 4d33e0f1340b3d08002ff8f9bcbf256cfdc4f3ba (patch) | |
tree | 30a86b9dae275c5c295ff3acf5dd2a534e6ac395 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
parent | e69c785723ed88a930d332e13bc9140dce48f359 (diff) | |
download | lwn-4d33e0f1340b3d08002ff8f9bcbf256cfdc4f3ba.tar.gz lwn-4d33e0f1340b3d08002ff8f9bcbf256cfdc4f3ba.zip |
drm/amdgpu: exclude duplicate pages from UMC RAS UE count
If a UMC bad page is reserved but not freed by an application, the
application may trigger uncorrectable error repeatly by accessing the page.
v2: add specific function to do the check.
v3: remove duplicate pages, calculate new added bad page number.
v4: reuse save_bad_pages to calculate new added bad page number.
Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Stanley.Yang <Stanley.Yang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions