aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2025-09-19 15:32:49 -0700
committerSean Christopherson <seanjc@google.com>2025-09-23 09:28:56 -0700
commitf2f5519aa4e3ec4e42b009338f773bebb0bfd8a3 (patch)
tree53f1e38c76733386e40383ef592638ab3fbef644 /arch/x86/kvm
parentKVM: x86: Add human friendly formatting for #XM, and #VE (diff)
downloadlinux-f2f5519aa4e3ec4e42b009338f773bebb0bfd8a3.tar.gz
linux-f2f5519aa4e3ec4e42b009338f773bebb0bfd8a3.zip
KVM: x86: Define Control Protection Exception (#CP) vector
Add a CP_VECTOR definition for CET's Control Protection Exception (#CP), along with human friendly formatting for trace_kvm_inj_exception(). Reviewed-by: Binbin Wu <binbin.wu@linux.intel.com> Link: https://lore.kernel.org/r/20250919223258.1604852-43-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'arch/x86/kvm')
-rw-r--r--arch/x86/kvm/trace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/trace.h b/arch/x86/kvm/trace.h
index 06da19b370c5..322913dda626 100644
--- a/arch/x86/kvm/trace.h
+++ b/arch/x86/kvm/trace.h
@@ -462,7 +462,7 @@ TRACE_EVENT(kvm_inj_virq,
#define kvm_trace_sym_exc \
EXS(DE), EXS(DB), EXS(BP), EXS(OF), EXS(BR), EXS(UD), EXS(NM), \
EXS(DF), EXS(TS), EXS(NP), EXS(SS), EXS(GP), EXS(PF), EXS(MF), \
- EXS(AC), EXS(MC), EXS(XM), EXS(VE)
+ EXS(AC), EXS(MC), EXS(XM), EXS(VE), EXS(CP)
/*
* Tracepoint for kvm interrupt injection: