Age | Commit message (Expand) | Author | Files | Lines |
2021-06-28 | Merge tag 'x86-cleanups-2021-06-28' of git://git.kernel.org/pub/scm/linux/ker... | Linus Torvalds | 2 | -2/+2 |
2021-06-25 | KVM: x86/mmu: Let guest use GBPAGES if supported in hardware and TDP is on | Sean Christopherson | 1 | -3/+17 |
2021-06-25 | KVM: x86/mmu: Get CR4.SMEP from MMU, not vCPU, in shadow page fault | Sean Christopherson | 1 | -1/+1 |
2021-06-25 | KVM: x86/mmu: Get CR0.WP from MMU, not vCPU, in shadow page fault | Sean Christopherson | 1 | -3/+2 |
2021-06-25 | KVM: x86/mmu: Drop redundant rsvd bits reset for nested NPT | Sean Christopherson | 1 | -6/+0 |
2021-06-25 | KVM: x86/mmu: Optimize and clean up so called "last nonleaf level" logic | Sean Christopherson | 2 | -32/+30 |
2021-06-25 | KVM: x86/mmu: WARN on any reserved SPTE value when making a valid SPTE | Sean Christopherson | 1 | -1/+4 |
2021-06-25 | KVM: x86/mmu: Add helpers to do full reserved SPTE checks w/ generic MMU | Sean Christopherson | 2 | -21/+34 |
2021-06-25 | KVM: x86/mmu: Use MMU's role to determine PTTYPE | Sean Christopherson | 1 | -4/+4 |
2021-06-25 | KVM: x86/mmu: Collapse 32-bit PAE and 64-bit statements for helpers | Sean Christopherson | 1 | -17/+2 |
2021-06-25 | KVM: x86/mmu: Add a helper to calculate root from role_regs | Sean Christopherson | 1 | -35/+25 |
2021-06-25 | KVM: x86/mmu: Add helper to update paging metadata | Sean Christopherson | 1 | -18/+15 |
2021-06-25 | KVM: x86/mmu: Don't update nested guest's paging bitmasks if CR0.PG=0 | Sean Christopherson | 1 | -10/+10 |
2021-06-25 | KVM: x86/mmu: Consolidate reset_rsvds_bits_mask() calls | Sean Christopherson | 1 | -11/+10 |
2021-06-25 | KVM: x86/mmu: Use MMU role_regs to get LA57, and drop vCPU LA57 helper | Sean Christopherson | 1 | -1/+1 |
2021-06-25 | KVM: x86/mmu: Get nested MMU's root level from the MMU's role | Sean Christopherson | 1 | -5/+1 |
2021-06-25 | KVM: x86/mmu: Drop "nx" from MMU context now that there are no readers | Sean Christopherson | 1 | -17/+0 |
2021-06-25 | KVM: x86/mmu: Use MMU's role to get EFER.NX during MMU configuration | Sean Christopherson | 1 | -3/+4 |
2021-06-25 | KVM: x86/mmu: Use MMU's role/role_regs to compute context's metadata | Sean Christopherson | 1 | -20/+16 |
2021-06-25 | KVM: x86/mmu: Use MMU's role to detect EFER.NX in guest page walk | Sean Christopherson | 1 | -1/+1 |
2021-06-25 | KVM: x86/mmu: Use MMU's roles to compute last non-leaf level | Sean Christopherson | 1 | -6/+6 |
2021-06-25 | KVM: x86/mmu: Use MMU's role to compute PKRU bitmask | Sean Christopherson | 1 | -14/+7 |
2021-06-25 | KVM: x86/mmu: Use MMU's role to compute permission bitmask | Sean Christopherson | 1 | -9/+8 |
2021-06-25 | KVM: x86/mmu: Drop vCPU param from reserved bits calculator | Sean Christopherson | 1 | -7/+4 |
2021-06-25 | KVM: x86/mmu: Use MMU's role to get CR4.PSE for computing rsvd bits | Sean Christopherson | 1 | -1/+1 |
2021-06-25 | KVM: x86/mmu: Don't grab CR4.PSE for calculating shadow reserved bits | Sean Christopherson | 1 | -6/+9 |
2021-06-25 | KVM: x86/mmu: Always set new mmu_role immediately after checking old role | Sean Christopherson | 1 | -6/+9 |
2021-06-25 | KVM: x86/mmu: Set CR4.PKE/LA57 in MMU role iff long mode is active | Sean Christopherson | 1 | -2/+4 |
2021-06-25 | KVM: x86/mmu: Do not set paging-related bits in MMU role if CR0.PG=0 | Sean Christopherson | 1 | -10/+14 |
2021-06-25 | KVM: x86/mmu: Add accessors to query mmu_role bits | Sean Christopherson | 2 | -1/+22 |
2021-06-25 | KVM: x86/mmu: Rename "nxe" role bit to "efer_nx" for macro shenanigans | Sean Christopherson | 2 | -2/+2 |
2021-06-25 | KVM: x86/mmu: Use MMU's role_regs, not vCPU state, to compute mmu_role | Sean Christopherson | 1 | -40/+52 |
2021-06-25 | KVM: x86/mmu: Ignore CR0 and CR4 bits in nested EPT MMU role | Sean Christopherson | 1 | -1/+3 |
2021-06-25 | KVM: x86/mmu: Consolidate misc updates into shadow_mmu_init_context() | Sean Christopherson | 1 | -11/+6 |
2021-06-25 | KVM: x86/mmu: Add struct and helpers to retrieve MMU role bits from regs | Sean Christopherson | 1 | -13/+53 |
2021-06-25 | KVM: x86/mmu: Grab shadow root level from mmu_role for shadow MMUs | Sean Christopherson | 1 | -13/+5 |
2021-06-25 | KVM: x86/mmu: Move nested NPT reserved bit calculation into MMU proper | Sean Christopherson | 1 | -3/+8 |
2021-06-25 | KVM: x86: Read and pass all CR0/CR4 role bits to shadow MMU helper | Sean Christopherson | 1 | -2/+2 |
2021-06-25 | KVM: x86/mmu: Drop smep_andnot_wp check from "uses NX" for shadow MMUs | Sean Christopherson | 1 | -2/+1 |
2021-06-25 | KVM: x86: Fix sizes used to pass around CR0, CR4, and EFER | Sean Christopherson | 1 | -5/+6 |
2021-06-25 | KVM: x86/mmu: Rename unsync helper and update related comments | Sean Christopherson | 3 | -13/+34 |
2021-06-25 | KVM: x86/mmu: Drop the intermediate "transient" __kvm_sync_page() | Sean Christopherson | 1 | -12/+5 |
2021-06-25 | KVM: x86/mmu: comment on kvm_mmu_get_page's syncing of pages | Sean Christopherson | 1 | -2/+11 |
2021-06-25 | KVM: x86/mmu: WARN and zap SP when sync'ing if MMU role mismatches | Sean Christopherson | 2 | -6/+26 |
2021-06-25 | KVM: x86/mmu: Use MMU role to check for matching guest page sizes | Sean Christopherson | 1 | -13/+3 |
2021-06-25 | KVM: x86/mmu: Unconditionally zap unsync SPs when creating >4k SP at GFN | Sean Christopherson | 1 | -34/+16 |
2021-06-25 | Revert "KVM: MMU: record maximum physical address width in kvm_mmu_extended_r... | Sean Christopherson | 1 | -1/+0 |
2021-06-25 | KVM: x86: Alert userspace that KVM_SET_CPUID{,2} after KVM_RUN is broken | Sean Christopherson | 1 | -0/+20 |
2021-06-25 | KVM: x86: Force all MMUs to reinitialize if guest CPUID is modified | Sean Christopherson | 1 | -0/+12 |
2021-06-25 | Revert "KVM: x86/mmu: Drop kvm_mmu_extended_role.cr4_la57 hack" | Sean Christopherson | 1 | -0/+1 |