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@xxxxxxxxx> > > > > 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!