diff options
| author | 2025-07-31 16:11:41 -0500 | |
|---|---|---|
| committer | 2025-07-31 16:11:41 -0500 | |
| commit | fc9a7d38d5f44cebd0964fdad67533ad1240cfe3 (patch) | |
| tree | 5bbab82b6b62515690a0a6480057a665fc0e612d /include/linux/hypervisor.h | |
| parent | Merge branch 'pci/boot-display' (diff) | |
| parent | PCI: Support Immediate Readiness on devices without PM capabilities (diff) | |
| download | wireguard-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.h | 3 |
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(); } |
