PCI: Mark TI C667X to avoid bus reset
authorAntti Järvinen <antti.jarvinen@gmail.com>
Mon, 15 Mar 2021 10:26:06 +0000 (10:26 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 18 Jun 2021 15:32:35 +0000 (10:32 -0500)
commitb5cf198e74a91073d12839a3e2db99994a39995d
tree5500035f787a30f717fa667d6db8b4f16442b6cd
parenta512360f45c930e14a262056e5f742797bc5d3f2
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/20210315102606.17153-1-antti.jarvinen@gmail.com
Signed-off-by: Antti Järvinen <antti.jarvinen@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Kishon Vijay Abraham I <kishon@ti.com>
Cc: stable@vger.kernel.org
drivers/pci/quirks.c