From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754192AbdCTPbW (ORCPT ); Mon, 20 Mar 2017 11:31:22 -0400 Received: from foss.arm.com ([217.140.101.70]:40642 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753094AbdCTPan (ORCPT ); Mon, 20 Mar 2017 11:30:43 -0400 Date: Mon, 20 Mar 2017 15:07:53 +0000 From: Mark Rutland To: Marc Zyngier Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Daniel Lezcano , Scott Wood , Will Deacon , Catalin Marinas , Hanjun Guo , Ding Tianhong Subject: Re: [PATCH 00/17] clocksource/arch_timer: Errara workaround infrastructure rework Message-ID: <20170320150752.GK31213@leverpostej> References: <20170306112622.13853-1-marc.zyngier@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170306112622.13853-1-marc.zyngier@arm.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 06, 2017 at 11:26:05AM +0000, Marc Zyngier wrote: > It has recently become obvious that a number of arm64 systems have > been blessed with a set of timers that are slightly less than perfect, > and require a bit of hand-holding. We already have a bunch of > errata-specific code to deal with this, but as we're adding more > potential detection methods (DT, ACPI, capability), things are getting > a bit out of hands. > > Instead of adding more ad-hoc fixes to an already difficult code base, > let's give ourselves a bit of an infrastructure that can deal with > this and hide most of the uggliness behind frendly accessors. > Documentation/arm64/silicon-errata.txt | 1 + > arch/arm64/include/asm/arch_timer.h | 44 ++- > arch/arm64/include/asm/cpucaps.h | 3 +- > arch/arm64/include/asm/cputype.h | 2 + > arch/arm64/include/asm/esr.h | 2 + > arch/arm64/kernel/cpu_errata.c | 15 + > arch/arm64/kernel/cpufeature.c | 13 +- > arch/arm64/kernel/traps.c | 14 + > drivers/clocksource/Kconfig | 11 + > drivers/clocksource/arm_arch_timer.c | 529 +++++++++++++++++++++++---------- > 10 files changed, 465 insertions(+), 169 deletions(-) Largely this looks ok. What's the plan for merging this? If you can respin this, I can see about collating this with the ACPI GTDT patches, but I'm not sure what to do about the arch/arm64/ parts. Thanks, Mark.