All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] x86/svm: Add support for Bus Lock Threshold
@ 2026-01-21 14:28 Alejandro Vallejo
  2026-01-21 14:28 ` [PATCH v2 1/3] x86/svm: Add infrastructure " Alejandro Vallejo
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Alejandro Vallejo @ 2026-01-21 14:28 UTC (permalink / raw)
  To: xen-devel
  Cc: Alejandro Vallejo, Jan Beulich, Andrew Cooper,
	Roger Pau Monné, Jason Andryuk, Oleksii Kurochko,
	Community Manager

Hi,

v1: https://lore.kernel.org/xen-devel/20260120095353.2778-1-alejandro.garciavallejo@amd.com
pipeline (in progress):
    https://gitlab.com/xen-project/people/agvallejo/xen/-/pipelines/2276726870

Original cover letter:

Bus Locks are very costly and a VM left unchecked spamming instructions that
lock the memory bus (e.g: unaligned atomic CAS) makes system perf take a
nosedive. This patch is similar to BLD of VMX, but for SVM. It configures all
VMRUNs so they automatically exit at the first encounter of a buslock event,
effectively rate-limiting them.

Cheers,
Alejandro

Alejandro Vallejo (3):
  x86/svm: Add infrastructure for Bus Lock Threshold
  x86/svm: Intercept Bus Locks for HVM guests
  CHANGELOG: Note the new SVM bus-lock intercept

 CHANGELOG.md                          |  3 +++
 xen/arch/x86/hvm/svm/svm.c            |  6 ++++++
 xen/arch/x86/hvm/svm/vmcb.c           |  3 +++
 xen/arch/x86/hvm/svm/vmcb.h           | 15 +++++++++++++--
 xen/arch/x86/include/asm/hvm/svm.h    |  2 ++
 xen/arch/x86/include/asm/perfc_defn.h |  2 +-
 6 files changed, 28 insertions(+), 3 deletions(-)


base-commit: 61204ed24ba4537d6eff56594faa5d23cacb8310
-- 
2.43.0



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

end of thread, other threads:[~2026-01-22  9:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-21 14:28 [PATCH v2 0/3] x86/svm: Add support for Bus Lock Threshold Alejandro Vallejo
2026-01-21 14:28 ` [PATCH v2 1/3] x86/svm: Add infrastructure " Alejandro Vallejo
2026-01-21 15:13   ` Alejandro Vallejo
2026-01-21 17:33   ` Andrew Cooper
2026-01-21 14:28 ` [PATCH v2 2/3] x86/svm: Intercept Bus Locks for HVM guests Alejandro Vallejo
2026-01-21 15:35   ` Andrew Cooper
2026-01-21 16:04     ` Alejandro Vallejo
2026-01-21 14:28 ` [PATCH v2 3/3] CHANGELOG: Note the new SVM bus-lock intercept Alejandro Vallejo
2026-01-21 18:36   ` Andrew Cooper
2026-01-22  9:24     ` Alejandro Vallejo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.