[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v5 0/5] x86: Drop cross-vendor support


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Alejandro Vallejo <alejandro.garciavallejo@xxxxxxx>
  • Date: Thu, 12 Mar 2026 12:21:09 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=fl9WOa5+CGWuMt/NgIMPauuuEm/Py0qSEHzrocRSpSk=; b=KIpdDqN2Jk8F1oVzD1azMWtbIiC0gWtf1lymkhKxTku+i+hn4iUbfYYAUp/wYOMXRG685lJ31iGZWRs6sz7/vFwTlFSd5Ds+t5qFE8B8SVIGQPOVWvGZgWtHKkNogEmc2aM7o8uZ/TCFuGJLb3K6+XHErnt4G4Nqdp5dJogNoYq5TXVGWP7fN056FQoBEnBHHEj+is/+N4w4VYVajCR8meRlyLuz8txCnv3mDSbW2Um1mpA+I3iK5x0kb8TVCqpSTYDP3kKxwbyRr01lksYW/R6B1OcrI90Hkik8WDyBAM7rBaNp0h7zO8iep6+JgJiYfMew4yKJPzoYLHnJHfwPrA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=cANjpbbNdAhIVgUFtD5ujr0TpLAuRDbpvVAhhSTKnH/vz3jat4v9YfGklkNGr9XM5NxPgbySyoL2icEo8NyNVhEH8aJzx5YcUBq9pzuLxvnVi0pV3HGstUyiZxMmk0HPZWOw5qLRwvG1XtYgxdbVxivBZjLpp+YSAtR9A6iwZ4gZk3KrGEj5c5TdojqmKxa08YVGj3lhVUXjTrduE2JMatu/Ejvj20945uYlISU1kgSsq9zqVf64OkdMWwnwP4QLptafW4CLrDmMX9TmI5akeL14lvmIjdZ3YZ7uJJ/I6/bZwkExqm+EB3LfNvFU+nuwQkE9dLeLybCp2lHQtYQq4Q==
  • Cc: Alejandro Vallejo <alejandro.garciavallejo@xxxxxxx>, Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>, Community Manager <community.manager@xxxxxxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, "Andrew Cooper" <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, "Jason Andryuk" <jason.andryuk@xxxxxxx>
  • Delivery-date: Thu, 12 Mar 2026 11:21:50 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hi,

Patches 2, 4 and 5 missing acks.

Patch 2 now does a minimal diff change, while 4 and 5 perform the meat of what
v4/patch2 used to do.

I had patches 4 and 5 appended to the end in the hopes of having 1-3 committed
sooner.

v1: 
https://lore.kernel.org/xen-devel/20260122164943.20691-1-alejandro.garciavallejo@xxxxxxx/
v2: 
https://lore.kernel.org/xen-devel/20260205170923.38425-1-alejandro.garciavallejo@xxxxxxx/
v3: 
https://lore.kernel.org/xen-devel/20260213114232.42996-1-alejandro.garciavallejo@xxxxxxx/
v4: 
https://lore.kernel.org/xen-devel/20260311142711.16754-1-alejandro.garciavallejo@xxxxxxx/

Cheers,
Alejandro

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

 CHANGELOG.md                             |  5 ++
 tools/tests/cpu-policy/test-cpu-policy.c | 27 +++++++++++
 xen/arch/x86/hvm/hvm.c                   | 62 +++++++++---------------
 xen/arch/x86/hvm/svm/svm.c               | 45 ++++++++---------
 xen/arch/x86/hvm/svm/vmcb.c              |  3 ++
 xen/arch/x86/hvm/vmx/vmx.c               |  3 +-
 xen/arch/x86/include/asm/hvm/svm-types.h | 10 ----
 xen/arch/x86/lib/cpu-policy/policy.c     |  5 +-
 xen/arch/x86/msr.c                       |  8 ++-
 9 files changed, 86 insertions(+), 82 deletions(-)


base-commit: a3a1e61ce9a00c5a0c8003bad8f1285360399cf4
-- 
2.43.0




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.