Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1099596lqo; Fri, 17 May 2024 10:34:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWUyuicwUl8ozRENNNAY4yWK/i2aNFKh0DZfkn4yd5AFr6h1HQQP6Y4Z70izTDMti3noioe3+fxAIaWPxbzQ140bfZIIbyBwwxjZX0ngw== X-Google-Smtp-Source: AGHT+IEw0BGSJcMoxtrB7FdjRKnCFpDLzHD5bxCdc+uvUt5cEMKklII7Wq7YV59sduuFaSu7LLL0 X-Received: by 2002:a05:6a21:78a7:b0:1af:cc84:f7ec with SMTP id adf61e73a8af0-1afde0b5b57mr22995434637.4.1715967260853; Fri, 17 May 2024 10:34:20 -0700 (PDT) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-661a3593981si814794a12.879.2024.05.17.10.34.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 10:34:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182418-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="hRx/x4GZ"; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-182418-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182418-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 4046A2824DB for ; Fri, 17 May 2024 17:34:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E91C213DDB1; Fri, 17 May 2024 17:34:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="hRx/x4GZ" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) (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 65E9213DDAA for ; Fri, 17 May 2024 17:34:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=198.175.65.14 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715967254; cv=fail; b=BBtywfZAgjJVwj5lYmEUi62yxuRzACNyqRsbqqty4pauE+1ONWCyp6xF6rC3y/gfdi2vljS3YxXe55MWAfN2RfHC5Cr5ARFpLzilv6aerbtXWL76AKZuAJoHurcUYi8oldQ9gez35fJyZWzlgixHrjfw7h7c7nhJsSlVhMD3tU8= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715967254; c=relaxed/simple; bh=eHM/cGN/ra+h/pjGDBgAitE0l8YbOjfigVLPWeO1vX8=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=Ea8RwXWr/oXVsSSxlx9n5AYzASiKRJv3HJwGN2ycwawSdOABxeX7elujXsC0QYwFb32z3d/5kc5mCwmsCbTHCPu0yButNa22BTMsjAloVLn2GTMhEU4ZH0mLF4NDPDPRmEhRId/aXlbnIyB1sRn/8WSO8X4Jxd53LsqQ8ZV55jg= 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=hRx/x4GZ; arc=fail smtp.client-ip=198.175.65.14 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=1715967253; x=1747503253; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=eHM/cGN/ra+h/pjGDBgAitE0l8YbOjfigVLPWeO1vX8=; b=hRx/x4GZiJ6v3zySl/uOQKh0nLOcsopygtqxENWq1xDTuWCMI0JTv/cB 11+fzZF4K5XldswiHQLm/5+mqySE5c1NHrqt/JMThA50oPhWua+gir+qh DBxaWhIfGmdWVq5gAecBJ+HC/0RUKGVquXQPzMKebdgJxjeU8lY6oFed+ rckycXSvMMQVBIoVcmsH5+fXNf/r/6qoZBREJ11vUhHv0NTA9uNr6n2KV pjhHfvqxJwiitiOABD/Zz53iH6vJuJGIeA8nhxIgUcbWyJw+lKtFoI2IN 13PzPgIEg4lyxEgdv6tdqhRT9MYZi2x41QPXzeTxnZqZnQrxpZk/2aWvi Q==; X-CSE-ConnectionGUID: 2lhGkGhbQj6BaXHH0ZjA/w== X-CSE-MsgGUID: H5MzFaOdSDu6/vEm8CVGJw== X-IronPort-AV: E=McAfee;i="6600,9927,11075"; a="15989662" X-IronPort-AV: E=Sophos;i="6.08,168,1712646000"; d="scan'208";a="15989662" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 May 2024 10:34:12 -0700 X-CSE-ConnectionGUID: OJNVBta+TOqlhUzU90RXBA== X-CSE-MsgGUID: 4n8RrjJwQfG0lQ71lerwww== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,168,1712646000"; d="scan'208";a="36669135" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orviesa005.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 17 May 2024 10:34:12 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) 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; Fri, 17 May 2024 10:34:10 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) 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 10:34:10 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.101) by edgegateway.intel.com (192.55.55.68) 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 10:34:10 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fYySl+qIqlfIRVJ5u9qRaalQRRCMK2M5cmqRhBZrQvgEpznN7vBc3ls5p0vJDg/iBbGgNZPpWTRCj9ZKFGlRnLgQUVlYI+kNF1LlxdJAD7BlBBlUCH8hV4W/hFx51Hwwap8UOHGjmhFymPOVFf22+D+O7hjV7McCd2CCrCihdgvf1v4HCjnE+JyqlGZd3btYshGXQ2D5m2s6sHhb5yan8AUchu9AIaQtG23JWN1fqFoaSJIlOAxoBcRs0Mda50cpH4h0PSzlB8r90sd2kNXxlARRfuOU2UmvC9H/vglOvufeRsxs6jJVPCb4nCPmOtQpfqWIGvgF/MOByKOdScCX3Q== 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=YlQwzNMi/kAlbERZCQVpRn+2VuXlXril5bSzMjoUMG4=; b=OKCVUjBvoQTwlLcWukjCdHo8vJ9TYdApIpPnwEt7KOsaNtu4R0ctfSu/w9OvcryxoDshaqPIDJ7MWV0meErE6Hoky5D9fkAh0xlQnyzPMerg9OUyRx1qQPTmZ4FxiihelaEeAP+jxIRPqlb00dG39teztMf6pwTT2adanoGzdIVTi7ABnMlCU6aX4LaL2h1rYBwYDYdGfpb9dWOPHaYsDICjoWnECOzh/PU2eqhwkuHbQZQQqST6+F15KfIuCmx92adfDfK6NCWoFZ9uOveiuN1jRVwGgc3BahdM9AWs7q5h1PfB5LaiL4feX49WKRpRXkj6jhUvDLgqiAXErzVvjg== 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 PH8PR11MB6975.namprd11.prod.outlook.com (2603:10b6:510:224::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.27; Fri, 17 May 2024 17:34:00 +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 17:34:00 +0000 From: "Luck, Tony" To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "x86@kernel.org" CC: "H. Peter Anvin" , "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 v3] x86/cpu: Fix x86_match_cpu() to match just X86_VENDOR_INTEL Thread-Topic: [PATCH v3] x86/cpu: Fix x86_match_cpu() to match just X86_VENDOR_INTEL Thread-Index: AQHaqH6zwUWGNcLDPEWX8DDSkF3v67GbrzUQ Date: Fri, 17 May 2024 17:34:00 +0000 Message-ID: References: <20240517172134.7255-1-tony.luck@intel.com> In-Reply-To: <20240517172134.7255-1-tony.luck@intel.com> 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_|PH8PR11MB6975:EE_ x-ms-office365-filtering-correlation-id: 13bf6e88-9e00-45ee-ab00-08dc76978a15 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230031|1800799015|366007|7416005|376005|38070700009; x-microsoft-antispam-message-info: =?us-ascii?Q?/fno5y0noCqBtPL2VpwkC5p4AxST8XtOaJHbPuqMPXMd7EUnuVbVugOscS80?= =?us-ascii?Q?ngA5pqlfYwYwE9n89B1OqQj9S0e+5etRUZhNSXRCh2gmw/eF4HypDbM6v8zo?= =?us-ascii?Q?0HFcLB8u9li7KYvNynQszXXn8Mv7qITvvR8EhdBkmWwH5n5oi3xH5zvKZsNd?= =?us-ascii?Q?1gy1FiF0Oc1bwRMgUfVAglC02vCZsyODFwwUchQe4A/YbfRkGbXH1VHKF/Y9?= =?us-ascii?Q?FsdQv6+1nF4Vog8zuhQhdy834P49/kSgCnDOhRJfPNLgT5FxlM3T6pTwJl8Z?= =?us-ascii?Q?pvlAjR0sKIssCNMT0g5Z2cggpea3+vJnsuM75lcThovT7SjTYezSczdgSaRy?= =?us-ascii?Q?Hj8p5xFohjn2PAeQRttPpr9QuxpHtTORBYxDeSDwzokGcUS8rthy0CwnE76I?= =?us-ascii?Q?OzSRHKin2GLcMvu0v4HmEAzt6YSqPe/tUVKo5OSEdJ6zzeA6iWcznp2OTJNT?= =?us-ascii?Q?f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=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)(1800799015)(366007)(7416005)(376005)(38070700009);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?E0QRTYQjBtrJXWHbU+0qpxURFYN41a3CBq3yYHP2Fozari1xl1xUuF9ip2HY?= =?us-ascii?Q?FEBIjkbxm0vaCeN6LfalEkjKBw3jp3pSL31Pd0JZ8gBTLnm4YgbM7mhqcfkK?= =?us-ascii?Q?fvYE72PHtVEAQefTCmVbsJMInZGJd5z9uN7kwB9xxOoA6P5zn4MYcrAjD3S0?= =?us-ascii?Q?RXb8Zrpc68+8fdcwK9TGvayVCxA/048GQVQ7iSdDbttfy2JyjkY0tY3thhlf?= =?us-ascii?Q?jiKp2wdq9gSrKnn7C2CO3LGP8kLsoayLnUitgCn23CiTeJf2kZdiIoxmuFsj?= =?us-ascii?Q?APDW4+bGBVZB/8H8VH3M7s6SnQ2ja5TY4/rz1SZvQX7fZq5wZl1wAQraJdH1?= =?us-ascii?Q?tg/RrRpxOP/7ywQb9AvvdO+kGuL6sVAH4O1QlpExNzGSLSQ/RpyH9eDXjmzk?= =?us-ascii?Q?2Vu2D/71DyDjFouv/OzWgTbisH8o9lGd09jnqnfq+nDVFp3Ox+T51yk4d6nD?= =?us-ascii?Q?p3s65bX8L7QXnok/PeNKXjjCheGwHbfH5SuX1NnJc4zEc4YWVOsXoVYNZtjR?= =?us-ascii?Q?8VCxDFG/Fw5C1urvooicRMw/5KWNvOEmAHiSNKwcKpY5X7UNAHrGln+T7JFV?= =?us-ascii?Q?0vQzXp47CrLBActG6No1iqtlCRqK+olOPMpfE0fF+qYMzBRuQeQQMdPsfup6?= =?us-ascii?Q?wWcJR59oZBPoVs9r+/RGxUpIy7MRjFIP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X/9XQXbtjv4d+4UbiRPlnj/1CSvOrvj3277?= 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: 13bf6e88-9e00-45ee-ab00-08dc76978a15 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 May 2024 17:34:00.8262 (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: YkECBMKFQDhOKMJozGd1NAs8TYnYlkbvBmDio6JKjkjdHEJnp3V7mE2OPYtHkoBw4AOontlga40uXzPbPBjCtg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR11MB6975 X-OriginatorOrg: intel.com > diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/proc= essor.h > index cb4f6c513c48..271c4c95bc37 100644 > --- a/arch/x86/include/asm/processor.h > +++ b/arch/x86/include/asm/processor.h > @@ -175,10 +175,10 @@ struct cpuinfo_x86 { > unsigned initialized : 1; > } __randomize_layout; > > -#define X86_VENDOR_INTEL 0 > #define X86_VENDOR_CYRIX 1 > #define X86_VENDOR_AMD 2 > #define X86_VENDOR_UMC 3 > +#define X86_VENDOR_INTEL 4 > #define X86_VENDOR_CENTAUR 5 > #define X86_VENDOR_TRANSMETA 7 > #define X86_VENDOR_NSC 8 Bother ... I pasted in the whole of old patch to get the change log.=20 Obviously this part isn't needed in v3 Sorry. -Tony