Bus Lock Detect can be used to reduce the effects of DoS in case it happens.
This patch series enables BLD from MSR_DEBUGCTL if available, and refines a mechanism to restore MSR_DEBUGCTL upon VMExit to support BLD as well as LBR. Said mechanism is also refactored to have a name that reflects generally restoring the MSR, instead of only one field. Matthew Barnes (2): x86: Enable BLD and handle #DB traps x86: Refactor LBR feature into general MSR_DEBUGCTL feature xen/arch/x86/cpu/common.c | 5 +++++ xen/arch/x86/hvm/vmx/entry.S | 6 +++--- xen/arch/x86/include/asm/cpufeature.h | 2 +- xen/arch/x86/include/asm/cpufeatures.h | 2 +- xen/arch/x86/include/asm/debugreg.h | 1 + xen/arch/x86/include/asm/msr-index.h | 1 + xen/arch/x86/include/asm/msr.h | 2 ++ xen/arch/x86/msr.c | 2 ++ xen/arch/x86/traps.c | 16 +++++++++++----- 9 files changed, 27 insertions(+), 10 deletions(-) -- 2.34.1
