[PATCH] drm/amdkfd: fix shift out of bounds about gpu debug
Jay Cornwall
jay.cornwall at amd.com
Fri Mar 1 15:38:09 UTC 2024
On 3/1/2024 00:35, Kim, Jonathan wrote:
> The range check should probably flag any exception prefixed as EC_QUEUE_PACKET_* as valid defined in kfd_dbg_trap_exception_code:
> https://github.com/torvalds/linux/blob/master/include/uapi/linux/kfd_ioctl.h#L857
> + Jay to confirm this is the correct exception range for CP_BAD_OPCODE
Yes, that covers the full range of possible values.
More information about the amd-gfx
mailing list