linux/arch/arm64/kvm/hyp/nvhe
Paolo Bonzini 909eac682c KVM/arm64 fixes for 7.1, take #1
- Allow tracing for non-pKVM, which was accidentally disabled when
   the series was merged
 
 - Rationalise the way the pKVM hypercall ranges are defined by using
   the same mechanism as already used for the vcpu_sysreg enum
 
 - Enforce that SMCCC function numbers relayed by the pKVM proxy are
   actually compliant with the specification
 
 - Fix a couple of feature to idreg mappings which resulted in the
   wrong sanitisation being applied
 
 - Fix the GICD_IIDR revision number field that could never been
   written correctly by userspace
 
 - Make kvm_vcpu_initialized() correctly use its parameter instead
   of relying on the surrounding context
 
 - Enforce correct ordering in __pkvm_init_vcpu(), plugging a
   potential pin leak at the same time
 
 - Move __pkvm_init_finalise() to a less dangerous spot, avoiding
   future problems
 
 - Restore functional userspace irqchip support after a four year
   breakage (last functional kernel was 5.18...). This is obviously
   ripe for garbage collection.
 
 - ... and the usual lot of spelling fixes
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEn9UcU+C1Yxj9lZw9I9DQutE9ekMFAmnrhPoACgkQI9DQutE9
 ekNyIxAAgXhyAJzOEvL22uk8bsCNh+mkV/33cI6uEdxJDNWl6yqcaiWqh9PMK0b6
 JtV/TqNwr9ydqbmJPhlpoRA7tRmoOPXVI7tU0BvqYMdG1FXSqVlPK+DAw/GnOwYD
 2vBz3I6Rwm1C5GAggcZNbU+DWXXpFnnILxSEd0N5HHmhPYp3q20jXMcKKfe7WRVn
 DDn2BIAGe65y1pWrG6f2TMxHAg4SghHy0CCA1+v0cfLyklseUlRVbAjaDO4x/2vT
 qJnjd5dDAzktarOiKFe141HrX4UE13Y3vvOlWDSog3iuACrr09HM8wVEh/49cz+5
 55UKoldaQokTOHhe5p560gfzvsIfIjFPrWBkHJ1rke4ajE4Igg1FQirfl+CaZ3L3
 h8b6gLqu8/i2e+Nj45AoDcvoxCuxTTwPIW/X/yJYBUMCfl5DIRj9SO5W7FHv3iLv
 Aa0ZdDb0rgvg7IW6kiFwlysNPvMAHpigkj4hCEonfP7dQTXjaxWybB8I3a4pOL5Q
 2wSkAcqaYo+UgMXo5r4rbsEWgdrql4jxT9xcEMdv9pxpPck2CWVG1zdmgbHW1rk/
 Pyh0qWbvdnxY9tDCZFxIoNhrynrcZUaoWJPScEU7lHb7T8+Gcb7ylnoJQjNu3K7z
 ZDS2QccLncILTPJabGcFm0a0DnmFfyqwqSo5iMeBtQDnwlKSLko=
 =p/JR
 -----END PGP SIGNATURE-----

Merge tag 'kvmarm-fixes-7.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD

KVM/arm64 fixes for 7.1, take #1

- Allow tracing for non-pKVM, which was accidentally disabled when
  the series was merged

- Rationalise the way the pKVM hypercall ranges are defined by using
  the same mechanism as already used for the vcpu_sysreg enum

- Enforce that SMCCC function numbers relayed by the pKVM proxy are
  actually compliant with the specification

- Fix a couple of feature to idreg mappings which resulted in the
  wrong sanitisation being applied

- Fix the GICD_IIDR revision number field that could never been
  written correctly by userspace

- Make kvm_vcpu_initialized() correctly use its parameter instead
  of relying on the surrounding context

- Enforce correct ordering in __pkvm_init_vcpu(), plugging a
  potential pin leak at the same time

- Move __pkvm_init_finalise() to a less dangerous spot, avoiding
  future problems

