linux-stable/arch
Sean Christopherson e8fb98e85f KVM: x86: Convert vcpu_run()'s immediate exit param into a generic bitmap
commit 2478b1b220 upstream.

Convert kvm_x86_ops.vcpu_run()'s "force_immediate_exit" boolean parameter
into an a generic bitmap so that similar "take action" information can be
passed to vendor code without creating a pile of boolean parameters.

This will allow dropping kvm_x86_ops.set_dr6() in favor of a new flag, and
will also allow for adding similar functionality for re-loading debugctl
in the active VMCS.

Opportunistically massage the TDX WARN and comment to prepare for adding
more run_flags, all of which are expected to be mutually exclusive with
TDX, i.e. should be WARNed on.

No functional change intended.

Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20250610232010.162191-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
[ Removed TDX-specific changes ]
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-08-20 18:36:34 +02:00
..
alpha
arc
arm
arm64 mm/ptdump: take the memory hotplug lock inside ptdump_walk_pgd() 2025-08-20 18:36:33 +02:00
csky
hexagon
loongarch
m68k
microblaze
mips
nios2
openrisc
parisc parisc: Makefile: fix a typo in palo.conf 2025-08-20 18:36:33 +02:00
powerpc
riscv mm/ptdump: take the memory hotplug lock inside ptdump_walk_pgd() 2025-08-20 18:36:33 +02:00
s390 mm/ptdump: take the memory hotplug lock inside ptdump_walk_pgd() 2025-08-20 18:36:33 +02:00
sh
sparc
um
x86 KVM: x86: Convert vcpu_run()'s immediate exit param into a generic bitmap 2025-08-20 18:36:34 +02:00
xtensa
.gitignore
Kconfig