summaryrefslogtreecommitdiff
path: root/include/linux/kvm_host.h
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2026-07-27 12:44:28 -0700
committerSean Christopherson <seanjc@google.com>2026-07-27 12:44:28 -0700
commit271255273d5ff348fe29d89fe4712b2f7f7907c3 (patch)
treee2e22f26dd411163c6f803f2d7b42e8eca762d35 /include/linux/kvm_host.h
parenta204badd8432f93b7e862e7dac6db0fe3d65f370 (diff)
parent2abcdf03fda1380bcbe00417b9ce2b4afb30899b (diff)
parent9c66085e6dcfb44b70970aa4e323003fc7f2b738 (diff)
parentdb3a46e200df2f65aec7d1f0a076c99bc8484ea0 (diff)
parent2708ecca4dbdb51e40e0f6ada9154d7162b09623 (diff)
parent710b3a30f407e6f33ca98ebdbacfb6e1a6a55527 (diff)
parente428f9779a43737d830111238816f1928b07aefb (diff)
parent653857a5af46237eacbf886338af9972574cd781 (diff)
parentec9a16c6aeba8e19ce98c58a1ac255681a4dd0ac (diff)
parent05a0b701d1089fb57beeb8982f23c3bbafe0fa8b (diff)
downloadlinux-next-271255273d5ff348fe29d89fe4712b2f7f7907c3.tar.gz
linux-next-271255273d5ff348fe29d89fe4712b2f7f7907c3.zip
Merge branches 'coco', 'fixes', 'generic', 'irq_test', 'misc', 'mmu', 'selftests', 'svm' and 'vmx'
* coco: (21 commits) KVM: guest_memfd: Make private exactly what can be mapped on page fault KVM: guest_memfd: Explicitly pass number of pages to make_private() hook KVM: guest_memfd: Rename prepare() hook and Kconfig to make_private() / CONVERT KVM: guest_memfd: Only "prepare" folios for private pages KVM: guest_memfd: Add helpers to query SHARED vs. PRIVATE for a given page KVM: guest_memfd: Drop the redundant printk on arch gmem_prepare() failure KVM: x86: Rename kvm_x86_ops' gmem_invalidate() to gmem_make_shared() KVM: guest_memfd: Rename invalidate() arch hook to reclaim() and isolate it KVM: guest_memfd: Pass the number of pages instead of the end pfn into .invalidate() KVM: x86: Guard .gmem_prepare() declarations with HAVE_KVM_GMEM_PREPARE=y KVM: SEV: Mark vCPU has having guest-provided VMSA even if its invalid KVM: SEV: Forcefully invalidate SNP VMSA if its backing gmem page is zapped KVM: x86/mmu: Use split "zap all fast" helpers when invalidating memslot KVM: x86/mmu: Split kvm_mmu_zap_all_fast() into "front" and "back" halves KVM: x86/mmu: Fold kvm_mmu_zap_memslot() into kvm_arch_flush_shadow_memslot() KVM: x86: Ensure runtime reads of disabled_quirks are resolved once KVM: x86: Serialize writes to disabled_quirks using kvm->lock KVM: SEV: Wire up kvm_x86_ops.gmem_xxx() if and only if CONFIG_KVM_AMD_SEV=y KVM: SEV: Mark vCPU RUNNABLE after AP_CREATE, even if VMSA is unusable KVM: SEV: Extract loading of guest-provided VMSA to a separate helper ... * fixes: (13458 commits) KVM: x86: Fix null pointer deref due to dummy array in trace_kvm_inj_exception() KVM: TDX: Reject concurrent change to CPUID entry count KVM: selftests: Verify SNP VMs are rejected from migration and mirroring KVM: SEV: Do not allow intra-host migration/mirroring of SNP VMs KVM: nVMX: Don't use vmcs01.GUEST_CR3 to snapshot L1's CR3 when EPT is disabled KVM: nVMX: Move vTPR vs. TPR Threshold consistency check into "normal" checks KVM: x86: Ignore pending PV EOI if the vCPU has since disabled PV EOIs KVM: x86: Nullify irqfd->producer if updating IRTE for bypass fails Linux 7.2-rc2 netfs: Fix barriering when walking subrequest list Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (headers) parisc: #include <linux/compiler.h> for unlikely() in <asm/ptrace.h> media: em28xx: Add include for struct usb_device_id LoongArch: KVM: Add include defining struct cpu_feature ALSA: hda/core: Add include defining struct hda_device_id usb: dwc2: Add include defining struct pci_device_id platform/x86: int3472: Add include defining struct dmi_system_id platform/x86: x86-android-tablets: Add include defining struct dmi_system_id i2c: Let i2c-core.h include <linux/i2c.h> ... * generic: KVM: Remove kvm_debugfs_dir on kvm_init() error paths * irq_test: (13470 commits) KVM: selftests: Add xAPIC support in eventfd IRQ test KVM: selftests: Make number of vCPUs configurable in IRQ test KVM: selftests: Verify vCPU migration during IRQ delivery in IRQ test KVM: selftests: Add a utility to pin a task to a random CPU, given a CPU set KVM: selftests: Add kvm_sched_getaffinity() wrapper and convert users KVM: selftests: Add kvm_gettid() wrapper and convert users KVM: selftests: Verify non-postable IRQ remapping in IRQ test KVM: selftests: Make number of IRQs configurable in IRQ test KVM: selftests: Add option to set empty routing between IRQs in eventfd IRQ test KVM: selftests: Verify interrupts are received when IRQ affinity changes in IRQ test KVM: selftests: Add a helper to set proc IRQ affinity for IRQ test KVM: selftests: Add VFIO device support to eventfd IRQ test KVM: selftests: Add helper to get host IRQ from device MSI-X for IRQ bypass test KVM: selftests: Add an irqfd send+receive (and later IRQ bypass) test KVM: selftests: Add helper to generate random u64 in range [min,max] KVM: selftests: Seed libc's RNG before using it to generate a seed for KVM's pRNG KVM: selftests: Initialize the default/global pRNG during kvm_selftest_init() KVM: selftests: Rename guest_rng to kvm_rng KVM: selftests: Add macros to read/write+sync to/from guest memory KVM: selftests: Build and link selftests/vfio/lib into KVM selftests ... * misc: (57 commits) KVM: x86/xen: Do not corrupt KVM clock in kvm_xen_shared_info_init() KVM: x86: Don't WARN if IRQ disappears when Xen emulation is enabled. KVM: x86: Don't WARN if IRQ disappears because it was cleared from the PIC KVM: x86: Replace delivery mode TODO with WARN_ON_ONCE KVM: selftests: Extend set_sregs test to cover EFER KVM: x86: Check EFER validity on KVM_SET_SREGS* KVM: x86: Move supported EFER bits to kvm_caps KVM: x86: Reverse the polarity of efer_reserved_bits KVM: x86: Always initialize EFER reserved bits on vendor initialization KVM: x86: Disallow EFER.LME and EFER.LMA if long mode is not supported KVM: x86: Move enabling EFER.SVME and EFER.LMSLE to generic EFER setup KVM: x86: hyper-v: Clamp stimer deadline to avoid livelock KVM: x86: Use KVM_X86_OP() for the .pi_update_irte() hook KVM: x86: Fix array_index_nospec() protection in kvm_vcpu_ioctl_x86_set_mce() KVM: x86: Expose Zhaoxin RSA CPUID feature KVM: x86: Expose Zhaoxin PHE2 CPUID feature KVM: x86: Expose Zhaoxin RNG2 CPUID feature KVM: x86: Expose Zhaoxin CCS (SM3 + SM4) CPUID feature KVM: x86: Expose Zhaoxin SM2 CPUID feature KVM: x86: Move nested_ops out of kvm_x86_ops, to global kvm_nested_ops ... * mmu: KVM: x86/mmu: Consume the locked rmap value in the lockless rmap walk * selftests: KVM: selftests: Fix typos in x86 and riscv tests KVM: selftests: Fix a spelling error in an xapic_ipi_test comment KVM: selftests: Randomize pCPU in steal time test KVM: selftests: Drop superfluous use of pthread_attr_setaffinity_np() * svm: KVM: SVM: Always intercept ICEBP to workaround AMD ICEBP+TASK_SWITCH flaws KVM: SEV: Allocate full pages for {DE,EN}CRYPT ops on SNP-enabled hosts KVM: SEV: Drop FOLL_WRITE for encrypted region registration KVM: SVM: Remove redundant ret = 0 in svm_set_nested_state KVM: SVM: Remove VM from the GA Log notifier list before VM destruction KVM: SVM: Do all per-VM AVIC initialization during vCPU precreation phase KVM: SVM: Make kvm_x86_ops.vcpu_precreate() hook fully AVIC specific * vmx: KVM: nVMX: Service local TLB flushes on failed nested VM-Enter KVM: VMX: Use cached vcpu_vmx pointer in MSR and segment helpers