Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1192974lqo; Fri, 17 May 2024 13:54:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXHm3rfMo9NcCznE8jvlysqD/IYHEDmUxIMmR6Mds5O8tT0Di/nDJFxtXFdIqG96sC2Z9XI6F0MV/7mcAX/5YyTUELnzjuum/kGa5NhDg== X-Google-Smtp-Source: AGHT+IE/orLuU79Hnn1qGg042rg8pzctFLVJ5AcND+Zb3sGKCk+LMJkSCSuRQVxk9VLGyqO3cB0Q X-Received: by 2002:a2e:f12:0:b0:2dc:d2c5:ed0 with SMTP id 38308e7fff4ca-2e51ff4d522mr156083551fa.12.1715979287668; Fri, 17 May 2024 13:54:47 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733beacbaesi10221650a12.43.2024.05.17.13.54.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 13:54:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182627-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="gH/gUzup"; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-182627-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182627-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 3B2611F225EC for ; Fri, 17 May 2024 20:54:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E9C9D14039E; Fri, 17 May 2024 20:54:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="gH/gUzup" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4074B12F583 for ; Fri, 17 May 2024 20:54:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=198.175.65.10 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715979278; cv=fail; b=LgC4d+b/GKSTtbagiyFaPDg3s6zs7gi3S2IOtFPGvtaTcl2gkcIuBBJuDV7v9zkedAtLaC38XvEBC2HoeHtjkAcc4sJDaetFS+VojUiBlIgrgnk0rUqG1hf09t8vAaZOvL7ns3r8A4NVnrZpSKvKRIK6NouPpy/Nqxdf3tyOpJ0= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715979278; c=relaxed/simple; bh=ouotGHYiQTzPM3z9BadtfBPMHowQiO4LCq2cbu6n6to=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=S3j/shPnuuWCAL+OnkrdvEG0boYQ0dLIO0KgoFET40raxX3C39vQjfpght+KRBKJbnHaJ5BAfkU+NRe+5CrHD1dUpEyxK+xyue/zbrSjoBA3hYETRbl86DhqpXtE/Ch1GAyl2+zSfbuOn67egPQC/YfhcTpURffzpvZBt7ZYgYA= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=gH/gUzup; arc=fail smtp.client-ip=198.175.65.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1715979277; x=1747515277; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=ouotGHYiQTzPM3z9BadtfBPMHowQiO4LCq2cbu6n6to=; b=gH/gUzup0Tyx2dK0sJCw7y8kdIaRx9YY1D5SHcDuJLi5S/AQ2dcVFka3 7S4iAeprUdlKgz3SLwdccPY02Ikp5LOhi4AHDMWqMWx8wjJh2ACQ6AxG7 4ZoiOJ02xPPJQAKQhwvAyTefKI9kUuiiroU9nIpVDRMiQfouAbAH3Cbia xuOY60YEILDgoIboW2O08FJlCgUD35XMlWHgnEUf52kNuaRYx5SL40Vwx 0dVzFRzm/JxzMVn1GOqtaACCf4fWUsaTjbbwz7wkZlD1gKc7mTtyAWqWz zRkKcHHcWTim+DN2N2u+FARhdF5y0agnM3S5m0zLr3zNxvT8abQ7oM1nW w==; X-CSE-ConnectionGUID: D/9hePsdS4KGWX6hzf3EFg== X-CSE-MsgGUID: OjzfcEDXTLeTKFYpw1050g== X-IronPort-AV: E=McAfee;i="6600,9927,11075"; a="29688341" X-IronPort-AV: E=Sophos;i="6.08,168,1712646000"; d="scan'208";a="29688341" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 May 2024 13:54:36 -0700 X-CSE-ConnectionGUID: 30dAcYSaQx2n4GIk1ijVDA== X-CSE-MsgGUID: LvyZLV+oSGqK0lv+/BptXA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,168,1712646000"; d="scan'208";a="31923308" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmviesa009.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 17 May 2024 13:54:36 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Fri, 17 May 2024 13:54:35 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Fri, 17 May 2024 13:54:35 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.168) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Fri, 17 May 2024 13:54:35 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KxZv65ZVzUtUlxj74Z7JCWdZKcVH5DtQi5jrto+rIiUFMWjoneNQkecZLzzEUkDEFRbkBFryk/ZGjReKWlPAiF2VqVbsZ0qijh48kW8Y9n/wkdxJKUroqGzUpGFW5X/zaY5G1g8dg+HW78FuTtNASVgFZUxJamqwHXZvkkp+EePP4MmiR8VPQw6VygxPSZRRX4OlSfbuuTudsbWx08btUXyrmXMV7QXrQL2ZuIzs21DUZL0nh7GOuLryMxFWsmsNzgoeBrztSCEXqclDRKqJ9GRdGJz5KsrFa9rZT9EBT4iljeQnrNhc/tewNPnWbQg9QBairPLW9sQPrhPe4LHkGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=ouotGHYiQTzPM3z9BadtfBPMHowQiO4LCq2cbu6n6to=; b=iUntqp2o/qyioL73VjUmIsTwzygouGowkU5Uh7aRs9TuB3PqOb1TFsuKrqXEJvqQWi7a7G7TjGGkiAssqp7TWcvQUgtL2h7OGZCmU/YOJ/Pg3JgO+Q3kjfWtqMVCmWC/ab/lYzymx8zSf2q4fRG0vo7I6S3GUQkg9ZEmGT7Y+c/y8BwuT/TN4mbAulrtCc2Hu2OUW/JVeJ4K2HcTW7OsjJKDcVkpsv5UvFXTlQaS+HFy2WCTvMV+Ea9ljvkeCnv4hiqBgQlA9b35byyK5osDA1e8lkSPEWlkrCTfabuIhVjPFpXw9xyMjUzeJ81695Fr3DM84/JVa/71F8iv4jkt7A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from SJ1PR11MB6083.namprd11.prod.outlook.com (2603:10b6:a03:48a::9) by DS0PR11MB7878.namprd11.prod.outlook.com (2603:10b6:8:f6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.30; Fri, 17 May 2024 20:54:33 +0000 Received: from SJ1PR11MB6083.namprd11.prod.outlook.com ([fe80::acfd:b7e:b73b:9361]) by SJ1PR11MB6083.namprd11.prod.outlook.com ([fe80::acfd:b7e:b73b:9361%4]) with mapi id 15.20.7587.028; Fri, 17 May 2024 20:54:33 +0000 From: "Luck, Tony" To: Thomas Gleixner , "H. Peter Anvin" , Borislav Petkov CC: Ingo Molnar , Dave Hansen , "x86@kernel.org" , "Peter Zijlstra (Intel)" , Uros Bizjak , "Edgecombe, Rick P" , Arnd Bergmann , Mateusz Guzik , Thomas Renninger , Greg Kroah-Hartman , Andi Kleen , "linux-kernel@vger.kernel.org" , "patches@lists.linux.dev" Subject: RE: [PATCH v2] x86/cpu: Fix x86_match_cpu() to match just X86_VENDOR_INTEL Thread-Topic: [PATCH v2] x86/cpu: Fix x86_match_cpu() to match just X86_VENDOR_INTEL Thread-Index: AQHap65BNQUQc7djfEG+qeIcEyvEqbGbgbkAgAAwIoCAADPvgIAAAzOA Date: Fri, 17 May 2024 20:54:33 +0000 Message-ID: References: <20240516162925.79245-1-tony.luck@intel.com> <20240517144312.GBZkdtAOuJZCvxhFbJ@fat_crate.local> <863D0F06-1217-4C94-B2CA-816FC4ABB103@zytor.com> <87h6ewjhn2.ffs@tglx> In-Reply-To: <87h6ewjhn2.ffs@tglx> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ1PR11MB6083:EE_|DS0PR11MB7878:EE_ x-ms-office365-filtering-correlation-id: 58f7dc94-6496-4c84-dba0-08dc76b38e27 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230031|366007|376005|7416005|1800799015|38070700009; x-microsoft-antispam-message-info: =?us-ascii?Q?GrFTRaOdFa2hwXDkq3XDO61e5tw07m8WLZGYnos5+Q0lOQRq37sdiSvOqlQZ?= =?us-ascii?Q?cYZsRgxL/8lZQD0tEK9M+qU5GwtC2SzCJEKW3FY+ab0dbYC/hqPe8pTUgqd7?= =?us-ascii?Q?Lu+Rk1vRg5DiL/Qtx5vc3eFaRChkdeLocluZdql0Qj3jaD61WYNLy6uzY3uJ?= =?us-ascii?Q?OWwTquPqkwIgxUTrJFP0xOft1Xu3+D1ifpyOr3LRebn0PxPZFmQjTiI/DbBg?= =?us-ascii?Q?tabKiksyeQbkw2iXIc6VvhDzqTM/k0teye9SzGjTNeXM6ykjfGE5h1mW50lI?= =?us-ascii?Q?JWeSgI83UWvywm6Z9RNVEMvRWQWpuGQ+Mq260T0xULRZhhYmg+9uImFbucDS?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xEGqUui7Y7r3aoDR3C8UON+c8?= =?us-ascii?Q?iszuIrUFK0qoXHqdtBw9y+4W2JQyF85hcxn75fTVXTyICbHLx/xmAL8WZGHb?= =?us-ascii?Q?5hshwZugzOyJJVZtKQBgvt5pf0mZrrsxqSS2d3xy0TVvDg=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ1PR11MB6083.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366007)(376005)(7416005)(1800799015)(38070700009);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?VXRsTi00QoFvDMYpQdmTtLxEgBnUMWK8VAi4idQgEvPyuujaF+VBGKvCfWwe?= =?us-ascii?Q?EzwDxr/PO9rEuljSK8xir9whLZoY0dyIOA4bZ4qvQv2XHrujl0r6V+XXjUO2?= =?us-ascii?Q?6FhB/4d34MoXNvSv3nLoBFpj/bZoSyCuJZUYpjYikeHXvA4d0wvO5J+EfigB?= =?us-ascii?Q?U47BJw8MNV+aDsDBd5cyLDQGqLhCFjCCZpfX4RoLXpWiBwSbmJqnFm0nWQQq?= =?us-ascii?Q?Tc13gIloHeumZEkFeCP0ViYiveQiOe+eTPzKWAv8/NZn0+RuQWA7ymt0zcd7?= =?us-ascii?Q?CtXb2ac5rOGmyr3QO0D4RKABBWJi4h38mqDHnIYeniPMkYubxJE3E3T5AJx1?= =?us-ascii?Q?BOweWL9zb6TReeQ1n02RSozRZzJKY2LcAjpPYrDr2iyuivwH/6zqF/7g0CUM?= =?us-ascii?Q?NOhiTevE3/bYaroN83w9mFNOgXYOfOmCZ/mTCZ9RtJ/RXVpU40kEkNe9B8Sr?= =?us-ascii?Q?lzTlSz8WPUWHeUwlQl2Sc9lcB7HR9O62TqIwHKjfV3QrN3tlq83yfZ0o3re1?= =?us-ascii?Q?ViJgkfK2ZoFkCpqYgM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DRrte1cx?= =?us-ascii?Q?RzfbZ3prn7b1XfvMLItn4772iHpujraQXTDpCjsVSYU2AYpi1lMCmGGxhcjM?= =?us-ascii?Q?e+ZmVMzdDbutBcOIIuDjbcl7hViS5sPacUQak/YjG507n9hgI6wtOLmz9Lok?= =?us-ascii?Q?tfnKqc783S/lLrcFD7eaxqC1S5p3IvDrhihpaYsJ?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ1PR11MB6083.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 58f7dc94-6496-4c84-dba0-08dc76b38e27 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 May 2024 20:54:33.5526 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: d8zG+cJ7uts7vy48d6brOYyDph+NenukgWugDfLbfgw9n8CcbPYB8ec57HVVFVvjEo09q2lqf7nS0wAZ/drbvg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR11MB7878 X-OriginatorOrg: intel.com >> This is particularly pathetic as there already is a canonical string >> representation of the vendor ID! > > I agree, but that train has left the station long ago, Is that "GenuineIntel" and "AuthenticAMD"? While canonical, 96-bit values s= eem less easy to use than simple small integers. -Tony