Use nvme_ctrlr_poll instead of nvme_ctrlr_intx_handler since it is
authorimp <imp@FreeBSD.org>
Sun, 15 Oct 2017 16:19:09 +0000 (16:19 +0000)
committerimp <imp@FreeBSD.org>
Sun, 15 Oct 2017 16:19:09 +0000 (16:19 +0000)
commit20da7e767b479c0aba88cb66493a274b036d665d
tree7efda8d88aeda59fb6cd353b42e4ad2d8759160d
parent6feeaa6177c5004b295bf2c581963e25cdd772e0
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)
sys/dev/nvme/nvme_sim.c