Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759069AbdCVJX7 (ORCPT ); Wed, 22 Mar 2017 05:23:59 -0400 Received: from mail-wm0-f41.google.com ([74.125.82.41]:38270 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758914AbdCVJXu (ORCPT ); Wed, 22 Mar 2017 05:23:50 -0400 Date: Wed, 22 Mar 2017 10:22:28 +0100 From: Daniel Lezcano To: Marc Zyngier Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Mark Rutland , Catalin Marinas , Will Deacon , Scott Wood , Hanjun Guo , Ding Tianhong , dann frazier Subject: Re: [PATCH v2 01/18] arm64: Allow checking of a CPU-local erratum Message-ID: <20170322092228.GA30499@mai> References: <20170320174829.28182-1-marc.zyngier@arm.com> <20170320174829.28182-2-marc.zyngier@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170320174829.28182-2-marc.zyngier@arm.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 734 Lines: 21 On Mon, Mar 20, 2017 at 05:48:12PM +0000, 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 includes > errata already. > > Reviewed-by: Suzuki K Poulose > Signed-off-by: Marc Zyngier > --- Acked-by: Daniel Lezcano -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog