Re: [PATCH v2 01/18] arm64: Allow checking of a CPU-local erratum

2017-03-22 Thread Daniel Lezcano
On Mon, Mar 20, 2017 at 05:48:12PM +, Marc Zyngier wrote: > this_cpu_has_cap() only checks the feature array, and not the errata > one. In order to be able to check for a CPU-local erratum, allow it > to inspect the latter as well. > > This is consistent with cpus_have_cap()'s behaviour, which

[PATCH v2 01/18] arm64: Allow checking of a CPU-local erratum

2017-03-20 Thread Marc Zyngier
this_cpu_has_cap() only checks the feature array, and not the errata one. In order to be able to check for a CPU-local erratum, allow it to inspect the latter as well. This is consistent with cpus_have_cap()'s behaviour, which includes errata already. Reviewed-by: Suzuki K Poulose Signed-off-by: