aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorMichael Kelley <[email protected]>2022-03-24 09:14:52 -0700
committerWei Liu <[email protected]>2022-03-29 12:12:50 +0000
commit8d21732475c637c7efcdb91dc927a4c594e97898 (patch)
tree1ac06132324efd4ec5d0f39c0de24ec9687d3995 /lib/mpi/mpiutil.c
parent37200078ed6aa2ac3c88a01a64996133dccfdd34 (diff)
PCI: hv: Propagate coherence from VMbus device to PCI device
PCI pass-thru devices in a Hyper-V VM are represented as a VMBus device and as a PCI device. The coherence of the VMbus device is set based on the VMbus node in ACPI, but the PCI device has no ACPI node and defaults to not hardware coherent. This results in extra software coherence management overhead on ARM64 when devices are hardware coherent. Fix this by setting up the PCI host bus so that normal PCI mechanisms will propagate the coherence of the VMbus device to the PCI device. There's no effect on x86/x64 where devices are always hardware coherent. Signed-off-by: Michael Kelley <[email protected]> Acked-by: Boqun Feng <[email protected]> Acked-by: Robin Murphy <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Wei Liu <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions