Subject: [PATCH v6 0/6] Add PSCI v1.3 SYSTEM_OFF2 support for hibernation From: David Woodhouse To: Paolo Bonzini , Jonathan Corbet , Marc Zyngier , Oliver Upton , James Morse , Suzuki K Poulose , Zenghui Yu , Catalin Marinas , Will Deacon , Mark Rutland , Lorenzo Pieralisi , "Rafael J. Wysocki" , Pavel Machek , Len Brown , Shuah Khan , David Woodhouse , kvm@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-pm@vger.kernel.org, linux-kselftest@vger.kernel.org, Francesco Lavra , Miguel Luis Date: Sat, 19 Oct 2024 18:15:41 +0100 . Subject: [kvm-unit-tests PATCH 0/3] Fix arm64 clang errors on fpu tests From: Raghavendra Rao Ananta To: Subhasish Ghosh , Joey Gouly , Andrew Jones Cc: Oliver Upton , Marc Zyngier , Raghavendra Rao Anata , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org, kvm@vger.kernel.org Date: Tue, 22 Oct 2024 00:47:07 +0000 . Subject: [PATCH v2 00/13] Accelerate KVM RISC-V when running as a guest From: Anup Patel To: Palmer Dabbelt , Paul Walmsley Cc: Atish Patra , Andrew Jones , Anup Patel , kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Anup Patel Date: Mon, 21 Oct 2024 01:17:21 +0530 . Subject: [PATCH v2] KVM: SVM: Inhibit AVIC on SNP-enabled system without HvInUseWrAllowed feature From: Suravee Suthikulpanit To: , Date: Fri, 18 Oct 2024 08:50:37 +0000 . Subject: [PATCH] KVM: drop the kvm_has_noapic_vcpu optimization From: Bernhard Kauer To: kvm@vger.kernel.org Cc: Bernhard Kauer Date: Fri, 18 Oct 2024 12:08:45 +0200 . Subject: Re: [PATCH v8 01/11] cpuidle/poll_state: poll via smp_cond_load_relaxed() From: Ankur Arora To: Catalin Marinas Cc: Ankur Arora , "Okanovic, Haris" , "kvm@vger.kernel.org" , "rafael@kernel.org" , "sudeep.holla@arm.com" , "joao.m.martins@oracle.com" , "dave.hansen@linux.intel.com" , "konrad.wilk@oracle.com" , "wanpengli@tencent.com" , "cl@gentwo.org" , "linux-kernel@vger.kernel.org" , "mingo@redhat.com" , "maobibo@loongson.cn" , "pbonzini@redhat.com" , "tglx@linutronix.de" , "misono.tomohiro@fujitsu.com" , "daniel.lezcano@linaro.org" , "arnd@arndb.de" , "lenb@kernel.org" , "will@kernel.org" , "hpa@zytor.com" , "peterz@infradead.org" , "boris.ostrovsky@oracle.com" , "vkuznets@redhat.com" , "linux-arm-kernel@lists.infradead.org" , "linux-pm@vger.kernel.org" , "bp@alien8.de" , "mtosatti@redhat.com" , "x86@kernel.org" , "mark.rutland@arm.com" Date: Fri, 18 Oct 2024 12:00:34 -0700 . Subject: vmx_pmu_caps_test fails on Skylake based CPUS due to read only LBRs From: Maxim Levitsky To: kvm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Sean Christopherson Date: Fri, 18 Oct 2024 20:48:45 -0400 . Subject: [PATCH 0/2] mm: multi-gen LRU: Have secondary MMUs participate in MM_WALK From: James Houghton To: Andrew Morton Cc: Sean Christopherson , Paolo Bonzini , David Matlack , David Rientjes , James Houghton , Oliver Upton , David Stevens , Yu Zhao , Wei Xu , Axel Rasmussen , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Date: Sat, 19 Oct 2024 01:29:37 +0000 . Subject: [PATCH v13 00/13] Add Secure TSC support for SNP guests From: Nikunj A Dadhania To: , , , , Date: Mon, 21 Oct 2024 11:21:43 +0530 . Subject: [PATCH v1 0/4] KVM selftests enhancements From: Manali Shukla To: , Date: Mon, 21 Oct 2024 06:22:22 +0000 . Subject: [PATCH v2] KVM: x86: Drop the kvm_has_noapic_vcpu optimization From: Bernhard Kauer To: kvm@vger.kernel.org Cc: Chao Gao , Bernhard Kauer Date: Mon, 21 Oct 2024 12:22:47 +0200 . Subject: [PATCH v3 0/2] vhost-vdpa: Add support for NO-IOMMU mode From: Srujana Challa To: , Date: Mon, 21 Oct 2024 17:38:35 +0530 . Subject: [PATCH] vfio/qat: fix overflow check in qat_vf_resume_write() From: Giovanni Cabiddu To: alex.williamson@redhat.com Cc: jgg@ziepe.ca, yishaih@nvidia.com, shameerali.kolothum.thodi@huawei.com, kevin.tian@intel.com, xin.zeng@intel.com, kvm@vger.kernel.org, qat-linux@intel.com, Giovanni Cabiddu , stable@vger.kernel.org, Zijie Zhao Date: Mon, 21 Oct 2024 13:37:53 +0100 . Subject: [PATCH vhost 0/2] vdpa/mlx5: Iova mapping related fixes From: Dragos Tatulea To: "Michael S . Tsirkin" , , Si-Wei Liu Date: Mon, 21 Oct 2024 16:40:38 +0300 . Subject: [GIT PULL] KVM fixes for Linux 6.12-rc5 From: Paolo Bonzini To: torvalds@linux-foundation.org Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org Date: Mon, 21 Oct 2024 13:17:28 -0400 Linus, The following changes since commit c8d430db8eec7d4fd13a6bea27b7086a54eda6da: Merge tag 'kvmarm-fixes-6.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD (2024-10-06 03:59:22 -0400) are available in the Git repository at: https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus for you to fetch changes up to e9001a382fa2c256229adc68d55212028b01d515: Merge tag 'kvmarm-fixes-6.12-3' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD (2024-10-20 12:10:59 -0400) After seeing your release commentary yesterday, well, this is not going to make rc5 smaller. The short description is that there is mostly Arm stuff here (due to me sitting on submaintainer pull requests for perhaps too long) and a bit of everything for x86 (host, guest, selftests, docs). Paolo ---------------------------------------------------------------- ARM64: * Fix the guest view of the ID registers, making the relevant fields writable from userspace (affecting ID_AA64DFR0_EL1 and ID_AA64PFR1_EL1) * Correcly expose S1PIE to guests, fixing a regression introduced in 6.12-rc1 with the S1POE support * Fix the recycling of stage-2 shadow MMUs by tracking the context (are we allowed to block or not) as well as the recycling state * Address a couple of issues with the vgic when userspace misconfigures the emulation, resulting in various splats. Headaches courtesy of our Syzkaller friends * Stop wasting space in the HYP idmap, as we are dangerously close to the 4kB limit, and this has already exploded in -next * Fix another race in vgic_init() * Fix a UBSAN error when faking the cache topology with MTE enabled RISCV: * RISCV: KVM: use raw_spinlock for critical section in imsic x86: * A bandaid for lack of XCR0 setup in selftests, which causes trouble if the compiler is configured to have x86-64-v3 (with AVX) as the default ISA. Proper XCR0 setup will come in the next merge window. * Fix an issue where KVM would not ignore low bits of the nested CR3 and potentially leak up to 31 bytes out of the guest memory's bounds * Fix case in which an out-of-date cached value for the segments could by returned by KVM_GET_SREGS. * More cleanups for KVM_X86_QUIRK_SLOT_ZAP_ALL * Override MTRR state for KVM confidential guests, making it WB by default as is already the case for Hyper-V guests. Generic: * Remove a couple of unused functions ---------------------------------------------------------------- Cyan Yang (1): RISCV: KVM: use raw_spinlock for critical section in imsic Dr. David Alan Gilbert (2): KVM: Remove unused kvm_vcpu_gfn_to_pfn KVM: Remove unused kvm_vcpu_gfn_to_pfn_atomic Ilkka Koskinen (1): KVM: arm64: Fix shift-out-of-bounds bug Kirill A. Shutemov (1): x86/kvm: Override default caching mode for SEV-SNP and TDX Marc Zyngier (3): Merge branch kvm-arm64/idregs-6.12 into kvmarm/fixes KVM: arm64: Don't eagerly teardown the vgic on init error KVM: arm64: Shave a few bytes from the EL2 idmap code Mark Brown (1): KVM: arm64: Expose S1PIE to guests Maxim Levitsky (1): KVM: VMX: reset the segment cache after segment init in vmx_vcpu_reset() Oliver Upton (7): KVM: arm64: Unregister redistributor for failed vCPU creation KVM: arm64: nv: Keep reference on stage-2 MMU when scheduled out KVM: arm64: nv: Do not block when unmapping stage-2 if disallowed KVM: arm64: nv: Punt stage-2 recycling to a vCPU request KVM: arm64: nv: Clarify safety of allowing TLBI unmaps to reschedule KVM: arm64: vgic: Don't check for vgic_ready() when setting NR_IRQS KVM: arm64: Ensure vgic_ready() is ordered against MMIO registration Paolo Bonzini (2): Merge tag 'kvmarm-fixes-6.12-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD Merge tag 'kvmarm-fixes-6.12-3' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD Sean Christopherson (5): KVM: x86/mmu: Zap only SPs that shadow gPTEs when deleting memslot KVM: x86/mmu: Add lockdep assert to enforce safe usage of kvm_unmap_gfn_range() KVM: x86: Clean up documentation for KVM_X86_QUIRK_SLOT_ZAP_ALL KVM: nSVM: Ignore nCR3[4:0] when loading PDPTEs from memory KVM: selftests: Fix out-of-bounds reads in CPUID test's array lookups Shameer Kolothum (1): KVM: arm64: Make the exposed feature bits in AA64DFR0_EL1 writable from userspace Shaoqin Huang (4): KVM: arm64: Disable fields that KVM doesn't know how to handle in ID_AA64PFR1_EL1 KVM: arm64: Use kvm_has_feat() to check if FEAT_SSBS is advertised to the guest KVM: arm64: Allow userspace to change ID_AA64PFR1_EL1 KVM: selftests: aarch64: Add writable test for ID_AA64PFR1_EL1 Vitaly Kuznetsov (1): KVM: selftests: x86: Avoid using SSE/AVX instructions Documentation/virt/kvm/api.rst | 16 ++--- Documentation/virt/kvm/locking.rst | 2 +- arch/arm64/include/asm/kvm_asm.h | 1 + arch/arm64/include/asm/kvm_host.h | 7 +++ arch/arm64/include/asm/kvm_mmu.h | 3 +- arch/arm64/include/asm/kvm_nested.h | 4 +- arch/arm64/kernel/asm-offsets.c | 1 + arch/arm64/kvm/arm.c | 5 ++ arch/arm64/kvm/hyp/nvhe/hyp-init.S | 52 ++++++++------- arch/arm64/kvm/hypercalls.c | 12 ++-- arch/arm64/kvm/mmu.c | 15 ++--- arch/arm64/kvm/nested.c | 53 +++++++++++++--- arch/arm64/kvm/sys_regs.c | 77 ++++++++++++++++++++--- arch/arm64/kvm/vgic/vgic-init.c | 41 ++++++++++-- arch/arm64/kvm/vgic/vgic-kvm-device.c | 7 ++- arch/riscv/kvm/aia_imsic.c | 8 +-- arch/x86/kernel/kvm.c | 4 ++ arch/x86/kvm/mmu/mmu.c | 27 +++++--- arch/x86/kvm/svm/nested.c | 6 +- arch/x86/kvm/vmx/vmx.c | 6 +- include/linux/kvm_host.h | 2 - tools/testing/selftests/kvm/Makefile | 1 + tools/testing/selftests/kvm/aarch64/set_id_regs.c | 16 ++++- tools/testing/selftests/kvm/x86_64/cpuid_test.c | 2 +- virt/kvm/kvm_main.c | 12 ---- 25 files changed, 277 insertions(+), 103 deletions(-) . Subject: [PATCH] KVM: selftests: Fix build on on non-x86 architectures From: Mark Brown To: Paolo Bonzini , Shuah Khan , Vitaly Kuznetsov , Linus Torvalds Cc: kvm@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Brown Date: Mon, 21 Oct 2024 23:11:40 +0100 . Subject: [PATCH v4 0/4] Add support for the Idle HLT intercept feature From: Manali Shukla To: , Date: Tue, 22 Oct 2024 05:48:06 +0000 . Subject: [PATCH] kvm/x86: simplify kvm_mmu_do_page_fault() a little bit From: Juergen Gross To: linux-kernel@vger.kernel.org, x86@kernel.org, kvm@vger.kernel.org Cc: Juergen Gross , Sean Christopherson , Paolo Bonzini , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" Date: Tue, 22 Oct 2024 12:08:12 +0200 . Subject: [PATCH v2 00/20] maintainer updates (testing, gdbstub, plugins) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Beraldo Leal , Laurent Vivier , Wainer dos Santos Moschetta , Mahmoud Mandour , Jiaxun Yang , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Yanan Wang , Thomas Huth , John Snow , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , qemu-arm@nongnu.org, =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Eduardo Habkost , devel@lists.libvirt.org, Cleber Rosa , kvm@vger.kernel.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Alexandre Iooss , Peter Maydell , Richard Henderson , Riku Voipio , Zhao Liu , Marcelo Tosatti , "Edgar E. Iglesias" , Marcel Apfelbaum , Pierrick Bouvier , Paolo Bonzini Date: Tue, 22 Oct 2024 11:55:54 +0100 . Subject: [PATCH v4 00/11] s390/kvm: Handle guest-related program interrupts in KVM From: Claudio Imbrenda To: linux-kernel@vger.kernel.org Cc: borntraeger@de.ibm.com, nsg@linux.ibm.com, nrb@linux.ibm.com, frankja@linux.ibm.com, seiden@linux.ibm.com, hca@linux.ibm.com, agordeev@linux.ibm.com, gor@linux.ibm.com, gerald.schaefer@linux.ibm.com, kvm@vger.kernel.org, linux-s390@vger.kernel.org, david@redhat.com Date: Tue, 22 Oct 2024 14:05:50 +0200 . Subject: [PATCH v4 0/9] Introduce SMP Cache Topology From: Zhao Liu To: =?UTF-8?q?Daniel=20P=20=2E=20Berrang=C3=A9?= , Igor Mammedov , Eduardo Habkost , Marcel Apfelbaum , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Yanan Wang , "Michael S . Tsirkin" , Paolo Bonzini , Richard Henderson , Eric Blake , Markus Armbruster , Marcelo Tosatti , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Peter Maydell , Jonathan Cameron , Sia Jee Heng , Alireza Sanaee Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org, qemu-riscv@nongnu.org, qemu-arm@nongnu.org, Zhenyu Wang , Dapeng Mi , Zhao Liu Date: Tue, 22 Oct 2024 21:51:42 +0800 .