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

Re: [PATCH] x86: Remove x86 prefixed names from cpuinfo for intel.c


  • To: Kevin Lampis <kevin.lampis@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Mon, 24 Nov 2025 20:44:02 +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=TzcoVwgnZHVhjRuw2SgDzrJGa5Oy6E6rYAMtF9EwL8g=; b=zPmePsKvwVCkh2tDDwjeomkUatXzaSB52SmyUuxXnZV49MGZ4DB2hNUrtSgSXp/oUSS+RsnurIXaNR/Ve8Xmqo4B12uJK7cuNBlcBJL0sf/CaLLhOeuObel7aEtTMasKBIgVBDZDaYOVfTkd2zM6YFjmDU2yPFL2dhmQNTImjCGlPCqoqU/gyWHEB9WXlRAsJkXIZu5TFyStcWvGeOu1Ym4dt6sv2t2ZF3RrQ4xgwGfxJi5uOnW9BfIOK42zsKx7tdUApuXXHP5Nbnm8M1jOtzj8Yuu4hdgXGxq4fz/KmgJMDpgqVI3txk/bEcvfww5nnadgYemEYjFhSxxZEZGifg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ffF8gBg/5EbVxIEC+AoLrzYNgZTuAhVEpGnY0zdoZIkz+VUubJZIWVBpcdsYtdsgyfgvN9W+wqhk2YyTWK/LYKeZQybrAvw/Vyj+6LDzOWM96UyEyZDpbKTG9EzfN1eU1ayRy9vFOg3N/+SaE46r3lCoO0FJyVnI+nhqeBt1OIcTpgmqwqmQNhIjWPtbvMTxSWeIrc7Xu4Yw8GjdaeG/ZiZg9GMyjL+ShsAg9v768n5PdIU9On41W9n+Ouv44li0JhWjMEZkiCiQajKPNHIayh4EGsFmPfFwk5FepsyMYdfLAkuyZaYjqHjLRQ7DGqBmldKurCvLDuAyEOgkLvhejQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: jbeulich@xxxxxxxx, roger.pau@xxxxxxxxxx
  • Delivery-date: Mon, 24 Nov 2025 20:44:33 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 24/11/2025 11:19 am, Kevin Lampis wrote:
> diff --git a/xen/arch/x86/cpu/intel.c b/xen/arch/x86/cpu/intel.c
> index 6f71365b7e..5f780fe1aa 100644
> --- a/xen/arch/x86/cpu/intel.c
> +++ b/xen/arch/x86/cpu/intel.c
> @@ -86,7 +86,7 @@ static void __init check_memory_type_self_snoop_errata(void)
>       if (!boot_cpu_has(X86_FEATURE_SS))
>               return;
>  
> -     switch (boot_cpu_data.x86_model) {
> +     switch (boot_cpu_data.model) {
>       case 0x0f: /* Merom */
>       case 0x16: /* Merom L */
>       case 0x17: /* Penryn */

One of the reasons of making these changes is identify the places
needing converting to VFM.  This is one, and...
> @@ -137,10 +137,10 @@ static void __init probe_masking_msrs(void)
>       unsigned int exp_msr_basic, exp_msr_ext, exp_msr_xsave;
>  
>       /* Only family 6 supports this feature. */
> -     if (c->x86 != 6)
> +     if (c->family != 6)
>               return;
>  
> -     switch (c->x86_model) {
> +     switch (c->model) {

... so is this.

~Andrew



 


Rackspace

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