drm/amdgpu: add PSP RAS address query command
authorTao Zhou <tao.zhou1@amd.com>
Fri, 26 Jan 2024 10:44:43 +0000 (18:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Jan 2024 19:05:19 +0000 (14:05 -0500)
commita1eac5bd912767e385a2b590d3e21cbe063a5537
treeb6c64d5a342c6cdc5b746ba21ad3be9f74c08c87
parente4d65510e87e17f93e776a61c72f7227841e5833
drm/amdgpu: add PSP RAS address query command

Convert mca address to physical address or vice versa via RAS TA.

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
drivers/gpu/drm/amd/amdgpu/ta_ras_if.h