svn commit: r324634 - head/sys/dev/nvme
Warner Losh
imp at FreeBSD.org
Sun Oct 15 16:19:10 UTC 2017
Author: imp
Date: Sun Oct 15 16:19:09 2017
New Revision: 324634
URL: https://svnweb.freebsd.org/changeset/base/324634
Log:
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)
Modified:
head/sys/dev/nvme/nvme_sim.c
Modified: head/sys/dev/nvme/nvme_sim.c
==============================================================================
--- head/sys/dev/nvme/nvme_sim.c Sun Oct 15 16:18:08 2017 (r324633)
+++ head/sys/dev/nvme/nvme_sim.c Sun Oct 15 16:19:09 2017 (r324634)
@@ -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 *
More information about the svn-src-all
mailing list