diff options
| author | Matt Evans <mattev@meta.com> | 2026-05-11 17:58:25 +0300 |
|---|---|---|
| committer | Alex Williamson <alex@shazbot.org> | 2026-05-20 20:54:10 +0300 |
| commit | 859dc0f6253b0d65fd4d79e29aa29b3d939c51a9 (patch) | |
| tree | 6d6ec6d99d40f281dce7fd1b46ae986cd2a19870 /include/linux/stacktrace.h | |
| parent | a6e4e726600df4ed28b06892c76fb2dd5a5de2e9 (diff) | |
| download | linux-859dc0f6253b0d65fd4d79e29aa29b3d939c51a9.tar.xz | |
vfio/pci: Replace vfio_pci_core_setup_barmap() with vfio_pci_core_get_iomap()
Since "vfio/pci: Set up barmap in vfio_pci_core_enable()", the
resource request and iomap for the BARs was performed early, and
vfio_pci_core_setup_barmap() just checks those actions succeeded.
Move this logic to a new helper that checks success and returns the
iomap address, replacing the various bare vdev->barmap[] lookups.
This maintains the error behaviour of the previous on-demand
vfio_pci_core_setup_barmap() scheme.
Signed-off-by: Matt Evans <mattev@meta.com>
Link: https://lore.kernel.org/r/20260511145829.2993601-4-mattev@meta.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions
