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.