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 address check structure

Add address check command and data 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
2480d3bf 6fa01b43

+15
+15
drivers/gpu/drm/amd/ras/rascore/ras_cmd.h
··· 77 77 RAS_CMD__GET_BATCH_TRACE_RECORD, 78 78 RAS_CMD__GET_ALL_BLOCK_ECC_STATUS, 79 79 RAS_CMD__SET_CMD_AUTO_UPDATE, 80 + RAS_CMD__CHECK_ADDRESS_VALIDITY, 80 81 RAS_CMD__SUPPORTED_MAX = RAS_CMD_ID_COMMON_END, 81 82 }; 82 83 ··· 426 425 struct ras_cmd_auto_update_rsp { 427 426 uint32_t version; 428 427 uint32_t reserved[4]; 428 + }; 429 + 430 + struct ras_cmd_address_check_req { 431 + struct ras_cmd_dev_handle dev; 432 + uint64_t address; 433 + uint32_t flags; 434 + uint32_t vf_idx; 435 + uint32_t reserved[4]; 436 + }; 437 + 438 + struct ras_cmd_address_check_rsp { 439 + uint32_t version; 440 + uint32_t result; 441 + uint32_t reserved[6]; 429 442 }; 430 443 431 444 struct ras_cmd_blocks_ecc_req {