[PATCH] arm64: Check for errata before evaluating cpu features

2018-07-25 Thread Dirk Mueller
From: Dirk Mueller Since commit d3aec8a28be3b8 ("arm64: capabilities: Restrict KPTI detection to boot-time CPUs") we rely on errata flags being already populated during feature enumeration. The order of errata and features was flipped as part of commit ed478b3f9e4a ("arm64: capabilities: Group ha

Re: [PATCH] arm64: Check for errata before evaluating cpu features

2018-07-25 Thread Suzuki K Poulose
Dave, On 07/25/2018 09:56 AM, Dave Martin wrote: On Wed, Jul 25, 2018 at 09:51:53AM +0100, Suzuki K Poulose wrote: On 07/25/2018 09:35 AM, Dirk Mueller wrote: Since commit d3aec8a28be3b8 ("arm64: capabilities: Restrict KPTI detection to boot-time CPUs") we rely on errata flags being already

Re: [PATCH] arm64: Check for errata before evaluating cpu features

2018-07-25 Thread Dave Martin
On Wed, Jul 25, 2018 at 09:51:53AM +0100, Suzuki K Poulose wrote: > On 07/25/2018 09:35 AM, Dirk Mueller wrote: > >Since commit d3aec8a28be3b8 ("arm64: capabilities: Restrict KPTI > >detection to boot-time CPUs") we rely on errata flags being already > >populated during feature enumeration. The ord

Re: [PATCH] arm64: Check for errata before evaluating cpu features

2018-07-25 Thread Suzuki K Poulose
On 07/25/2018 09:35 AM, Dirk Mueller wrote: Since commit d3aec8a28be3b8 ("arm64: capabilities: Restrict KPTI detection to boot-time CPUs") we rely on errata flags being already populated during feature enumeration. The order of errata and features was flipped as part of commit ed478b3f9e4a ("arm6

[PATCH] arm64: Check for errata before evaluating cpu features

2018-07-25 Thread Dirk Mueller
Since commit d3aec8a28be3b8 ("arm64: capabilities: Restrict KPTI detection to boot-time CPUs") we rely on errata flags being already populated during feature enumeration. The order of errata and features was flipped as part of commit ed478b3f9e4a ("arm64: capabilities: Group handling of features an