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

[PATCH v v3 7/7] x86: Remove x86 prefixed names from cpuinfo


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Kevin Lampis <kevin.lampis@xxxxxxxxxx>
  • Date: Fri, 13 Mar 2026 16:36:30 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • 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=Yd8n5uLy2YBtVrAJOKIpy1iVYTwPAmDskE+Dkrm1v1c=; b=wikCIBkDNBhVhrB7RBKFnsn46Z7d8wGbJwIEdN3SVb0Ky20hvsHnaNDDyBJTpfakcKQhXAj9dgxTNu+9Z7sDp5Ka8u0Dk8bLerFyJj8Z1pyuJHwcQ8fpvRtS0x2ZY5BSFMJ+3IJH9oWwLtfP3xLR/N9yZV6XTs0933+FnVDn60pj3cn9avqZjH1CyBbCtrU9++5Wx5gOuwshKcdRfWOt/41tFI2Y74oLRNmLKX2YX5f2qi56a9fFFq6h5DifFdtBvx1rxQdI+d7JvpQJzyAn1rXn4O1/UbTHpxZgTmbyGBWFr/lUyTdTEO3FWrKY+A2QwXS5BLHEfhf5S/asxIR6/A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=HujcbZVQlkiQ4pwQH9DE3gv7KcvxEatO3ZsNp5wda7TkwrnF2g0b3zZQZdd236NU9uhzu2rsY9k/51PSNyaPppVcCERJYDAyfp1ZX9bTMg2N1o4nFjBQc8aQRYxaioKTBfXfn0ugeuFFy4qiN1vWfbzhk1zoqwpf0HsBlvZ/FyTAs7hc1ycr1bOht/hNsYSfUd2ZjmKQFJInFczJZzZBVm9OA2kxRapOXTWeLvBE2YvDekq7jp3RE+VI7KHPPDnQMNueICna26cDOeM+JVMXVJadcTIv9wKw4tnwN78XJi5LqMK/klyN9iMtcqYfCuNcCDVsC6wh68BF8JBhxO6Qmg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: jbeulich@xxxxxxxx, andrew.cooper3@xxxxxxxxxx, roger.pau@xxxxxxxxxx, Kevin Lampis <kevin.lampis@xxxxxxxxxx>
  • Delivery-date: Fri, 13 Mar 2026 16:37:25 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Signed-off-by: Kevin Lampis <kevin.lampis@xxxxxxxxxx>
---
Changes in v2:
- Remove the unneeded unions

Changes in v3:
- No changes
---
 xen/arch/x86/include/asm/cpufeature.h | 21 ++++-----------------
 1 file changed, 4 insertions(+), 17 deletions(-)

diff --git a/xen/arch/x86/include/asm/cpufeature.h 
b/xen/arch/x86/include/asm/cpufeature.h
index dcd223d84f..11661a114f 100644
--- a/xen/arch/x86/include/asm/cpufeature.h
+++ b/xen/arch/x86/include/asm/cpufeature.h
@@ -43,29 +43,16 @@
 #ifndef __ASSEMBLER__
 
 struct cpuinfo_x86 {
-    /* TODO: Phase out the x86 prefixed names. */
     union {
         struct {
-            union {
-                uint8_t x86_model;
-                uint8_t model;
-            };
-            union {
-                uint8_t x86;
-                uint8_t family;
-            };
-            union {
-                uint8_t x86_vendor;
-                uint8_t vendor;
-            };
+            uint8_t model;
+            uint8_t family;
+            uint8_t vendor;
             uint8_t _rsvd;             /* Use of this needs coordinating with 
VFM_MAKE() */
         };
         uint32_t vfm;                  /* Vendor Family Model */
     };
-    union {
-        uint8_t x86_mask;
-        uint8_t stepping;
-    };
+    uint8_t stepping;
 
     unsigned int cpuid_level;          /* Maximum supported CPUID level */
     unsigned int extended_cpuid_level; /* Maximum supported CPUID extended 
level */
-- 
2.51.1




 


Rackspace

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