<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/virt/kvm/kvm_main.c, branch next/master</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=next%2Fmaster</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=next%2Fmaster'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2026-04-06T14:02:09Z</updated>
<entry>
<title>Merge branch 'next' of https://github.com/kvm-x86/linux.git</title>
<updated>2026-04-06T14:02:09Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2026-04-06T14:02:07Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=f54daf862d83649d7e07007c97c269f258b95a55'/>
<id>urn:sha1:f54daf862d83649d7e07007c97c269f258b95a55</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mm: change to return bool for the MMU notifier's young flag check</title>
<updated>2026-04-05T20:53:35Z</updated>
<author>
<name>Baolin Wang</name>
<email>baolin.wang@linux.alibaba.com</email>
</author>
<published>2026-03-21T06:42:54Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=1fc7dc675e26c43f3219d70a09b9f0c4aa43a13a'/>
<id>urn:sha1:1fc7dc675e26c43f3219d70a09b9f0c4aa43a13a</id>
<content type='text'>
The MMU notifier young flag check related functions only return whether
the young flag was set.  Change the return type to bool to make the
intention clearer.

Link: https://lkml.kernel.org/r/a9ad3fe938002d87358e7bfca264f753ab602561.1774075004.git.baolin.wang@linux.alibaba.com
Signed-off-by: Baolin Wang &lt;baolin.wang@linux.alibaba.com&gt;
Reviewed-by: Lorenzo Stoakes (Oracle) &lt;ljs@kernel.org&gt;
Acked-by: David Hildenbrand (Arm) &lt;david@kernel.org&gt;
Cc: Liam Howlett &lt;liam.howlett@oracle.com&gt;
Cc: Michal Hocko &lt;mhocko@suse.com&gt;
Cc: Mike Rapoport &lt;rppt@kernel.org&gt;
Cc: Ritesh Harjani (IBM) &lt;ritesh.list@gmail.com&gt;
Cc: Suren Baghdasaryan &lt;surenb@google.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>KVM: remove hugetlb.h inclusion</title>
<updated>2026-04-05T20:53:23Z</updated>
<author>
<name>David Hildenbrand (Arm)</name>
<email>david@kernel.org</email>
</author>
<published>2026-03-09T15:19:00Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e8301b6adcc42132225b9f8a58f587c0f6d962cf'/>
<id>urn:sha1:e8301b6adcc42132225b9f8a58f587c0f6d962cf</id>
<content type='text'>
hugetlb.h is no longer required now that we moved vma_kernel_pagesize() to
mm.h.

Link: https://lkml.kernel.org/r/20260309151901.123947-4-david@kernel.org
Signed-off-by: David Hildenbrand (Arm) &lt;david@kernel.org&gt;
Reviewed-by: Lorenzo Stoakes (Oracle) &lt;ljs@kernel.org&gt;
Acked-by: Mike Rapoport (Microsoft) &lt;rppt@kernel.org&gt;
Cc: "Christophe Leroy (CS GROUP)" &lt;chleroy@kernel.org&gt;
Cc: Dan Williams &lt;dan.j.williams@intel.com&gt;
Cc: Jann Horn &lt;jannh@google.com&gt;
Cc: Liam Howlett &lt;liam.howlett@oracle.com&gt;
Cc: Madhavan Srinivasan &lt;maddy@linux.ibm.com&gt;
Cc: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Cc: Michal Hocko &lt;mhocko@suse.com&gt;
Cc: Muchun Song &lt;muchun.song@linux.dev&gt;
Cc: Nicholas Piggin &lt;npiggin@gmail.com&gt;
Cc: Oscar Salvador &lt;osalvador@suse.de&gt;
Cc: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
Cc: Pedro Falcato &lt;pfalcato@suse.de&gt;
Cc: Suren Baghdasaryan &lt;surenb@google.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'vmxon'</title>
<updated>2026-04-03T23:15:44Z</updated>
<author>
<name>Sean Christopherson</name>
<email>seanjc@google.com</email>
</author>
<published>2026-04-03T23:15:44Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=b89df297a47e641581ee67793592e5c6ae0428f4'/>
<id>urn:sha1:b89df297a47e641581ee67793592e5c6ae0428f4</id>
<content type='text'>
* vmxon:
  KVM: TDX: Fold tdx_bringup() into tdx_hardware_setup()
  KVM: Bury kvm_{en,dis}able_virtualization() in kvm_main.c once more
  x86/virt/tdx: Use ida_is_empty() to detect if any TDs may be running
  x86/virt/tdx: KVM: Consolidate TDX CPU hotplug handling
  x86/virt/tdx: Tag a pile of functions as __init, and globals as __ro_after_init
  KVM: x86/tdx: Do VMXON and TDX-Module initialization during subsys init
  x86/virt/tdx: Drop the outdated requirement that TDX be enabled in IRQ context
  x86/virt: Add refcounting of VMX/SVM usage to support multiple in-kernel users
  KVM: x86: Move bulk of emergency virtualizaton logic to virt subsystem
  KVM: SVM: Move core EFER.SVME enablement to kernel
  KVM: VMX: Move core VMXON enablement to kernel
  x86/virt: Force-clear X86_FEATURE_VMX if configuring root VMCS fails
  KVM: VMX: Unconditionally allocate root VMCSes during boot CPU bringup
  KVM: x86: Move "kvm_rebooting" to kernel as "virt_rebooting"
  KVM: VMX: Move architectural "vmcs" and "vmcs_hdr" structures to public vmx.h
  KVM: x86: Move kvm_rebooting to x86
