| bf65973e | 26-Jun-2026 |
Stanley.Yang <Stanley.Yang@amd.com> |
drm/amdgpu/ras: only check bad page for address-based UMC injection
UMC error injection on MI300 series is dispatched by the RAS TA using the injection method; only the "coherent" methods are addres
drm/amdgpu/ras: only check bad page for address-based UMC injection
UMC error injection on MI300 series is dispatched by the RAS TA using the injection method; only the "coherent" methods are address based, the single-shot/persistent/ac-parity ones ignore the address.
The debugfs control path validated the injection address against the bad page list for every UMC injection. On uniras (SMU v13+) devices the address is now validated by the ras_mgr inject handler, so the legacy debugfs bad page check only runs on the legacy RAS path; other ASICs keep injecting by address.
In the ras_mgr handler an injection is treated as non address-based only when userspace passes the U64_MAX sentinel address and the method is a non-address method. In that case the address is cleared to 0 and the bad page / range validation is skipped; otherwise the injection address is validated as before.
Signed-off-by: Stanley.Yang <Stanley.Yang@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
| 0b57f138 | 26-May-2026 |
Stanley.Yang <Stanley.Yang@amd.com> |
drm/amd/ras: Remove redundant error log
amdgpu_ras_inject_error() currently prints an extra "ras inject block %u failed" message, remove the redundant log.
Signed-off-by: Stanley.Yang <Stanley.Yang
drm/amd/ras: Remove redundant error log
amdgpu_ras_inject_error() currently prints an extra "ras inject block %u failed" message, remove the redundant log.
Signed-off-by: Stanley.Yang <Stanley.Yang@amd.com> Reviewed-by: YiPeng Chai <YiPeng.Chai@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|