[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8647895b-560f-2272-aae4-eda00fc06eca@zhaoxin.com>
Date: Mon, 17 Apr 2023 10:47:52 +0800
From: Tony W Wang-oc <TonyWWang-oc@...oxin.com>
To: Borislav Petkov <bp@...en8.de>
CC: <tglx@...utronix.de>, <mingo@...hat.com>,
<dave.hansen@...ux.intel.com>, <hpa@...or.com>, <x86@...nel.org>,
<linux-kernel@...r.kernel.org>, <peterz@...radead.org>,
<seanjc@...gle.com>, <pbonzini@...hat.com>, <kim.phillips@....com>,
<babu.moger@....com>, <pawan.kumar.gupta@...ux.intel.com>,
<sandipan.das@....com>, <CobeChen@...oxin.com>,
<TimGuo@...oxin.com>, <LeoLiu-oc@...oxin.com>
Subject: Re: [PATCH] x86/cpufeatures: extend CPUID leaf 0xc0000001 support for
Zhaoxin
On 4/14/23 21:48, Borislav Petkov wrote:
> On Fri, Apr 14, 2023 at 09:14:17PM +0800, Tony W Wang-oc wrote:
>> The instructions about these flags can be executed at any privilege
>> level. I think using these flags in kernel mode is a case. This patch
>> shows the statement of these flags to the user mode explicitly. So users
>> can see and use these CPU features conveniently.
>>
>>> If you want to dump them on the hardware to know what's set or not,
>>> there's tools/arch/x86/kcpuid/ for that.
>
> See this here. We have this tool exactly for users who wanna see CPU
> features. All CPU features, as a matter of fact.
>
Ok, will patch this tool for Zhaoxin extended CPUID leaf.
Will add Zhaoxin CPU features to kernel when they are used by the kernel.
Sincerely
TonyWWangoc
Powered by blists - more mailing lists