mirror-linux/arch/x86
Linus Torvalds 6a97c4d526 Arm:
- Fix ITS EventID sanitisation when restoring an interrupt translation
   table.
 
 - Fix PPI memory leak when failing to initialise a vcpu.
 
 - Correctly return an error when the validation of a hypervisor trace
   descriptor fails, and limit this validation to protected mode only.
 
 RISC-V:
 
 - Fix invalid HVA warning in steal-time recording
 
 - Return SBI_ERR_FAILURE to guest upon OOM in pmu_event_info()
   and pmu_snapshot_set_shmem()
 
 - Fix NULL pointer dereference in SBI v0.1 SEND_IPI handler
 
 - Fix sign extension of value for MMIO loads
 
 s390:
 
 - Fix bugs in vSIE (nested virtualization) and UCONTROL, caused by the page
   table rewrite.
 
 x86:
 
 - Apply erratum #1235 workaround (disable AVIC IPI virtualization) on Hygon
   Family 18h, just like on AMD Family 17h.
 
 - When KVM_CAP_X86_APIC_BUS_CYCLES_NS is queried on a specific VM, return
   the VM's configured APIC bus frequency instead of the default.  This
   is less confusing (read: not wrong) and makes it easier to fill in CPUID
   information that communicates the APIC bus frequency to the guest.
 
 Selftests:
 
 - Do not include glibc-internal <bits/endian.h>; it worked by chance and
   broke building KVM selftests with musl.
 -----BEGIN PGP SIGNATURE-----
 
 iQFIBAABCgAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmoSp6cUHHBib256aW5p
 QHJlZGhhdC5jb20ACgkQv/vSX3jHroPgswgAiO5Gi7d6dIspG7e41g5fF2Wq5Rnq
 1nB7ZV+CqT0k1fvFe4hBrc2c+DLzFn+h3/fj+4scVF4oAN9YRauIq/2xlGWR23bR
 gsFncJ2w6TAKLN3MvCh1SpO+GI7kcnTs7HtJ6weDkddbGEtUIgkUZkwEYnEN4t6T
 pgO7USGFbBBXY575UO/xMeLkfyABzJlLjQbKrvG6RKtEsKAxzTxcPtjQegtHYH4Q
 6DLGif4YUB0ZWMQETccl/bKqU6L+OQgDUOSUoHWt+2ox0DLDwiy7VVf3infecXsJ
 r3PGKn709nlrd+hBn2S9gCbT/BCxp828k2DxSasZ7PQ8634O+qrpLLkODw==
 =VWgs
 -----END PGP SIGNATURE-----

Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm

Pull kvm fixes from Paolo Bonzini:
 "arm64:

   - Fix ITS EventID sanitisation when restoring an interrupt
     translation table.

   - Fix PPI memory leak when failing to initialise a vcpu.

   - Correctly return an error when the validation of a hypervisor trace
     descriptor fails, and limit this validation to protected mode only.

  RISC-V:

   - Fix invalid HVA warning in steal-time recording

   - Return SBI_ERR_FAILURE to guest upon OOM in pmu_event_info() and
     pmu_snapshot_set_shmem()

   - Fix NULL pointer dereference in SBI v0.1 SEND_IPI handler

   - Fix sign extension of value for MMIO loads

  s390:

   - Fix bugs in vSIE (nested virtualization) and UCONTROL, caused by
     the page table rewrite.

  x86:

   - Apply erratum #1235 workaround (disable AVIC IPI virtualization) on
     Hygon Family 18h, just like on AMD Family 17h.

   - When KVM_CAP_X86_APIC_BUS_CYCLES_NS is queried on a specific VM,
     return the VM's configured APIC bus frequency instead of the
     default. This is less confusing (read: not wrong) and makes it
     easier to fill in CPUID information that communicates the APIC bus
     frequency to the guest.

  Selftests:

   - Do not include glibc-internal <bits/endian.h>; it worked by chance
     and broke building KVM selftests with musl"

* tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
  KVM: SVM: Disable AVIC IPI virtualization on Hygon Family 18h (erratum #1235)
  KVM: selftests: Verify that KVM returns the configured APIC cycle length
  KVM: x86: Return the VM's configured APIC bus frequency when queried
  KVM: selftests: elf: Include <endian.h> instead of <bits/endian.h>
  KVM: s390: Properly reset zero bit in PGSTE
  KVM: s390: vsie: Fix redundant rmap entries
  KVM: s390: vsie: Fix unshadowing logic
  KVM: s390: Fix leaking kvm_s390_mmu_cache in case of errors
  KVM: s390: vsie: Fix memory leak when unshadowing
  KVM: arm64: Fix nVHE/pKVM hyp tracing error on invalid desc
  KVM: arm64: vgic: Free private_irqs when init fails after allocation
  KVM: arm64: vgic-its: Reject restored DTE with out-of-range num_eventid_bits
  RISC-V: KVM: Fix sign extension for MMIO loads
  RISC-V: KVM: Fix NULL pointer dereference in SBI v0.1 SEND_IPI handler
  riscv: kvm: return SBI_ERR_FAILURE for pmu_event_info() when OOM
  riscv: kvm: return SBI_ERR_FAILURE for pmu_snapshot_set_shmem() when OOM
  RISC-V: KVM: Fix invalid HVA warning in steal-time recording
2026-05-24 12:50:36 -07:00
..
boot - Change the SEV host code handling of when SNP gets enabled in order to allow 2026-04-14 15:20:54 -07:00
coco - Print TDX module version during boot 2026-04-14 14:42:55 -07:00
configs x86/64/defconfig: Add CONFIG_IRQ_REMAP 2026-03-10 19:01:37 +01:00
crypto This update includes the following changes: 2026-04-15 15:22:26 -07:00
entry x86/kvm/vmx: Fix VMX vs hrtimer_rearm_deferred() 2026-05-19 20:25:51 +02:00
events perf/x86/intel: Enable auto counter reload for DMR 2026-05-05 12:47:22 +02:00
hyperv x86/hyperv: Use any general-purpose register when saving %cr2 and %cr8 2026-03-12 04:25:20 +00:00
ia32
include Miscellaneous x86 fixes: 2026-05-24 11:00:45 -07:00
kernel x86/mm: Disable broadcast TLB flush when PCID is disabled 2026-05-20 14:15:07 -07:00
kvm Arm: 2026-05-24 12:50:36 -07:00
lib Merge branch 'nocache-cleanup' 2026-04-13 08:39:51 -07:00
math-emu
mm x86/efi: Restore IRQ state in EFI page fault handler 2026-05-05 09:31:28 +02:00
net bpf, x86: Emit ENDBR for indirect jump targets 2026-04-16 07:03:40 -07:00
pci PCI: Align head space better 2026-03-27 10:19:08 -05:00
platform x86/efi: Restore IRQ state in EFI page fault handler 2026-05-05 09:31:28 +02:00
power PM: hibernate: x86: Remove inclusion of crypto/hash.h 2026-03-19 16:13:32 +01:00
purgatory
ras
realmode
tools x86/vdso: Clean up remnants of VDSO32_NOTE_MASK 2026-03-31 09:43:29 +02:00
um Mostly cleanups and small things, notably: 2026-04-20 16:36:46 -07:00
video
virt Arm: 2026-04-17 07:18:03 -07:00
xen x86/xen: Tolerate nested XEN_LAZY_MMU entering/leaving 2026-05-14 18:33:05 +02:00
.gitignore
Kbuild
Kconfig x86/shstk: Prevent deadlock during shstk sigreturn 2026-04-20 22:54:24 +02:00
Kconfig.assembler
Kconfig.cpu x86/cpu: Remove M486/M486SX/ELAN support 2026-03-30 11:39:42 +02:00
Kconfig.cpufeatures * VDSO rework and cleanups 2026-02-10 19:34:26 -08:00
Kconfig.debug
Makefile kbuild: Consolidate C dialect options 2026-03-12 12:52:37 +01:00
Makefile.um x86/um: fix vDSO installation 2026-03-21 10:43:21 +01:00
Makefile_32.cpu x86/cpu: Remove M486/M486SX/ELAN support 2026-03-30 11:39:42 +02:00