[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 0/4] x86: Drop cross-vendor support
- To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Alejandro Vallejo <alejandro.garciavallejo@xxxxxxx>
- Date: Fri, 13 Feb 2026 12:42:26 +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=a1BoLmaVWRPZko7TcFAR7QJZ2rTpb1hvlyh7u4oJJgM=; b=ZUrmgg7GFziszoljO9vtO5gHHnI7akjyxrTzNOEht0Q3y0n0KiM4lL79g7hqOUHiLufVEr4zph2ak5LtspPnvaNnQHTAgHDo2obXR5mO0Q3Cu1ExnQKQL2jus29z5DfB3tCyOooUsaBp6yIk/Pt8tm6mAP0codF0SUMaRj1gYSgdt6Yhh6xh+hEdvRra1AOkIOtyievw4FNJVtZRTehkofJBvUTVT5KXvqPCfSb98SCidHI9MMqC7hKfQ/8tWwKx7916NfZPeEQinI09/V7MLDmgWGj4umaGhSBqMHh/97w4ycXNjmB/IxULW2iU9buBnpTcqRWB+NHOVY3jgblM6Q==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=DXZDuqz9v8sy2snioDZufQth5lK3/3MLFXN/ENbMf3ksRl27T3Wl3Vw4keAKisyL76r4TLx5IbAZ4uANJb50M51U8zldtzIcFPvyTw62yHZSrX7rY4F6WJsifQGbY+c2OtnVaWaF7N+mVEQxzslCU36S3ZhDRqxwcPbeFHNVshczB7K96xJ5YSt2E8jFSNNLK54tlwtMQr+ueKZXCo/c/uuEE00OiXP5DdfA/7cFczaCMINCdEPtpaw67rQ1RdY7BRwq77eUr2N/7BP1wjX5eXQT6aEOhrNEjvrMeIOcxJuMUH3HB6XhWtTeIJy2WIXaTWNgrgILN7+N6SgdAgXARw==
- 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: Fri, 13 Feb 2026 11:43:01 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
Hi,
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/
pipeline (green):
https://gitlab.com/xen-project/people/agvallejo/xen/-/pipelines/2324131649
This time the policy check uses e{b,c,d}x rather than x86_vendor and there's
2 unit tests for it.
Cheers,
Alejandro
Alejandro Vallejo (4):
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 behaviour on AMD systems
CHANGELOG.md | 5 ++
tools/tests/cpu-policy/test-cpu-policy.c | 27 +++++++++
xen/arch/x86/hvm/hvm.c | 77 +++++++++---------------
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/msr.c | 8 +--
xen/lib/x86/policy.c | 5 +-
9 files changed, 93 insertions(+), 90 deletions(-)
base-commit: 1f4f85b64d393be1aa8dc8170201f4fbfe9c7222
--
2.43.0
|