Commit 4f7ff70
committed
Merge tag 'kvm-x86-misc-6.14' of https://github.com/kvm-x86/linux into HEAD
KVM x86 misc changes for 6.14:
- Overhaul KVM's CPUID feature infrastructure to track all vCPU capabilities
instead of just those where KVM needs to manage state and/or explicitly
enable the feature in hardware. Along the way, refactor the code to make
it easier to add features, and to make it more self-documenting how KVM
is handling each feature.
- Rework KVM's handling of VM-Exits during event vectoring; this plugs holes
where KVM unintentionally puts the vCPU into infinite loops in some scenarios
(e.g. if emulation is triggered by the exit), and brings parity between VMX
and SVM.
- Add pending request and interrupt injection information to the kvm_exit and
kvm_entry tracepoints respectively.
- Fix a relatively benign flaw where KVM would end up redoing RDPKRU when
loading guest/host PKRU, due to a refactoring of the kernel helpers that
didn't account for KVM's pre-checking of the need to do WRPKRU.35 files changed
Lines changed: 1189 additions & 721 deletions
File tree
- Documentation/virt/kvm
- arch/x86
- include/asm
- kvm
- mmu
- svm
- vmx
- include/uapi/linux
- tools/testing/selftests/kvm
- include/x86
- x86
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1825 | 1825 | | |
1826 | 1826 | | |
1827 | 1827 | | |
1828 | | - | |
1829 | | - | |
1830 | | - | |
| 1828 | + | |
| 1829 | + | |
| 1830 | + | |
1831 | 1831 | | |
1832 | 1832 | | |
1833 | 1833 | | |
1834 | 1834 | | |
1835 | 1835 | | |
1836 | 1836 | | |
| 1837 | + | |
| 1838 | + | |
| 1839 | + | |
1837 | 1840 | | |
1838 | 1841 | | |
1839 | 1842 | | |
| |||
7673 | 7676 | | |
7674 | 7677 | | |
7675 | 7678 | | |
| 7679 | + | |
7676 | 7680 | | |
7677 | 7681 | | |
7678 | 7682 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
739 | 739 | | |
740 | 740 | | |
741 | 741 | | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
742 | 759 | | |
743 | 760 | | |
744 | 761 | | |
| |||
854 | 871 | | |
855 | 872 | | |
856 | 873 | | |
857 | | - | |
858 | 874 | | |
859 | 875 | | |
860 | 876 | | |
861 | | - | |
862 | | - | |
863 | | - | |
864 | | - | |
865 | | - | |
866 | | - | |
867 | | - | |
868 | | - | |
869 | | - | |
870 | | - | |
871 | | - | |
872 | | - | |
873 | | - | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
874 | 889 | | |
875 | | - | |
876 | | - | |
877 | | - | |
| 890 | + | |
878 | 891 | | |
879 | 892 | | |
880 | 893 | | |
| |||
1756 | 1769 | | |
1757 | 1770 | | |
1758 | 1771 | | |
1759 | | - | |
| 1772 | + | |
1760 | 1773 | | |
1761 | 1774 | | |
1762 | 1775 | | |
1763 | 1776 | | |
1764 | | - | |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
1765 | 1781 | | |
1766 | 1782 | | |
1767 | 1783 | | |
| |||
2018 | 2034 | | |
2019 | 2035 | | |
2020 | 2036 | | |
2021 | | - | |
2022 | | - | |
| 2037 | + | |
| 2038 | + | |
2023 | 2039 | | |
2024 | 2040 | | |
2025 | 2041 | | |
| |||
2054 | 2070 | | |
2055 | 2071 | | |
2056 | 2072 | | |
| 2073 | + | |
| 2074 | + | |
| 2075 | + | |
| 2076 | + | |
| 2077 | + | |
2057 | 2078 | | |
2058 | 2079 | | |
2059 | 2080 | | |
2060 | 2081 | | |
2061 | 2082 | | |
2062 | 2083 | | |
2063 | 2084 | | |
| 2085 | + | |
| 2086 | + | |
2064 | 2087 | | |
2065 | 2088 | | |
2066 | 2089 | | |
| |||
0 commit comments