aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/hypervisor.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2025-07-31 16:11:41 -0500
committerBjorn Helgaas <bhelgaas@google.com>2025-07-31 16:11:41 -0500
commitfc9a7d38d5f44cebd0964fdad67533ad1240cfe3 (patch)
tree5bbab82b6b62515690a0a6480057a665fc0e612d /include/linux/hypervisor.h
parentMerge branch 'pci/boot-display' (diff)
parentPCI: Support Immediate Readiness on devices without PM capabilities (diff)
downloadwireguard-linux-fc9a7d38d5f44cebd0964fdad67533ad1240cfe3.tar.xz
wireguard-linux-fc9a7d38d5f44cebd0964fdad67533ad1240cfe3.zip
Merge branch 'pci/enumeration'
- Allow 'isolated PCI functions' (multi-function devices without a function 0) for LoongArch, similar to s390 and jailhouse (Huacai Chen) - Mask out unrelated bits in PCIE_LNKCAP_SLS2SPEED() and PCIE_LNKCTL2_TLS2SPEED(), which makes them more robust and fixes a WARN_ON_ONCE() in pcie_set_target_speed() (Jiwei Sun) - Read Link Control 2 again when retraining a link after a training failure so we try to increase the link speed (Jiwei Sun) - Allow built-in drivers, not just modular drivers, to use async initial probing (Lukas Wunner) - Support Immediate Readiness even on devices with no PM Capability (Sean Christopherson) * pci/enumeration: PCI: Support Immediate Readiness on devices without PM capabilities PCI: Allow built-in drivers to use async initial probing PCI: Adjust the position of reading the Link Control 2 register PCI: Fix link speed calculation on retrain failure PCI: Extend isolated function probing to LoongArch
Diffstat (limited to 'include/linux/hypervisor.h')
-rw-r--r--include/linux/hypervisor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/hypervisor.h b/include/linux/hypervisor.h
index 9efbc54e35e5..be5417303ecf 100644
--- a/include/linux/hypervisor.h
+++ b/include/linux/hypervisor.h
@@ -37,6 +37,9 @@ static inline bool hypervisor_isolated_pci_functions(void)
if (IS_ENABLED(CONFIG_S390))
return true;
+ if (IS_ENABLED(CONFIG_LOONGARCH))
+ return true;
+
return jailhouse_paravirt();
}