</content>
</entry>
<entry>
<title>Merge branch 'misc'</title>
<updated>2026-04-03T23:13:20Z</updated>
<author>
<name>Sean Christopherson</name>
<email>seanjc@google.com</email>
</author>
<published>2026-04-03T23:13:20Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=54cd15c0e3fe0b3dd3181c9e28c1d7ef66269d53'/>
<id>urn:sha1:54cd15c0e3fe0b3dd3181c9e28c1d7ef66269d53</id>
<content type='text'>
* misc:
  KVM: x86: Advertise AVX512 Bit Matrix Multiply (BMM) to userspace
  KVM: x86: Immediately fail the build when possible if required #define is missing
  KVM: X86: Fix array_index_nospec protection in __pv_send_ipi
  KVM: x86: Add LAPIC guard in kvm_apic_write_nodecode()
  KVM: x86: Use kvm_cpu_cap_has() for EFER bits enablement checks
  KVM: x86: Move some EFER bits enablement to common code
  KVM: x86: Drop redundant call to kvm_deliver_exception_payload()
  KVM: x86: Ignore cpuid faulting in SMM
  KVM: x86: Check for injected exceptions before queuing a debug exception
  KVM: SVM: Mark module parameters as __ro_after_init for security and performance
  KVM: Mark halt poll and other module parameters with appropriate memory attributes
  KVM: x86/pmu: annotate struct kvm_x86_pmu_event_filter with __counted_by()
  KVM: x86: Zero-initialize temporary fxregs_state buffers in FXSAVE emulation
</content>
</entry>
<entry>
<title>Merge tag 'kvm-x86-generic-7.0-rc3' of https://github.com/kvm-x86/linux into HEAD</title>
<updated>2026-03-11T17:01:55Z</updated>
<author>
<name>Paolo Bonzini</name>
<email>pbonzini@redhat.com</email>
</author>
<published>2026-03-11T17:01:55Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=94fe3e6515ddca2fd33ca1ec53d3635e54fbe456'/>
<id>urn:sha1:94fe3e6515ddca2fd33ca1ec53d3635e54fbe456</id>
<content type='text'>
KVM generic changes for 7.0

 - Remove a subtle pseudo-overlay of kvm_stats_desc, which, aside from being
   unnecessary and confusing, triggered compiler warnings due to
   -Wflex-array-member-not-at-end.

 - Document that vcpu-&gt;mutex is take outside of kvm-&gt;slots_lock and
   kvm-&gt;slots_arch_lock, which is intentional and desirable despite being
   rather unintuitive.
</content>
</entry>
<entry>
<title>KVM: Bury kvm_{en,dis}able_virtualization() in kvm_main.c once more</title>
<updated>2026-03-04T16:53:10Z</updated>
<author>
<name>Sean Christopherson</name>
<email>seanjc@google.com</email>
</author>
<published>2026-02-14T01:27:01Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=d30372d0b7e637475c79a785d055f4eb8c863656'/>
<id>urn:sha1:d30372d0b7e637475c79a785d055f4eb8c863656</id>
<content type='text'>
Now that TDX handles doing VMXON without KVM's involvement, bury the
top-level APIs to enable and disable virtualization back in kvm_main.c.

