diff options
author | Roger Pau Monne <roger.pau@citrix.com> | 2025-02-19 12:20:56 +0300 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2025-03-21 10:57:52 +0300 |
commit | 6c4d5aadf5df31ea0ac025980670eee9beaf466b (patch) | |
tree | 1941cb7551d3c4600ca58b3d50b4eeae84fda0c4 /tools/perf/scripts/python/libxed.py | |
parent | 5ccf1b8ae76ddf348e02a0d1564ff9baf8b6c415 (diff) | |
download | linux-6c4d5aadf5df31ea0ac025980670eee9beaf466b.tar.xz |
PCI: vmd: Disable MSI remapping bypass under Xen
MSI remapping bypass (directly configuring MSI entries for devices on the
VMD bus) won't work under Xen, as Xen is not aware of devices in such bus,
and hence cannot configure the entries using the pIRQ interface in the PV
case, and in the PVH case traps won't be setup for MSI entries for such
devices.
Until Xen is aware of devices in the VMD bus prevent the
VMD_FEAT_CAN_BYPASS_MSI_REMAP capability from being used when running as
any kind of Xen guest.
The MSI remapping bypass is an optional feature of VMD bridges, and hence
when running under Xen it will be masked and devices will be forced to
redirect its interrupts from the VMD bridge. That mode of operation must
always be supported by VMD bridges and works when Xen is not aware of
devices behind the VMD bridge.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Message-ID: <20250219092059.90850-3-roger.pau@citrix.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions