|
@@ -36,7 +36,8 @@ static bool cik_event_interrupt_isr(struct kfd_dev *dev,
|
|
|
/* Do not process in ISR, just request it to be forwarded to WQ. */
|
|
|
return (pasid != 0) &&
|
|
|
(ihre->source_id == CIK_INTSRC_CP_END_OF_PIPE ||
|
|
|
- ihre->source_id == CIK_INTSRC_SQ_INTERRUPT_MSG);
|
|
|
+ ihre->source_id == CIK_INTSRC_SQ_INTERRUPT_MSG ||
|
|
|
+ ihre->source_id == CIK_INTSRC_CP_BAD_OPCODE);
|
|
|
}
|
|
|
|
|
|
static void cik_event_interrupt_wq(struct kfd_dev *dev,
|
|
@@ -55,6 +56,8 @@ static void cik_event_interrupt_wq(struct kfd_dev *dev,
|
|
|
kfd_signal_event_interrupt(pasid, 0, 0);
|
|
|
else if (ihre->source_id == CIK_INTSRC_SQ_INTERRUPT_MSG)
|
|
|
kfd_signal_event_interrupt(pasid, ihre->data & 0xFF, 8);
|
|
|
+ else if (ihre->source_id == CIK_INTSRC_CP_BAD_OPCODE)
|
|
|
+ kfd_signal_hw_exception_event(pasid);
|
|
|
}
|
|
|
|
|
|
const struct kfd_event_interrupt_class event_interrupt_class_cik = {
|