summaryrefslogtreecommitdiff
path: root/arch/x86/kvm
AgeCommit message (Expand)AuthorFilesLines
2021-06-29Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds43-1426/+2699
2021-06-28Merge tag 'x86-cleanups-2021-06-28' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds2-2/+2
2021-06-28Merge tag 'sched-core-2021-06-28' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-4/+1
2021-06-25KVM: x86: rename apic_access_page_done to apic_access_memslot_enabledMaxim Levitsky2-4/+4
2021-06-25kvm: x86: disable the narrow guest module parameter on unloadAaron Lewis1-0/+2
2021-06-25kvm: x86: Allow userspace to handle emulation errorsAaron Lewis1-4/+36
2021-06-25KVM: x86/mmu: Let guest use GBPAGES if supported in hardware and TDP is onSean Christopherson1-3/+17
2021-06-25KVM: x86/mmu: Get CR4.SMEP from MMU, not vCPU, in shadow page faultSean Christopherson1-1/+1
2021-06-25KVM: x86/mmu: Get CR0.WP from MMU, not vCPU, in shadow page faultSean Christopherson2-8/+2
2021-06-25KVM: x86/mmu: Drop redundant rsvd bits reset for nested NPTSean Christopherson1-6/+0
2021-06-25KVM: x86/mmu: Optimize and clean up so called "last nonleaf level" logicSean Christopherson2-32/+30
2021-06-25KVM: x86: Enhance comments for MMU roles and nested transition trickinessSean Christopherson2-0/+2
2021-06-25KVM: x86/mmu: WARN on any reserved SPTE value when making a valid SPTESean Christopherson1-1/+4
2021-06-25KVM: x86/mmu: Add helpers to do full reserved SPTE checks w/ generic MMUSean Christopherson2-21/+34
2021-06-25KVM: x86/mmu: Use MMU's role to determine PTTYPESean Christopherson1-4/+4
2021-06-25KVM: x86/mmu: Collapse 32-bit PAE and 64-bit statements for helpersSean Christopherson1-17/+2
2021-06-25KVM: x86/mmu: Add a helper to calculate root from role_regsSean Christopherson1-35/+25
2021-06-25KVM: x86/mmu: Add helper to update paging metadataSean Christopherson1-18/+15
2021-06-25KVM: x86/mmu: Don't update nested guest's paging bitmasks if CR0.PG=0Sean Christopherson1-10/+10
2021-06-25KVM: x86/mmu: Consolidate reset_rsvds_bits_mask() callsSean Christopherson1-11/+10
2021-06-25KVM: x86/mmu: Use MMU role_regs to get LA57, and drop vCPU LA57 helperSean Christopherson2-11/+1
2021-06-25KVM: x86/mmu: Get nested MMU's root level from the MMU's roleSean Christopherson1-5/+1
2021-06-25KVM: x86/mmu: Drop "nx" from MMU context now that there are no readersSean Christopherson1-17/+0
2021-06-25KVM: x86/mmu: Use MMU's role to get EFER.NX during MMU configurationSean Christopherson1-3/+4
2021-06-25KVM: x86/mmu: Use MMU's role/role_regs to compute context's metadataSean Christopherson1-20/+16
2021-06-25KVM: x86/mmu: Use MMU's role to detect EFER.NX in guest page walkSean Christopherson1-1/+1
2021-06-25KVM: x86/mmu: Use MMU's roles to compute last non-leaf levelSean Christopherson1-6/+6
2021-06-25KVM: x86/mmu: Use MMU's role to compute PKRU bitmaskSean Christopherson1-14/+7
2021-06-25KVM: x86/mmu: Use MMU's role to compute permission bitmaskSean Christopherson1-9/+8
2021-06-25KVM: x86/mmu: Drop vCPU param from reserved bits calculatorSean Christopherson1-7/+4
2021-06-25KVM: x86/mmu: Use MMU's role to get CR4.PSE for computing rsvd bitsSean Christopherson1-1/+1
2021-06-25KVM: x86/mmu: Don't grab CR4.PSE for calculating shadow reserved bitsSean Christopherson1-6/+9
2021-06-25KVM: x86/mmu: Always set new mmu_role immediately after checking old roleSean Christopherson1-6/+9
2021-06-25KVM: x86/mmu: Set CR4.PKE/LA57 in MMU role iff long mode is activeSean Christopherson1-2/+4
2021-06-25KVM: x86/mmu: Do not set paging-related bits in MMU role if CR0.PG=0Sean Christopherson1-10/+14
2021-06-25KVM: x86/mmu: Add accessors to query mmu_role bitsSean Christopherson2-1/+22
2021-06-25KVM: x86/mmu: Rename "nxe" role bit to "efer_nx" for macro shenanigansSean Christopherson2-2/+2
2021-06-25KVM: x86/mmu: Use MMU's role_regs, not vCPU state, to compute mmu_roleSean Christopherson1-40/+52
2021-06-25KVM: x86/mmu: Ignore CR0 and CR4 bits in nested EPT MMU roleSean Christopherson1-1/+3
2021-06-25KVM: x86/mmu: Consolidate misc updates into shadow_mmu_init_context()Sean Christopherson1-11/+6
2021-06-25KVM: x86/mmu: Add struct and helpers to retrieve MMU role bits from regsSean Christopherson1-13/+53
2021-06-25KVM: x86/mmu: Grab shadow root level from mmu_role for shadow MMUsSean Christopherson1-13/+5
2021-06-25KVM: x86/mmu: Move nested NPT reserved bit calculation into MMU properSean Christopherson3-7/+8
2021-06-25KVM: x86: Read and pass all CR0/CR4 role bits to shadow MMU helperSean Christopherson3-9/+10
2021-06-25KVM: x86/mmu: Drop smep_andnot_wp check from "uses NX" for shadow MMUsSean Christopherson1-2/+1
2021-06-25KVM: nSVM: Add a comment to document why nNPT uses vmcb01, not vCPU stateSean Christopherson1-0/+6
2021-06-25KVM: x86: Fix sizes used to pass around CR0, CR4, and EFERSean Christopherson4-9/+10
2021-06-25KVM: x86/mmu: Rename unsync helper and update related commentsSean Christopherson3-13/+34
2021-06-25KVM: x86/mmu: Drop the intermediate "transient" __kvm_sync_page()Sean Christopherson1-12/+5
2021-06-25KVM: x86/mmu: comment on kvm_mmu_get_page's syncing of pagesSean Christopherson1-2/+11