From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.zytor.com (terminus.zytor.com [198.137.202.136]) (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 B31673611A for ; Mon, 20 May 2024 23:34:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.136 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716248066; cv=none; b=CS9xemblSAQdgF1RK5jxLyqPXgOClsr84dM9uRzb/FzJ9K1KXK2CbE7Nmf37Gdhg2FS4/O3jzhzYaaski/zbZu2ShcOPPY+Q2Srn3zjCFaWtz3j8JRVDm7yTU7lhl1Ewqg56v/QU35yOK/NaA0wAj1/U4plzXQKcislnDRSWidM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716248066; c=relaxed/simple; bh=saWUEh2uRj5tPYq6Oqo/SXMWeqs6jwgcuDZjJrDuUJ8=; h=Date:From:To:CC:Subject:In-Reply-To:References:Message-ID: MIME-Version:Content-Type; b=rAn+kM++lbLbophTPYt92c8TNPJnOykDJHn3PWbby8SXbkxBJuQ2kRM/Fbp3/CTLhH66H/BOfycYpPaJjEn8Dv3cY2JeshpR2Vuzsk9YCAXoZJaTfdXdlibpLIAo+WthnRzdk1gy5DHNntnRVzqVlBf7LThlzC8iyZridwdKiSI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zytor.com; spf=pass smtp.mailfrom=zytor.com; dkim=pass (2048-bit key) header.d=zytor.com header.i=@zytor.com header.b=cOeoWDyq; arc=none smtp.client-ip=198.137.202.136 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zytor.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=zytor.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=zytor.com header.i=@zytor.com header.b="cOeoWDyq" Received: from [127.0.0.1] ([76.133.66.138]) (authenticated bits=0) by mail.zytor.com (8.17.2/8.17.1) with ESMTPSA id 44KNXTlW3973431 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Mon, 20 May 2024 16:33:30 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com 44KNXTlW3973431 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2024051501; t=1716248010; bh=saWUEh2uRj5tPYq6Oqo/SXMWeqs6jwgcuDZjJrDuUJ8=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=cOeoWDyqzDF2ij0gEQOs16dIrHWwtLGdNtHW+VvsASLftUAzRWEVdwCHnv/3CBBaP VEOfsT1yrf8q4qu9ZySN+Y0ZqomHz8cDeG5XgDEQJ1MIHWiDxELj4+c9FkOug3eCR8 9SaeJ7AOGcgBik44AGZ8V/YmWAaOBxAQOD3tKcJKF70Colk/QHSpZjpabSVxSYSh4i 5aAPNtF55x7ztmORDrRx9tgSXEFBsIkIh8aQDE7ISdQUz4OcfIaMCf31Bzafjpyrjp SEXrFc84jBdt3ErOB3K7wvUFvPWKdOVm7mbA7pEYnxKfbFMOEY4EFrIsG8reHszOMB IbmNmswMzB8JQ== Date: Mon, 20 May 2024 16:33:27 -0700 From: "H. Peter Anvin" To: "Luck, Tony" , Thomas Gleixner , 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: =?US-ASCII?Q?RE=3A_=5BPATCH_v2=5D_x86/cpu=3A_Fix_x86=5Fmatch?= =?US-ASCII?Q?=5Fcpu=28=29_to_match_just_X86=5FVENDOR=5FINTEL?= User-Agent: K-9 Mail for Android In-Reply-To: References: <20240516162925.79245-1-tony.luck@intel.com> <20240517144312.GBZkdtAOuJZCvxhFbJ@fat_crate.local> <863D0F06-1217-4C94-B2CA-816FC4ABB103@zytor.com> <87h6ewjhn2.ffs@tglx> Message-ID: <509BDCB2-5203-460B-8317-043A07CB38B0@zytor.com> Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On May 17, 2024 1:54:33 PM PDT, "Luck, Tony" wrot= e: >>> 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= seem less >easy to use than simple small integers=2E > >-Tony > Not for internal use, but for exporting in strings=2E