lkml.org 
[lkml]   [2022]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v4 04/39] x86/cpufeatures: Enable CET CR4 bit for shadow stack
Date
On Wed, 2022-12-07 at 13:49 +0100, Borislav Petkov wrote:
> On Fri, Dec 02, 2022 at 04:35:31PM -0800, Rick Edgecombe wrote:
> > From: Yu-cheng Yu <yu-cheng.yu@intel.com>
> >
> > Setting CR4.CET is a prerequisite for utilizing any CET features,
> > most of
> > which also require setting MSRs.
>
> ...
>
> > arch/x86/kernel/cpu/common.c | 37 ++++++++++++++++++++++++++++++-
> > -----
> > 1 file changed, 31 insertions(+), 6 deletions(-)
>
> Looks better.
>
> Let's get rid of the ifdeffery and simplify it even more. Diff ontop:

Sure, thanks!
\
 
 \ /
  Last update: 2022-12-07 19:41    [W:0.384 / U:0.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site