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:
Warner Losh 2017-10-15 16:19:09 +00:00
parent bb1c7be429
commit 29431e54b9

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 *