Re: [PATCH v2 00/39] x86: Kernel IBT

From: Peter Zijlstra
Date: Wed Mar 02 2022 - 05:20:47 EST


On Tue, Mar 01, 2022 at 03:10:22PM -0800, Josh Poimboeuf wrote:
> On Fri, Feb 25, 2022 at 04:28:32PM +0100, Peter Zijlstra wrote:
> > @@ -636,7 +649,10 @@ static __always_inline void setup_cet(st
> > if (!ibt_selftest()) {
> > pr_err("IBT selftest: Failed!\n");
> > setup_clear_cpu_cap(X86_FEATURE_IBT);
> > + return;
> > }
> > +
> > + pr_info("CET detected: Indirect Branch Tracking enabled\n");
>
> This is a little excessive on my 192 CPUs :-)
>
> It also messes with the pr_cont()s in announce_cpu():

Hehe, I just noticed the same when looking at logs trying to figure out
if kexec worked. I'll go fix.