Skip to content

Enable Bus Lock Detect as rate limiter

Matthew Barnes xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86: Enable BLD and handle #DB trapsxen/arch/x86/cpu/common.c xen/arch/x86/hvm/vmx/entry.S xen/arch/x86/include/asm/debugreg.h +4 more+20 -31 reply
2/2x86: Refactor LBR feature to MSR_DEBUGCTL featurexen/arch/x86/hvm/vmx/entry.S xen/arch/x86/include/asm/cpufeature.h xen/arch/x86/include/asm/cpufeatures.h +1 more+7 -71 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [XEN PATCH 0/2] Enable Bus Lock Detect as rate limiter

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(-)
Signature · 1 line
2.34.1