Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amd/ras: Add convert retired address structure

Add convert retired address command and structure
for uniras.

Signed-off-by: Jinzhou Su <jinzhou.su@amd.com>
Reviewed-by: YiPeng Chai <YiPeng.Chai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Jinzhou Su and committed by
Alex Deucher
186eb92a 2480d3bf

+14
+14
drivers/gpu/drm/amd/ras/rascore/ras_cmd.h
··· 78 78 RAS_CMD__GET_ALL_BLOCK_ECC_STATUS, 79 79 RAS_CMD__SET_CMD_AUTO_UPDATE, 80 80 RAS_CMD__CHECK_ADDRESS_VALIDITY, 81 + RAS_CMD__CONVERT_RETIRED_ADDRESS, 81 82 RAS_CMD__SUPPORTED_MAX = RAS_CMD_ID_COMMON_END, 82 83 }; 83 84 ··· 441 440 uint32_t version; 442 441 uint32_t result; 443 442 uint32_t reserved[6]; 443 + }; 444 + 445 + struct ras_cmd_convert_retired_address_req { 446 + struct ras_cmd_dev_handle dev; 447 + uint64_t address; 448 + uint32_t reserved[6]; 449 + }; 450 + 451 + #define RAS_CMD_MAX_RETIRED_ADDR_COUNT 32 452 + struct ras_cmd_convert_retired_address_rsp { 453 + uint32_t version; 454 + uint32_t retired_count; 455 + uint64_t retired_addr[RAS_CMD_MAX_RETIRED_ADDR_COUNT]; 444 456 }; 445 457 446 458 struct ras_cmd_blocks_ecc_req {