]> www.infradead.org Git - users/willy/pagecache.git/commit
vfio/pci: Remove shadow ROM specific code paths
authorYunxiang Li <Yunxiang.Li@amd.com>
Thu, 2 Jan 2025 18:50:12 +0000 (13:50 -0500)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 6 Jan 2025 15:09:54 +0000 (08:09 -0700)
commitc5a8b5d740ef3dde319562d2e969888b4b8dfdd8
tree88ef201f6d012902388c97e00e7472bc512cb459
parentb44a06bd28f2732393c2019e3ae0e593ef76c867
vfio/pci: Remove shadow ROM specific code paths

After commit 0c0e0736acad ("PCI: Set ROM shadow location in arch code,
not in PCI core"), the shadow ROM works the same as regular ROM BARs so
these code paths are no longer needed.

Signed-off-by: Yunxiang Li <Yunxiang.Li@amd.com>
Link: https://lore.kernel.org/r/20250102185013.15082-2-Yunxiang.Li@amd.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/pci/vfio_pci_config.c
drivers/vfio/pci/vfio_pci_core.c
drivers/vfio/pci/vfio_pci_rdwr.c