aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorFrancisco Munoz <[email protected]>2022-12-05 17:16:37 -0700
committerLorenzo Pieralisi <[email protected]>2022-12-06 11:45:25 +0100
commit0a584655ef89541dae4d48d2c523b1480ae80284 (patch)
tree16a9ba2b36951dc16b27d2b3a2d9f4c2b5ba814a /lib/mpi/mpi-sub-ui.c
parentd899aa668498c07ff217b666ae9712990306e682 (diff)
PCI: vmd: Fix secondary bus reset for Intel bridges
The reset was never applied in the current implementation because Intel Bridges owned by VMD are parentless. Internally, pci_reset_bus() applies a reset to the parent of the PCI device supplied as argument, but in this case it failed because there wasn't a parent. In more detail, this change allows the VMD driver to enumerate NVMe devices in pass-through configurations when guest reboots are performed. There was an attempted to fix this, but later we discovered that the code inside pci_reset_bus() wasn’t triggering secondary bus resets. Therefore, we updated the parameters passed to it, and now NVMe SSDs attached to VMD bridges are properly enumerated in VT-d pass-through scenarios. Link: https://lore.kernel.org/r/[email protected] Fixes: 6aab5622296b ("PCI: vmd: Clean up domain before enumeration") Signed-off-by: Francisco Munoz <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Reviewed-by: Nirmal Patel <[email protected]> Reviewed-by: Jonathan Derrick <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions