[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240204034941.GB26316@ranerica-svr.sc.intel.com>
Date: Sat, 3 Feb 2024 19:49:41 -0800
From: Ricardo Neri <ricardo.neri-calderon@...ux.intel.com>
To: Borislav Petkov <bp@...en8.de>
Cc: "Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
Len Brown <len.brown@...el.com>,
Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>,
Stanislaw Gruszka <stanislaw.gruszka@...ux.intel.com>,
Zhao Liu <zhao1.liu@...el.com>,
Zhuocheng Ding <zhuocheng.ding@...el.com>, x86@...nel.org,
linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
Zhao Liu <zhao1.liu@...ux.intel.com>
Subject: Re: [PATCH 7/9] x86/cpufeatures: Add feature bit for HRESET
On Sat, Feb 03, 2024 at 10:36:22AM +0100, Borislav Petkov wrote:
> On Fri, Feb 02, 2024 at 08:05:13PM -0800, Ricardo Neri wrote:
> > diff --git a/arch/x86/include/asm/cpufeatures.h b/arch/x86/include/asm/cpufeatures.h
> > index 8104f4791abd..3b42479c049d 100644
> > --- a/arch/x86/include/asm/cpufeatures.h
> > +++ b/arch/x86/include/asm/cpufeatures.h
> > @@ -326,6 +326,7 @@
> > #define X86_FEATURE_FSRC (12*32+12) /* "" Fast short REP {CMPSB,SCASB} */
> > #define X86_FEATURE_LKGS (12*32+18) /* "" Load "kernel" (userspace) GS */
> > #define X86_FEATURE_AMX_FP16 (12*32+21) /* "" AMX fp16 Support */
> > +#define X86_FEATURE_HRESET (12*32+22) /* Hardware history reset instruction */
>
> #define X86_FEATURE_HRESET (12*32+22) /* "" Hardware history reset instruction */
>
> unless this really needs to be visible in /proc/cpuinfo:
>
> Documentation/arch/x86/cpuinfo.rst
Good point. There is no need to expose HRESET in /proc/cpuinfo. I will
implement this change.
Powered by blists - more mailing lists