Use nvme_ctrlr_poll instead of nvme_ctrlr_intx_handler since it is

more general and doesn't try to access registers that may be undefined
when the card is in MSIX mode.

This change, along with r324630, r324631, r324632, makes nda crash
dumps work again. Previously, they only worked on CPU 0 when the stack
garbage was just so.

Sponsored by: Netflix
Suggested by: scottl@ (who provided earlier version of the patch)
This commit is contained in:
imp 2017-10-15 16:19:09 +00:00
parent 6feeaa6177
commit 20da7e767b

View File

@ -246,7 +246,7 @@ static void
nvme_sim_poll(struct cam_sim *sim)
{
nvme_ctrlr_intx_handler(sim2ctrlr(sim));
nvme_ctrlr_poll(sim2ctrlr(sim));
}
static void *