No functional change intended.

Reviewed-by: Dan Williams &lt;dan.j.williams@intel.com&gt;
Reviewed-by: Chao Gao &lt;chao.gao@intel.com&gt;
Tested-by: Chao Gao &lt;chao.gao@intel.com&gt;
Tested-by: Sagi Shahar &lt;sagis@google.com&gt;
Link: https://patch.msgid.link/20260214012702.2368778-16-seanjc@google.com
Signed-off-by: Sean Christopherson &lt;seanjc@google.com&gt;
</content>
</entry>
<entry>
<title>KVM: x86: Move kvm_rebooting to x86</title>
<updated>2026-03-04T16:52:19Z</updated>
<author>
<name>Sean Christopherson</name>
<email>seanjc@google.com</email>
</author>
<published>2026-02-14T01:26:47Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=4059172b2a78a71d15d8fcd8d3fd8ea1ba65d25b'/>
<id>urn:sha1:4059172b2a78a71d15d8fcd8d3fd8ea1ba65d25b</id>
<content type='text'>
Move kvm_rebooting, which is only read by x86, to KVM x86 so that it can
be moved again to core x86 code.  Add a "shutdown" arch hook to facilate
setting the flag in KVM x86, along with a pile of comments to provide more
context around what KVM x86 is doing and why.

Reviewed-by: Chao Gao &lt;chao.gao@intel.com&gt;
Acked-by: Dave Hansen &lt;dave.hansen@linux.intel.com&gt;
Tested-by: Chao Gao &lt;chao.gao@intel.com&gt;
Reviewed-by: Dan Williams &lt;dan.j.williams@intel.com&gt;
Tested-by: Sagi Shahar &lt;sagis@google.com&gt;
Link: https://patch.msgid.link/20260214012702.2368778-2-seanjc@google.com
Signed-off-by: Sean Christopherson &lt;seanjc@google.com&gt;
</content>
</entry>
<entry>
<title>KVM: Mark halt poll and other module parameters with appropriate memory attributes</title>
<updated>2026-03-02T22:32:29Z</updated>
<author>
<name>Li RongQing</name>
<email>lirongqing@baidu.com</email>
</author>
<published>2026-02-10T06:21:43Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=46ee9d718b9b67a8be067a39e21da6634107ed0e'/>
<id>urn:sha1:46ee9d718b9b67a8be067a39e21da6634107ed0e</id>
<content type='text'>
Add '__read_mostly' to the halt polling parameters (halt_poll_ns,
halt_poll_ns_grow, halt_poll_ns_grow_start, halt_poll_ns_shrink) since
they are frequently read in hot paths (e.g., vCPU halt handling) but only
occasionally updated via sysfs. This improves cache locality on SMP
systems.

Conversely, mark 'allow_unsafe_mappings' and 'enable_virt_at_load' with
'__ro_after_init', as they are set only during module initialization via
kernel command line or early sysfs writes and remain constant thereafter.
This enhances security by preventing runtime modification and enables
compiler optimizations.

Signed-off-by: Li RongQing &lt;lirongqing@baidu.com&gt;
Link: https://patch.msgid.link/20260210062143.1739-1-lirongqing@baidu.com
Signed-off-by: Sean Christopherson &lt;seanjc@google.com&gt;
</content>
</entry>
<entry>
<title>KVM: always define KVM_CAP_SYNC_MMU</title>
<updated>2026-02-28T14:31:35Z</updated>
<author>
<name>Paolo Bonzini</name>
<email>pbonzini@redhat.com</email>
</author>
<published>2026-02-11T18:06:31Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=70295a479da684905c18d96656d781823f418ec2'/>
<id>urn:sha1:70295a479da684905c18d96656d781823f418ec2</id>
<content type='text'>
KVM_CAP_SYNC_MMU is provided by KVM's MMU notifiers, which are now always
available.  Move the definition from individual architectures to common
code.

Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
</feed>
