svn commit: r328702 - stable/11/sys/dev/nvme
Alexander Motin
mav at FreeBSD.org
Thu Feb 1 19:06:43 UTC 2018
Author: mav
Date: Thu Feb 1 19:06:42 2018
New Revision: 328702
URL: https://svnweb.freebsd.org/changeset/base/328702
Log:
MFC r324634 (by imp):
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.
Modified:
stable/11/sys/dev/nvme/nvme_sim.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/dev/nvme/nvme_sim.c
==============================================================================
--- stable/11/sys/dev/nvme/nvme_sim.c Thu Feb 1 19:05:48 2018 (r328701)
+++ stable/11/sys/dev/nvme/nvme_sim.c Thu Feb 1 19:06:42 2018 (r328702)
@@ -254,7 +254,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-stable
mailing list