All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] x86: Drop cross-vendor support
@ 2026-01-22 16:49 Alejandro Vallejo
  2026-01-22 16:49 ` [PATCH 1/4] x86: Reject CPU policies with vendors other than the host's Alejandro Vallejo
                   ` (4 more replies)
  0 siblings, 5 replies; 29+ messages in thread
From: Alejandro Vallejo @ 2026-01-22 16:49 UTC (permalink / raw)
  To: xen-devel
  Cc: Alejandro Vallejo, Oleksii Kurochko, Community Manager,
	Jan Beulich, Andrew Cooper, Roger Pau Monné, Jason Andryuk

pipeline: https://gitlab.com/xen-project/people/agvallejo/xen/-/pipelines/2277124833
(pipeline differs with the CHANGELOG patch being separate. Nothing functional)

As discussed in a prior RFC (https://lore.kernel.org/xen-devel/dc68b9ce-38aa-4949-b3e7-a7c0a7ee9a25@citrix.com/)
this series drops cross-vendor support. It includes the policy check that
was there and adds this on top:

  * Eliminates #UD handler when HVM_FEP is disabled.
  * Removes the cross-vendor checks from MSR handlers.
  * Eliminate Intel-behaviour hacks for SYSENTER on AMD handlers and drop
    intercept for SYSENTER.

Open question unrelated to the series: Does it make sense to conditionalise the
MSR handlers for non intercepted MSRs on HVM_FEP?

Cheers,
Alejandro

Alejandro Vallejo (4):
  x86: Reject CPU policies with vendors other than the host's
  x86/hvm: Disable non-FEP cross-vendor handling in #UD handler
  x86/hvm: Remove cross-vendor checks from MSR handlers.
  x86/svm: Drop emulation of Intel's SYSENTER behaviour

 CHANGELOG.md                             |  4 +++
 xen/arch/x86/hvm/hvm.c                   | 25 +++----------
 xen/arch/x86/hvm/svm/svm.c               | 46 +++++++++++-------------
 xen/arch/x86/hvm/svm/vmcb.c              |  3 ++
 xen/arch/x86/hvm/vmx/vmx.c               |  4 +--
 xen/arch/x86/include/asm/hvm/svm-types.h | 10 ------
 xen/arch/x86/msr.c                       |  6 ++--
 xen/lib/x86/policy.c                     |  3 +-
 8 files changed, 38 insertions(+), 63 deletions(-)


base-commit: 3001d9a19592bb4f12dab33f161ab2148513e30a
-- 
2.43.0



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

end of thread, other threads:[~2026-01-28 12:39 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-22 16:49 [PATCH 0/4] x86: Drop cross-vendor support Alejandro Vallejo
2026-01-22 16:49 ` [PATCH 1/4] x86: Reject CPU policies with vendors other than the host's Alejandro Vallejo
2026-01-22 17:13   ` Teddy Astie
2026-01-23 11:30     ` Alejandro Vallejo
2026-01-23 16:29   ` Andrew Cooper
2026-01-22 16:49 ` [PATCH 2/4] x86/hvm: Disable non-FEP cross-vendor handling in #UD handler Alejandro Vallejo
2026-01-22 17:28   ` Teddy Astie
2026-01-23 12:28     ` Alejandro Vallejo
2026-01-23 18:40   ` Andrew Cooper
2026-01-26 11:58     ` Alejandro Vallejo
2026-01-28 12:38   ` Alejandro Vallejo
2026-01-22 16:49 ` [PATCH 3/4] x86/hvm: Remove cross-vendor checks from MSR handlers Alejandro Vallejo
2026-01-22 17:34   ` Teddy Astie
2026-01-23 18:35   ` Andrew Cooper
2026-01-26  8:40     ` Jan Beulich
2026-01-26 11:32     ` Alejandro Vallejo
2026-01-22 16:49 ` [PATCH 4/4] x86/svm: Drop emulation of Intel's SYSENTER behaviour Alejandro Vallejo
2026-01-22 17:52   ` Teddy Astie
2026-01-23 12:31     ` Alejandro Vallejo
2026-01-23 18:08   ` Andrew Cooper
2026-01-22 17:10 ` [PATCH 0/4] x86: Drop cross-vendor support Andrew Cooper
2026-01-22 17:42   ` Alejandro Vallejo
2026-01-22 18:16     ` Teddy Astie
2026-01-23 12:10       ` Alejandro Vallejo
2026-01-23 14:05         ` Jan Beulich
2026-01-23 15:45           ` Alejandro Vallejo
2026-01-23 18:25             ` Andrew Cooper
2026-01-22 18:19     ` Andrew Cooper
2026-01-23 11:39       ` 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.