Re: [GIT PULL] x86/urgent for v5.11-rc7

From: Linus Torvalds
Date: Sun Feb 07 2021 - 12:50:24 EST


On Sun, Feb 7, 2021 at 2:40 AM Borislav Petkov <bp@xxxxxxx> wrote:
>
> - Disable CET instrumentation in the kernel so that gcc doesn't add
> ENDBR64 to kernel code and thus confuse tracing.

So this is clearly the right thing to do for now, but I wonder if
people have a plan for actually enabling CET and endbr at cpl0 at some
point?

Linus