aboutsummaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Expand)AuthorFilesLines
2021-07-14KVM: SVM: Revert clearing of C-bit on GPA in #NPF handlerGravatar Sean Christopherson 1-1/+1
2021-07-14KVM: x86/mmu: Do not apply HPA (memory encryption) mask to GPAsGravatar Sean Christopherson 4-8/+18
2021-07-14KVM: x86: Use kernel's x86_phys_bits to handle reduced MAXPHYADDRGravatar Sean Christopherson 1-7/+20
2021-07-14KVM: x86: Use guest MAXPHYADDR from CPUID.0x8000_0008 iff TDP is enabledGravatar Sean Christopherson 1-1/+7
2021-07-14Revert "KVM: x86: WARN and reject loading KVM if NX is supported but not enab...Gravatar Sean Christopherson 1-3/+0
2021-07-14Merge tag 'kvm-s390-master-5.14-1' of git://git.kernel.org/pub/scm/linux/kern...Gravatar Paolo Bonzini 78-379/+516
2021-06-25Merge tag 'kvmarm-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/kvma...Gravatar Paolo Bonzini 126-677/+1510
2021-06-25Merge tag 'kvm-s390-next-5.14-1' of git://git.kernel.org/pub/scm/linux/kernel...Gravatar Paolo Bonzini 2-9/+17
2021-06-25Merge branch kvm-arm64/mmu/mte into kvmarm-master/nextGravatar Marc Zyngier 1-4/+8
2021-06-24KVM: x86: rename apic_access_page_done to apic_access_memslot_enabledGravatar Maxim Levitsky 3-5/+5
2021-06-24kvm: x86: disable the narrow guest module parameter on unloadGravatar Aaron Lewis 1-0/+2
2021-06-24kvm: x86: Allow userspace to handle emulation errorsGravatar Aaron Lewis 2-4/+42
2021-06-24KVM: x86/mmu: Let guest use GBPAGES if supported in hardware and TDP is onGravatar Sean Christopherson 1-3/+17
2021-06-24KVM: x86/mmu: Get CR4.SMEP from MMU, not vCPU, in shadow page faultGravatar Sean Christopherson 1-1/+1
2021-06-24KVM: x86/mmu: Get CR0.WP from MMU, not vCPU, in shadow page faultGravatar Sean Christopherson 2-8/+2
2021-06-24KVM: x86/mmu: Drop redundant rsvd bits reset for nested NPTGravatar Sean Christopherson 1-6/+0
2021-06-24KVM: x86/mmu: Optimize and clean up so called "last nonleaf level" logicGravatar Sean Christopherson 3-35/+30
2021-06-24KVM: x86: Enhance comments for MMU roles and nested transition trickinessGravatar Sean Christopherson 3-10/+49
2021-06-24KVM: x86/mmu: WARN on any reserved SPTE value when making a valid SPTEGravatar Sean Christopherson 1-1/+4
2021-06-24KVM: x86/mmu: Add helpers to do full reserved SPTE checks w/ generic MMUGravatar Sean Christopherson 2-21/+34
2021-06-24KVM: x86/mmu: Use MMU's role to determine PTTYPEGravatar Sean Christopherson 1-4/+4
2021-06-24KVM: x86/mmu: Collapse 32-bit PAE and 64-bit statements for helpersGravatar Sean Christopherson 1-17/+2
2021-06-24KVM: x86/mmu: Add a helper to calculate root from role_regsGravatar Sean Christopherson 1-35/+25
2021-06-24KVM: x86/mmu: Add helper to update paging metadataGravatar Sean Christopherson 1-18/+15
2021-06-24KVM: x86/mmu: Don't update nested guest's paging bitmasks if CR0.PG=0Gravatar Sean Christopherson 1-10/+10
2021-06-24KVM: x86/mmu: Consolidate reset_rsvds_bits_mask() callsGravatar Sean Christopherson 1-11/+10
2021-06-24KVM: x86/mmu: Use MMU role_regs to get LA57, and drop vCPU LA57 helperGravatar Sean Christopherson 2-11/+1
2021-06-24KVM: x86/mmu: Get nested MMU's root level from the MMU's roleGravatar Sean Christopherson 1-5/+1
2021-06-24KVM: x86/mmu: Drop "nx" from MMU context now that there are no readersGravatar Sean Christopherson 2-19/+0
2021-06-24KVM: x86/mmu: Use MMU's role to get EFER.NX during MMU configurationGravatar Sean Christopherson 1-3/+4
2021-06-24KVM: x86/mmu: Use MMU's role/role_regs to compute context's metadataGravatar Sean Christopherson 1-20/+16
2021-06-24KVM: x86/mmu: Use MMU's role to detect EFER.NX in guest page walkGravatar Sean Christopherson 1-1/+1
2021-06-24KVM: x86/mmu: Use MMU's roles to compute last non-leaf levelGravatar Sean Christopherson 1-6/+6
2021-06-24KVM: x86/mmu: Use MMU's role to compute PKRU bitmaskGravatar Sean Christopherson 1-14/+7
2021-06-24KVM: x86/mmu: Use MMU's role to compute permission bitmaskGravatar Sean Christopherson 1-9/+8
2021-06-24KVM: x86/mmu: Drop vCPU param from reserved bits calculatorGravatar Sean Christopherson 1-7/+4
2021-06-24KVM: x86/mmu: Use MMU's role to get CR4.PSE for computing rsvd bitsGravatar Sean Christopherson 1-1/+1
2021-06-24KVM: x86/mmu: Don't grab CR4.PSE for calculating shadow reserved bitsGravatar Sean Christopherson 1-6/+9
2021-06-24KVM: x86/mmu: Always set new mmu_role immediately after checking old roleGravatar Sean Christopherson 1-6/+9
2021-06-24KVM: x86/mmu: Set CR4.PKE/LA57 in MMU role iff long mode is activeGravatar Sean Christopherson 1-2/+4
2021-06-24KVM: x86/mmu: Do not set paging-related bits in MMU role if CR0.PG=0Gravatar Sean Christopherson 1-10/+14
2021-06-24KVM: x86/mmu: Add accessors to query mmu_role bitsGravatar Sean Christopherson 2-1/+22
2021-06-24KVM: x86/mmu: Rename "nxe" role bit to "efer_nx" for macro shenanigansGravatar Sean Christopherson 3-4/+4
2021-06-24KVM: x86/mmu: Use MMU's role_regs, not vCPU state, to compute mmu_roleGravatar Sean Christopherson 1-40/+52
2021-06-24KVM: x86/mmu: Ignore CR0 and CR4 bits in nested EPT MMU roleGravatar Sean Christopherson 1-1/+3
2021-06-24KVM: x86/mmu: Consolidate misc updates into shadow_mmu_init_context()Gravatar Sean Christopherson 1-11/+6
2021-06-24KVM: x86/mmu: Add struct and helpers to retrieve MMU role bits from regsGravatar Sean Christopherson 1-13/+53
2021-06-24KVM: x86/mmu: Grab shadow root level from mmu_role for shadow MMUsGravatar Sean Christopherson 1-13/+5
2021-06-24KVM: x86/mmu: Move nested NPT reserved bit calculation into MMU properGravatar Sean Christopherson 3-7/+8
2021-06-24KVM: x86: Read and pass all CR0/CR4 role bits to shadow MMU helperGravatar Sean Christopherson 3-9/+10