Skip to content

Commit b5cf198

Browse files
antti-jbjorn-helgaas
authored andcommitted
PCI: Mark TI C667X to avoid bus reset
Some TI KeyStone C667X devices do not support bus/hot reset. The PCIESS automatically disables LTSSM when Secondary Bus Reset is received and device stops working. Prevent bus reset for these devices. With this change, the device can be assigned to VMs with VFIO, but it will leak state between VMs. Reference: https://e2e.ti.com/support/processors/f/791/t/954382 Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Antti Järvinen <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Kishon Vijay Abraham I <[email protected]> Cc: [email protected]
1 parent a512360 commit b5cf198

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

drivers/pci/quirks.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3566,6 +3566,16 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATHEROS, 0x0034, quirk_no_bus_reset);
35663566
*/
35673567
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_CAVIUM, 0xa100, quirk_no_bus_reset);
35683568

3569+
/*
3570+
* Some TI KeyStone C667X devices do not support bus/hot reset. The PCIESS
3571+
* automatically disables LTSSM when Secondary Bus Reset is received and
3572+
* the device stops working. Prevent bus reset for these devices. With
3573+
* this change, the device can be assigned to VMs with VFIO, but it will
3574+
* leak state between VMs. Reference
3575+
* https://e2e.ti.com/support/processors/f/791/t/954382
3576+
*/
3577+
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_TI, 0xb005, quirk_no_bus_reset);
3578+
35693579
static void quirk_no_pm_reset(struct pci_dev *dev)
35703580
{
35713581
/*

0 commit comments

Comments
 (0)