aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/kvm/nested.c
AgeCommit message (Expand)AuthorFilesLines
6 daysMerge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-39/+84
9 daysMerge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-1/+1
11 daysKVM: arm64: Add endian casting to kvm_swap_s[12]_desc()Marc Zyngier1-4/+4
11 daysKVM: arm64: nv: Expose hardware access flag management to NV guestsOliver Upton1-2/+4
11 daysKVM: arm64: nv: Implement HW access flag management in stage-2 SW PTWOliver Upton1-7/+37
11 daysKVM: arm64: nv: Use pgtable definitions in stage-2 walkOliver Upton1-6/+15
11 daysKVM: arm64: Handle endianness in read helper for emulated PTWOliver Upton1-12/+20
11 daysKVM: arm64: nv: Stop passing vCPU through void ptr in S2 PTWOliver Upton1-8/+4
11 daysKVM: arm64: Call helper for reading descriptors directlyOliver Upton1-10/+8
11 daysKVM: arm64: nv: Advertise support for FEAT_XNXOliver Upton1-1/+0
2025-11-24KVM: arm64: nv: Forward FEAT_XNX permissions to the shadow stage-2Oliver Upton1-1/+4
2025-11-12arm64: Fix typos and spelling errors in commentsmrigendrachaubey1-1/+1
2025-10-13KVM: arm64: nv: Use FGT write trap of MDSCR_EL1 when availableOliver Upton1-3/+6
2025-09-30Merge tag 'kvmarm-6.18' of git://git.kernel.org/pub/scm/linux/kernel/git/kvma...Paolo Bonzini1-18/+62
2025-09-30Merge tag 'kvmarm-fixes-6.17-2' of https://git.kernel.org/pub/scm/linux/kerne...Paolo Bonzini1-4/+7
2025-09-20Merge branch kvm-arm64/el2-feature-control into kvmarm-master/nextMarc Zyngier1-17/+31
2025-09-20Merge branch kvm-arm64/nv-debug into kvmarm-master/nextMarc Zyngier1-0/+30
2025-09-20KVM: arm64: Account for 52bit when computing maximum OAMarc Zyngier1-1/+1
2025-09-19KVM: arm64: nv: Expose up to FEAT_Debugv8p8 to NV-enabled VMsOliver Upton1-2/+5
2025-09-19KVM: arm64: nv: Advertise FEAT_TIDCP1 to NV-enabled VMsOliver Upton1-1/+0
2025-09-19KVM: arm64: nv: Advertise FEAT_SpecSEI to NV-enabled VMsOliver Upton1-1/+0
2025-09-19KVM: arm64: nv: Expose FEAT_TWED to NV-enabled VMsOliver Upton1-1/+0
2025-09-19KVM: arm64: nv: Expose FEAT_AFP to NV-enabled VMsOliver Upton1-1/+0
2025-09-19KVM: arm64: nv: Expose FEAT_ECBHB to NV-enabled VMsOliver Upton1-2/+1
2025-09-19KVM: arm64: nv: Expose FEAT_RASv1p1 via RAS_fracOliver Upton1-1/+0
2025-09-19KVM: arm64: nv: Expose FEAT_DF2 to NV-enabled VMsOliver Upton1-1/+0
2025-09-19KVM: arm64: nv: Don't erroneously claim FEAT_DoubleLock for NV VMsOliver Upton1-1/+0
2025-09-19KVM: arm64: nv: Convert masks to denylists in limit_nv_id_reg()Oliver Upton1-14/+33
2025-09-18KVM: arm64: nv: Apply guest's MDCR traps in nested contextOliver Upton1-0/+19
2025-09-18KVM: arm64: nv: Trap debug registers when in hyp contextOliver Upton1-0/+11
2025-09-10KVM: arm64: nv: Fix incorrect VNCR invalidation range calculationDongha Lee1-2/+2
2025-09-10KVM: arm64: nv: fix VNCR TLB ASID match logic for non-Global entriesGeonha Lee1-1/+1
2025-08-29Merge tag 'kvmarm-fixes-6.17-1' of https://git.kernel.org/pub/scm/linux/kerne...Paolo Bonzini1-1/+4
2025-08-27KVM: arm64: nv: Handle VNCR_EL2-triggered faults backed by guest_memfdFuad Tabba1-6/+35
2025-08-04KVM: arm64: nv: Handle SEAs due to VNCR redirectionOliver Upton1-0/+3
2025-08-04KVM: arm64: nv: Properly check ESR_EL2.VNCR on taking a VNCR_EL2 related faultMarc Zyngier1-1/+1
2025-07-29Merge tag 'kvmarm-6.17' of https://git.kernel.org/pub/scm/linux/kernel/git/kv...Paolo Bonzini1-59/+50
2025-07-28Merge branch 'kvm-arm64/config-masks' into kvmarm/nextOliver Upton1-57/+3
2025-07-15KVM: arm64: Convert MDCR_EL2 to config-driven sanitisationMarc Zyngier1-34/+1
2025-07-15KVM: arm64: Convert SCTLR_EL1 to config-driven sanitisationMarc Zyngier1-4/+1
2025-07-15KVM: arm64: Convert TCR2_EL2 to config-driven sanitisationMarc Zyngier1-19/+1
2025-07-08KVM: arm64: Describe SCTLR2_ELx RESx masksOliver Upton1-0/+6
2025-07-08KVM: arm64: nv: Advertise support for FEAT_RASOliver Upton1-2/+1
2025-07-08KVM: arm64: nv: Honor SError exception routing / maskingOliver Upton1-0/+40
2025-07-03KVM: arm64: Fix handling of FEAT_GTG for unimplemented granule sizesMarc Zyngier1-3/+23
2025-06-05KVM: arm64: Add RMW specific sysreg accessorMarc Zyngier1-1/+1
2025-05-30KVM: arm64: Mask out non-VA bits from TLBI VA* on VNCR invalidationMarc Zyngier1-2/+4
2025-05-23Merge branch kvm-arm64/nv-nv into kvmarm-master/nextMarc Zyngier1-9/+614
2025-05-21KVM: arm64: nv: Release faulted-in VNCR page from mmu_lock critical sectionMarc Zyngier1-1/+1
2025-05-21KVM: arm64: nv: Handle TLBI S1E2 for VNCR invalidation with mmu_lock heldMarc Zyngier1-0/+2
2025-05-21KVM: arm64: nv: Hold mmu_lock when invalidating VNCR SW-TLB before translatingMarc Zyngier1-7/+18
2025-05-19KVM: arm64: Add sanitisation for FEAT_FGT2 registersMarc Zyngier1-0/+16
2025-05-19KVM: arm64: Use HCR_EL2 feature map to drive fixed-value bitsMarc Zyngier1-37/+1
2025-05-19KVM: arm64: Use HCRX_EL2 feature map to drive fixed-value bitsMarc Zyngier1-39/+1
2025-05-19KVM: arm64: Use FGT feature maps to drive RES0 bitsMarc Zyngier1-119/+10
2025-05-19KVM: arm64: nv: Add S1 TLB invalidation primitive for VNCR_EL2Marc Zyngier1-0/+193
2025-05-19KVM: arm64: nv: Handle VNCR_EL2 invalidation from MMU notifiersMarc Zyngier1-0/+75
2025-05-19KVM: arm64: nv: Handle mapping of VNCR_EL2 at EL2Marc Zyngier1-9/+89
2025-05-19KVM: arm64: nv: Handle VNCR_EL2-triggered faultsMarc Zyngier1-0/+159
2025-05-19KVM: arm64: nv: Add userspace and guest handling of VNCR_EL2Marc Zyngier1-0/+3
2025-05-19KVM: arm64: nv: Add pseudo-TLB backing VNCR_EL2Marc Zyngier1-0/+72
2025-05-19KVM: arm64: nv: Allocate VNCR page when requiredMarc Zyngier1-0/+10
2025-05-10KVM: arm64: Use KVM-specific HCRX_EL2 RES0 maskMarc Zyngier1-2/+2
2025-05-06KVM: arm64: Use computed masks as sanitisers for FGT registersMarc Zyngier1-6/+6
2025-05-06arm64: sysreg: Replace HFGxTR_EL2 with HFG{R,W}TR_EL2Marc Zyngier1-21/+21
2025-03-19Merge branch 'kvm-arm64/nv-idregs' into kvmarm/nextOliver Upton1-133/+152
2025-03-03KVM: arm64: nv: Handle L2->L1 transition on interrupt injectionMarc Zyngier1-0/+4
2025-03-03KVM: arm64: nv: Sanitise ICH_HCR_EL2 accessesMarc Zyngier1-0/+9
2025-02-24KVM: arm64: Advertise FEAT_ECV when possibleMarc Zyngier1-3/+5
2025-02-24KVM: arm64: Allow userspace to limit NV support to nVHEMarc Zyngier1-2/+26
2025-02-24KVM: arm64: Move NV-specific capping to idreg sanitisationMarc Zyngier1-44/+1
2025-02-24KVM: arm64: Enforce NV limits on a per-idregs basisMarc Zyngier1-103/+136
2025-02-24KVM: arm64: Mark HCR.EL2.{NV*,AT} RES0 when ID_AA64MMFR4_EL1.NV_frac is 0Marc Zyngier1-4/+5
2025-02-24KVM: arm64: Mark HCR.EL2.E2H RES0 when ID_AA64MMFR1_EL1.VH is zeroMarc Zyngier1-0/+2
2025-02-04KVM: arm64: Fix nested S2 MMU structures reallocationMarc Zyngier1-4/+5
2025-01-17Merge branch kvm-arm64/misc-6.14 into kvmarm-master/nextMarc Zyngier1-2/+4
2025-01-17Merge branch kvm-arm64/nv-resx-fixes-6.14 into kvmarm-master/nextMarc Zyngier1-2/+7
2025-01-17Merge branch kvm-arm64/nv-timers into kvmarm-master/nextMarc Zyngier1-0/+15
2025-01-14KVM: arm64: nv: Apply RESx settings to sysreg reset valuesMarc Zyngier1-2/+7
2025-01-02KVM: arm64: nv: Sanitise CNTHCTL_EL2Marc Zyngier1-0/+15
2024-12-22KVM: arm64: nv: Advertise the lack of AArch32 EL0 supportMarc Zyngier1-2/+4
2024-12-20KVM: arm64: Use kvm_vcpu_has_feature() directly for struct kvmFuad Tabba1-4/+4
2024-11-20KVM: arm64: Mark set_sysreg_masks() as inline to avoid build failureMarc Zyngier1-1/+1
2024-11-11Merge branch kvm-arm64/nv-pmu into kvmarm/nextOliver Upton1-2/+40
2024-10-31KVM: arm64: nv: Advertise support for FEAT_HPMN0Oliver Upton1-2/+3
2024-10-31KVM: arm64: Describe RES0/RES1 bits of MDCR_EL2Oliver Upton1-0/+37
2024-10-31KVM: arm64: Add kvm_has_s1poe() helperMarc Zyngier1-2/+2
2024-10-31KVM: arm64: Hide S1PIE registers from userspace when disabled for guestsMark Brown1-2/+2
2024-10-31KVM: arm64: Hide TCR2_EL1 from userspace when disabled for guestsMark Brown1-1/+1
2024-10-31KVM: arm64: Extend masking facility to arbitrary registersMarc Zyngier1-4/+8
2024-10-31KVM: arm64: Sanitise TCR2_EL2Marc Zyngier1-0/+22
2024-10-08KVM: arm64: nv: Punt stage-2 recycling to a vCPU requestOliver Upton1-2/+26
2024-10-08KVM: arm64: nv: Do not block when unmapping stage-2 if disallowedOliver Upton1-3/+3
2024-10-08KVM: arm64: nv: Keep reference on stage-2 MMU when scheduled outOliver Upton1-3/+18
2024-09-21Merge tag 'mm-stable-2024-09-20-02-31' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+0
2024-09-12Merge branch kvm-arm64/nv-at-pan into kvmarm-master/nextMarc Zyngier1-25/+15
2024-09-01mm: kvmalloc: align kvrealloc() with krealloc()Danilo Krummrich1-1/+0
2024-08-30KVM: arm64: nv: Sanitise SCTLR_EL1.EPAN according to VM configurationMarc Zyngier1-0/+8
2024-08-30KVM: arm64: nv: Make ps_to_output_size() generally availableMarc Zyngier1-14/+0
2024-08-30KVM: arm64: nv: Turn upper_attr for S2 walk into the full descriptorMarc Zyngier1-6/+6
2024-08-30KVM: arm64: nv: Enforce S2 alignment when contiguous bit is setMarc Zyngier1-5/+2
2024-08-27KVM: arm64: Add helper for last ditch idreg adjustmentsMarc Zyngier1-10/+5
2024-08-02KVM: arm64: free kvm->arch.nested_mmus with kvfree()Danilo Krummrich1-1/+1
2024-07-14Merge branch kvm-arm64/nv-sve into kvmarm/nextOliver Upton1-2/+1
2024-07-14Merge branch kvm-arm64/ctr-el0 into kvmarm/nextOliver Upton1-135/+123
2024-07-14Merge branch kvm-arm64/shadow-mmu into kvmarm/nextOliver Upton1-5/+780
2024-07-08Revert "KVM: arm64: nv: Fix RESx behaviour of disabled FGTs with negative pol...Oliver Upton1-12/+12
2024-07-03KVM: arm64: nv: Truely enable nXS TLBI operationsMarc Zyngier1-2/+2
2024-06-22KVM: arm64: nv: Unfudge ID_AA64PFR0_EL1 maskingOliver Upton1-1/+1
2024-06-20KVM: arm64: Allow the use of SVE+NVOliver Upton1-2/+1
2024-06-20KVM: arm64: nv: Use accessors for modifying ID registersOliver Upton1-134/+122
2024-06-20KVM: arm64: Add helper for writing ID regsOliver Upton1-2/+2
2024-06-19KVM: arm64: nv: Use GFP_KERNEL_ACCOUNT for sysreg_masks allocationOliver Upton1-1/+1
2024-06-19KVM: arm64: nv: Add handling of range-based TLBI operationsMarc Zyngier1-6/+2
2024-06-19KVM: arm64: nv: Add handling of outer-shareable TLBI operationsMarc Zyngier1-1/+4
2024-06-19KVM: arm64: nv: Invalidate TLBs based on shadow S2 TTL-like informationMarc Zyngier1-1/+84
2024-06-19KVM: arm64: nv: Handle FEAT_TTL hinted TLB operationsMarc Zyngier1-0/+89
2024-06-19KVM: arm64: nv: Handle TLB invalidation targeting L2 stage-1Marc Zyngier1-0/+35
2024-06-19KVM: arm64: nv: Unmap/flush shadow stage 2 page tablesChristoffer Dall1-0/+42
2024-06-19KVM: arm64: nv: Handle shadow stage 2 page faultsMarc Zyngier1-0/+45
2024-06-19KVM: arm64: nv: Implement nested Stage-2 page table walk logicChristoffer Dall1-0/+264
2024-06-19KVM: arm64: nv: Support multiple nested Stage-2 mmu structuresMarc Zyngier1-0/+218
2024-06-14KVM: arm64: nv: Fix RESx behaviour of disabled FGTs with negative polarityMarc Zyngier1-12/+12
2024-05-30KVM: arm64: nv: Expose BTI and CSV_frac to a guest hypervisorMarc Zyngier1-2/+4
2024-04-20KVM: arm64: nv: Advertise support for PAuthMarc Zyngier1-6/+2
2024-02-19KVM: arm64: nv: Add sanitising to VNCR-backed HCRX_EL2Marc Zyngier1-0/+42
2024-02-19KVM: arm64: nv: Add sanitising to VNCR-backed FGT sysregsMarc Zyngier1-0/+128
2024-02-19KVM: arm64: nv: Add sanitising to EL2 configuration registersMarc Zyngier1-1/+57
2024-02-19KVM: arm64: nv: Add sanitising to VNCR-backed sysregsMarc Zyngier1-1/+40
2024-02-08KVM: arm64: Expose ID_AA64MMFR4_EL1 to guestsMarc Zyngier1-0/+7
2023-12-19KVM: arm64: nv: Compute NV view of idregs as a one-offMarc Zyngier1-7/+15
2023-08-17KVM: arm64: nv: Add support for HCRX_EL2Marc Zyngier1-1/+2
2023-08-17KVM: arm64: nv: Expose FGT to nested guestsMarc Zyngier1-2/+3
2023-08-17KVM: arm64: nv: Expose FEAT_EVT to nested guestsMarc Zyngier1-2/+1
2023-02-11KVM: arm64: nv: Use reg_to_encoding() to get sysreg IDOliver Upton1-2/+1
2023-02-11KVM: arm64: nv: Filter out unsupported features from ID regsMarc Zyngier1-0/+162