Re: [PATCH 4.9 43/92] x86/pti: Do not enable PTI on CPUs which are not vulnerable to Meltdown

From: Andi Kleen
Date: Tue Feb 13 2018 - 10:56:23 EST


On Tue, Feb 13, 2018 at 07:09:44AM -0800, Arjan van de Ven wrote:
> >
> > So, any hints on what you think should be the correct fix here?
>
> the patch sure looks correct to me, it now has a nice table for CPU IDs
> including all of AMD (and soon hopefully the existing Intel ones that are not exposed to meltdown)

I don't think the table is nice, it's a white list that would need
to be maintained forever.

-Andi