2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Let guest use GBPAGES if supported in... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Get CR4.SMEP from MMU, not vCPU, in shadow... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Get CR0.WP from MMU, not vCPU, in shadow... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Drop redundant rsvd bits reset for nested NPT Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Optimize and clean up so called "last... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86: Enhance comments for MMU roles and nested... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: WARN on any reserved SPTE value when... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Add helpers to do full reserved SPTE... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Use MMU's role to determine PTTYPE Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Collapse 32-bit PAE and 64-bit statements... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Add a helper to calculate root from role_regs Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Add helper to update paging metadata Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Don't update nested guest's paging bitmasks... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Consolidate reset_rsvds_bits_mask() calls Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Use MMU role_regs to get LA57, and drop... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Get nested MMU's root level from the... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Drop "nx" from MMU context now that there... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Use MMU's role to get EFER.NX during... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Use MMU's role/role_regs to compute context... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Use MMU's role to detect EFER.NX in guest... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Use MMU's roles to compute last non-leaf... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Use MMU's role to compute PKRU bitmask Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Use MMU's role to compute permission... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Drop vCPU param from reserved bits calculator Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Use MMU's role to get CR4.PSE for computing... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Don't grab CR4.PSE for calculating shadow... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Always set new mmu_role immediately after... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Set CR4.PKE/LA57 in MMU role iff long... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Do not set paging-related bits in MMU... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Add accessors to query mmu_role bits Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Rename "nxe" role bit to "efer_nx" for... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Use MMU's role_regs, not vCPU state,... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Ignore CR0 and CR4 bits in nested EPT... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Consolidate misc updates into shadow_mmu_init_... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Add struct and helpers to retrieve MMU... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Grab shadow root level from mmu_role... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Move nested NPT reserved bit calculation... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86: Read and pass all CR0/CR4 role bits to shadow... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Drop smep_andnot_wp check from "uses... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: nSVM: Add a comment to document why nNPT uses... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86: Fix sizes used to pass around CR0, CR4, and... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Rename unsync helper and update related... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Drop the intermediate "transient" __kvm_sync_p... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: comment on kvm_mmu_get_page's syncing... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: WARN and zap SP when sync'ing if MMU... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Use MMU role to check for matching guest... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Unconditionally zap unsync SPs when creating... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | Revert "KVM: MMU: record maximum physical address width... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86: Alert userspace that KVM_SET_CPUID{,2} after... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86: Force all MMUs to reinitialize if guest CPUID... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | Revert "KVM: x86/mmu: Drop kvm_mmu_extended_role.cr4_la57... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Use MMU's role to detect CR4.SMEP value... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86: Properly reset MMU context at vCPU RESET... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Treat NX as used (not reserved) for all... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Remove broken WARN that fires on 32-bit... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: x86/mmu: Don't WARN on a NULL shadow page in TDP... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: sefltests: Add x86-64 test to verify MMU reacts... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: selftests: Add hugepage support for x86-64 Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: selftests: Genericize upper level page table entry... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: selftests: Add PTE helper for x86-64 in preparation... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: selftests: Rename x86's page table "address" to... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: selftests: Add wrapper to allocate page table... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: selftests: Unconditionally allocate EPT tables... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: selftests: Unconditionally use memslot '0' for... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: selftests: Unconditionally use memslot 0 for vaddr... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: selftests: Use "standard" min virtual address... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: selftests: Use alloc page helper for xAPIC IPI... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: selftests: Use alloc_page helper for x86-64's... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: selftests: Lower the min virtual address for misc... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: selftests: Add helpers to allocate N pages of... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: selftests: Use "standard" min virtual address... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: selftests: Unconditionally use memslot 0 for x86... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: selftests: Unconditionally use memslot 0 when... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: selftests: Zero out the correct page in the Hyper... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: selftests: Remove errant asm/barrier.h include... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-24 |
Sean Christopherson | KVM: nVMX: Handle split-lock #AC exceptions that happen... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-21 |
Sean Christopherson | KVM: nVMX: Dynamically compute max VMCS index for vmcs12 Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-18 |
Sean Christopherson | KVM: x86: WARN and reject loading KVM if NX is supported... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-18 |
Sean Christopherson | KVM: SVM: Refuse to load kvm_amd if NX support is not... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-18 |
Sean Christopherson | KVM: VMX: Refuse to load kvm_intel if EPT and NX are... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-17 |
Sean Christopherson | KVM: x86/mmu: Grab nx_lpage_splits as an unsigned long... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-17 |
Sean Christopherson | KVM: nVMX: Drop redundant checks on vmcs12 in EPTP... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-17 |
Sean Christopherson | KVM: nVMX: WARN if subtly-impossible VMFUNC conditions... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-17 |
Sean Christopherson | KVM: x86: Drop pointless @reset_roots from kvm_init_mmu() Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-17 |
Sean Christopherson | KVM: x86: Defer MMU sync on PCID invalidation Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-17 |
Sean Christopherson | KVM: nVMX: Use fast PGD switch when emulating VMFUNC... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-17 |
Sean Christopherson | KVM: x86: Use KVM_REQ_TLB_FLUSH_GUEST to handle INVPCID... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-17 |
Sean Christopherson | KVM: nVMX: Free only guest_mode (L2) roots on INVVPID... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-17 |
Sean Christopherson | KVM: nVMX: Consolidate VM-Enter/VM-Exit TLB flush and... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-17 |
Sean Christopherson | KVM: x86: Drop skip MMU sync and TLB flush params from... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-17 |
Sean Christopherson | KVM: nSVM: Move TLB flushing logic (or lack thereof... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-17 |
Sean Christopherson | KVM: x86: Uncondtionally skip MMU sync/TLB flush in... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-17 |
Sean Christopherson | KVM: x86: Invalidate all PGDs for the current PCID... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-17 |
Sean Christopherson | KVM: nVMX: Don't clobber nested MMU's A/D status on... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-17 |
Sean Christopherson | KVM: nVMX: Ensure 64-bit shift when checking VMFUNC... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-17 |
Sean Christopherson | KVM: nVMX: Sync all PGDs on nested transition with... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-17 |
Sean Christopherson | KVM: x86: Always load PDPTRs on CR3 load for SVM w... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-17 |
Sean Christopherson | KVM: nSVM: Drop pointless pdptrs_changed() check on... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-17 |
Sean Christopherson | KVM: nVMX: Drop obsolete (and pointless) pdptrs_changed... Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
2021-06-17 |
Sean Christopherson | KVM: x86: Drop "pre_" from enter/leave_smm() helpers Signed-off-by: Sean Christopherson <seanjc@google.com>
|
commit | commitdiff | tree |
next |