PCI: switchtec: Add support for PCIe Gen5 devices
authorKelvin Cao <kelvin.cao@microchip.com>
Sat, 24 Jun 2023 00:00:03 +0000 (17:00 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 9 Aug 2023 19:16:44 +0000 (14:16 -0500)
commit0fb53e64705ae0fabd9593102e0f0e6812968802
tree8747ff6b15a552f14e521d23153df84c5d27ed89
parent846691f5483d61259db2f4d6a3dce8b98d518794
PCI: switchtec: Add support for PCIe Gen5 devices

Advertise support of Gen5 devices in the driver's device ID table and
add the same IDs for the switchtec quirks. Also update driver code to
accommodate them.

Link: https://lore.kernel.org/r/20230624000003.2315364-3-kelvin.cao@microchip.com
Signed-off-by: Kelvin Cao <kelvin.cao@microchip.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
drivers/pci/quirks.c
drivers/pci/switch/switchtec.c
include/linux/switchtec.h