ixl: Set critical-error state bits independently

ixl_set_state() takes a bit index, not a bit mask.  ORing the
reset request and critical error indices produced the global reset
index, so a critical interrupt could mask its cause without scheduling
the intended PF reset.

Set both state bits explicitly.

MFC after:	2 weeks
Sponsored by:	BBOX.io
This commit is contained in:
Kevin Bowling committed 2026-09-11 13:46:33 -07:00
1 parent 99eaf07a3c
commit 372803d65d
1 file changed
+2 -2
+2 -2
View File
@@ -201,8 +201,8 @@ ixl_msix_adminq(void *arg)
/* Checks against the conditions above */
if (reg & IXL_ICR0_CRIT_ERR_MASK) {
mask &= ~IXL_ICR0_CRIT_ERR_MASK;
ixl_set_state(&pf->state,
IXL_STATE_PF_RESET_REQ | IXL_STATE_PF_CRIT_ERR);
ixl_set_state(&pf->state, IXL_STATE_PF_RESET_REQ);
ixl_set_state(&pf->state, IXL_STATE_PF_CRIT_ERR);
do_task = TRUE;
}