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

Re: [PATCH] x86/Intel: use CPUID bit to determine PPIN availability


  • To: Andrew Cooper <amc96@xxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Wed, 19 Jan 2022 08:15:04 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • 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=3WbpwSGDEL7bbFVKcC0OXzFkI4gtVXjLCNtFpo/m3tY=; b=Tq+m4rgl5KtZZBHkTLYbhthcgbSqreY17YsUlafNWjXuY2QnAFDyd6V5j+whqTV+e/HmXdMcTJUKVUmaZZNCLAZ7nOkJx7QuNKluNZn36Xnq/Fl/WzVm6aEZsC6e7/FA6zOEY+XaJnP+3dx7iYNfCsfqT+ZT0Zyz6tI5x5B9FJXWpWBgk4CkuJI2qTlTq54h4Q8dVhE0FkH9NTuFHTejaxFLyW3hPEmN8O+5TOi0V1c+96LCLGtisemKJdbvYsb2jiblTI5fiMyKup8HCyU7/U9nt02q9heyhBBe2IVdlE504R3ZXZHN31JgFpxaAg3blxZmDjrPRSZsy/Sz9MMODg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HJ69vmF5NY/dtMhyKUlnyVlGRtuOcNrhPVjhk7EXc0cv7h3zB0PQheIMH4V/gjVSWjOEWV0EjDJ1cCo5TEWsM54oQuTrZK76TL+dI+HsbHam6VgkfFThmd/MUIikoHia3Oz0uWlutmtXui0xJss+cMycQ06lzrokAqJImcwEEza32o5DfUEtVdMOGHrMmNjTOWTZ8iG8c9ps+VOHfajqiSSOlcgshdU24gJpCIKKhKHzjh9xjbCYJlTPwfcZwuI+dux0O5EX50TLWT8z+1N0N6djlSjKc5f1avw+uEZIJdXYQJjVSpU30SB6n4cD62h5ELhfoljp57lOk/t1AMGsPg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 19 Jan 2022 07:15:23 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 18.01.2022 21:28, Andrew Cooper wrote:
> On 17/01/2022 15:30, Jan Beulich wrote:
>> As of SDM revision 076 there is a CPUID bit for this functionality. Use
>> it to amend the existing model-based logic.
>>
>> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
> 
> https://lore.kernel.org/lkml/20220107225442.1690165-1-tony.luck@xxxxxxxxx/T/#u
> suggests that Sapphire Rapids also needs the model specific treatment.

Well, I can go and pull in their a331f5fdd36 just to be on the safe side.
I have to admit that it's not clear to me whether that older commit is
made obsolete by the CPUID bit check about to be added.

> I agree with the "only-expose-on-error" observation, so perhaps we ought
> to make these details available to the hardware domain in a suitable form.

hypfs?

Jan




 


Rackspace

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