- Restore functional userspace irqchip support after a four year
  breakage (last functional kernel was 5.18...). This is obviously
  ripe for garbage collection.

- ... and the usual lot of spelling fixes
2026-04-27 04:24:34 -04:00
..
.gitignore KVM: arm64: Generate hyp relocation data 2021-01-23 14:01:00 +00:00
cache.S KVM: arm64: Provide I-cache invalidation by virtual address at EL2 2022-11-11 17:16:25 +00:00
clock.c KVM: arm64: Add clock support to nVHE/pKVM hyp 2026-03-11 08:51:16 +00:00
debug-sr.c KVM: arm64: Don't pass host_debug_state to BRBE world-switch routines 2026-03-28 17:07:50 +00:00
early_alloc.c KVM: arm64: Provide {get,put}_page() stubs for early hyp allocator 2021-12-16 12:58:55 +00:00
events.c KVM: arm64: Add event support to the nVHE/pKVM hyp and trace remote 2026-03-11 08:51:17 +00:00
ffa.c KVM: arm64: Add hyp_enter/hyp_exit events to nVHE/pKVM hyp 2026-03-11 08:51:17 +00:00
gen-hyprel.c KVM: arm64: nVHE: gen-hyprel: Skip R_AARCH64_ABS32 2024-06-20 17:40:54 +00:00
host.S Merge branch kvm-arm64/pkvm-psci into kvmarm-master/next 2026-04-08 12:23:24 +01:00
hyp-init.S Arm: 2026-04-17 07:18:03 -07:00
hyp-main.c KVM: arm64: Reject non compliant SMCCC function calls in pKVM 2026-04-24 12:03:57 +01:00
hyp-smp.c KVM: arm64: Unmap 'kvm_arm_hyp_percpu_base' from the host 2022-11-11 17:19:35 +00:00
hyp.lds.S KVM: arm64: Add event support to the nVHE/pKVM hyp and trace remote 2026-03-11 08:51:17 +00:00
list_debug.c kvm: arm64: use BUG() instead of BUG_ON(1) 2025-08-08 01:28:57 -07:00
Makefile Merge branch kvm-arm64/vgic-v5-ppi into kvmarm-master/next 2026-04-08 12:22:35 +01:00
mem_protect.c KVM: arm64: Extend pKVM page ownership selftests to cover guest hvcs 2026-03-30 16:58:09 +01:00
mm.c Arm: 2026-04-17 07:18:03 -07:00
page_alloc.c KVM: arm64: Make hyp_page::order a u8 2024-12-20 09:43:59 +00:00
pkvm.c KVM: arm64: Fix pin leak and publication ordering in __pkvm_init_vcpu() 2026-04-24 12:03:57 +01:00
psci-relay.c Merge branch kvm-arm64/pkvm-psci into kvmarm-master/next 2026-04-08 12:23:24 +01:00
setup.c KVM: arm64: Fix initialisation order in __pkvm_init_finalise() 2026-04-24 12:03:57 +01:00
stacktrace.c KVM: arm64: Add PKVM_DISABLE_STAGE2_ON_PANIC 2026-03-11 08:51:16 +00:00
switch.c Merge branch kvm-arm64/pkvm-protected-guest into kvmarm-master/next 2026-04-08 12:25:39 +01:00
sys_regs.c Merge branch kvm-arm64/vgic-fixes-7.1 into kvmarm-master/next 2026-04-08 12:26:00 +01:00
sysreg-sr.c KVM: arm64: Load VPIDR_EL2 with the VM's MIDR_EL1 value 2025-02-26 01:32:05 -08:00
timer-sr.c KVM: arm64: Work around x1e's CNTVOFF_EL2 bogosity 2025-01-02 19:19:10 +00:00
tlb.c arm64: mm: Push __TLBI_VADDR() into __tlbi_level() 2026-03-13 17:23:03 +00:00
trace.c KVM: arm64: Add trace reset to the nVHE/pKVM hyp 2026-03-11 08:51:16 +00:00