lkml.org 
[lkml]   [2017]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4/7] arm64: arch_timer: introduce generic errata handling infrastructure
On Tue, Jan 31, 2017 at 12:19:53PM +0000, Mark Rutland wrote:
> From: Ding Tianhong <dingtianhong@huawei.com>
>
> 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 <dingtianhong@huawei.com>
> [Mark: split patch, correct Kconfig, reword commit message]
> Signed-off-by: Mark Rutland <mark.rutland@arm.com>
> ---

Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>

\
 
 \ /
  Last update: 2017-02-01 11:15    [W:0.080 / U:14.872 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site