The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH 0/9] KVM: x86: Spring cleaning, part 2
@ 2026-06-25 22:04 Sean Christopherson
  2026-06-25 22:04 ` [PATCH 1/9] KVM: x86: Move the "APIC attention" macros from kvm_host.h => lapic.c Sean Christopherson
                   ` (8 more replies)
  0 siblings, 9 replies; 20+ messages in thread
From: Sean Christopherson @ 2026-06-25 22:04 UTC (permalink / raw)
  To: Sean Christopherson, Paolo Bonzini, Vitaly Kuznetsov
  Cc: kvm, linux-kernel, Binbin Wu, Kai Huang

A few more cleanups that I wasn't able to get out in time to catch kvm/next
(almost all of these are the result of code review feedback).  The main theme
is again trimming down x86's kvm_host.h.

Sean Christopherson (9):
  KVM: x86: Move the "APIC attention" macros from kvm_host.h => lapic.c
  KVM: x86/mmu: Annotate tdp_enabled as being read-mostly
  KVM: x86: Pluralize the macro guard name for msrs.h
  KVM: x86: Move CR and DR macro definitions from kvm_host.h => regs.h
  KVM: x86: Move KVM_GUESTDBG_VALID_MASK from kvm_host.h => x86.c
  KVM: x86: Add static asserts to document connection b/w TSS structs
    and macros
  KVM: x86: Move KVM's arbitrary task switch reason enums to x86.h
  KVM: x86: Move "struct kvm_apic_map" definition from kvm_host.h =>
    lapic.h
  KVM: x86: Move "struct kvm_vcpu_hv" and all children from kvm_host.h
    => hyperv.h

 arch/x86/include/asm/kvm_host.h | 192 +-------------------------------
 arch/x86/kvm/hyperv.h           |  90 +++++++++++++++
 arch/x86/kvm/lapic.c            |  10 ++
 arch/x86/kvm/lapic.h            |  33 ++++++
 arch/x86/kvm/mmu.h              |   6 +-
 arch/x86/kvm/mmu/mmu.c          |   2 +-
 arch/x86/kvm/msrs.h             |   4 +-
 arch/x86/kvm/regs.h             |  38 +++++++
 arch/x86/kvm/tss.h              |   7 ++
 arch/x86/kvm/x86.c              |   9 ++
 arch/x86/kvm/x86.h              |   6 +
 11 files changed, 203 insertions(+), 194 deletions(-)


base-commit: a204badd8432f93b7e862e7dac6db0fe3d65f370
-- 
2.55.0.rc0.799.gd6f94ed593-goog


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2026-06-26 14:36 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-25 22:04 [PATCH 0/9] KVM: x86: Spring cleaning, part 2 Sean Christopherson
2026-06-25 22:04 ` [PATCH 1/9] KVM: x86: Move the "APIC attention" macros from kvm_host.h => lapic.c Sean Christopherson
2026-06-26  0:10   ` Huang, Kai
2026-06-26 14:36     ` Sean Christopherson
2026-06-25 22:04 ` [PATCH 2/9] KVM: x86/mmu: Annotate tdp_enabled as being read-mostly Sean Christopherson
2026-06-26  0:14   ` Huang, Kai
2026-06-25 22:04 ` [PATCH 3/9] KVM: x86: Pluralize the macro guard name for msrs.h Sean Christopherson
2026-06-26  0:14   ` Huang, Kai
2026-06-25 22:04 ` [PATCH 4/9] KVM: x86: Move CR and DR macro definitions from kvm_host.h => regs.h Sean Christopherson
2026-06-26  0:37   ` Huang, Kai
2026-06-25 22:04 ` [PATCH 5/9] KVM: x86: Move KVM_GUESTDBG_VALID_MASK from kvm_host.h => x86.c Sean Christopherson
2026-06-26  0:38   ` Huang, Kai
2026-06-25 22:04 ` [PATCH 6/9] KVM: x86: Add static asserts to document connection b/w TSS structs and macros Sean Christopherson
2026-06-26  0:43   ` Huang, Kai
2026-06-25 22:04 ` [PATCH 7/9] KVM: x86: Move KVM's arbitrary task switch reason enums to x86.h Sean Christopherson
2026-06-26  0:46   ` Huang, Kai
2026-06-25 22:04 ` [PATCH 8/9] KVM: x86: Move "struct kvm_apic_map" definition from kvm_host.h => lapic.h Sean Christopherson
2026-06-26  0:50   ` Huang, Kai
2026-06-25 22:04 ` [PATCH 9/9] KVM: x86: Move "struct kvm_vcpu_hv" and all children from kvm_host.h => hyperv.h Sean Christopherson
2026-06-26  0:57   ` Huang, Kai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox