From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751574AbdBAKOT (ORCPT ); Wed, 1 Feb 2017 05:14:19 -0500 Received: from mail-wm0-f46.google.com ([74.125.82.46]:35601 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751344AbdBAKOR (ORCPT ); Wed, 1 Feb 2017 05:14:17 -0500 Date: Wed, 1 Feb 2017 11:14:13 +0100 From: Daniel Lezcano To: Mark Rutland Cc: catalin.marinas@arm.com, dingtianhong@huawei.com, will.deacon@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, tglx@linutronix.de Subject: Re: [PATCH 4/7] arm64: arch_timer: introduce generic errata handling infrastructure Message-ID: <20170201101413.GN2206@mai> References: <1485865196-12742-1-git-send-email-mark.rutland@arm.com> <1485865196-12742-5-git-send-email-mark.rutland@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1485865196-12742-5-git-send-email-mark.rutland@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 On Tue, Jan 31, 2017 at 12:19:53PM +0000, Mark Rutland wrote: > From: Ding Tianhong > > Currently we have code inline in the arch timer probe path to cater for > Freescale erratum A-008585, complete with ifdeffery. This is a little > ugly, and will get worse as we try to add more errata handling. > > This patch refactors the handling of Freescale erratum A-008585. Now the > erratum is described in a generic arch_timer_erratum_workaround > structure, and the probe path can iterate over these to detect errata > and enable workarounds. > > This will simplify the addition and maintenance of code handling > Hisilicon erratum 161010101. > > Signed-off-by: Ding Tianhong > [Mark: split patch, correct Kconfig, reword commit message] > Signed-off-by: Mark Rutland Acked-by: Daniel Lezcano From mboxrd@z Thu Jan 1 00:00:00 1970 From: daniel.lezcano@linaro.org (Daniel Lezcano) Date: Wed, 1 Feb 2017 11:14:13 +0100 Subject: [PATCH 4/7] arm64: arch_timer: introduce generic errata handling infrastructure In-Reply-To: <1485865196-12742-5-git-send-email-mark.rutland@arm.com> References: <1485865196-12742-1-git-send-email-mark.rutland@arm.com> <1485865196-12742-5-git-send-email-mark.rutland@arm.com> Message-ID: <20170201101413.GN2206@mai> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Jan 31, 2017 at 12:19:53PM +0000, Mark Rutland wrote: > From: Ding Tianhong > > Currently we have code inline in the arch timer probe path to cater for > Freescale erratum A-008585, complete with ifdeffery. This is a little > ugly, and will get worse as we try to add more errata handling. > > This patch refactors the handling of Freescale erratum A-008585. Now the > erratum is described in a generic arch_timer_erratum_workaround > structure, and the probe path can iterate over these to detect errata > and enable workarounds. > > This will simplify the addition and maintenance of code handling > Hisilicon erratum 161010101. > > Signed-off-by: Ding Tianhong > [Mark: split patch, correct Kconfig, reword commit message] > Signed-off-by: Mark Rutland Acked-by: Daniel Lezcano