Skip to content

arm64: arch_timer: Add workaround for hisilicon-161010101 erratum

Will Deacon linux-arm-kernel linux-devicetree 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v9 Latest0 of 4 patches 0 repliesNew
  2. v60 of 4 patches 0 repliesSuperseded

Patches in v9 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v9 yet.

Read the v9 thread

Cover letter [PATCH v9 0/4] arm64: arch_timer: Add workaround for hisilicon-161010101 erratum
Quoted 23 lines · Mark Rutland
Quoted 9 lines · Ding Tianhong

Ding Tianhong (4):
arm64: arch_timer: Add device tree binding for hisilicon-161010101
erratum
arm64: arch_timer: Introduce a generic erratum handing mechanism for

    fsl-a008585
  arm64: arch_timer: Work around Erratum Hisilicon-161010101
  arm64: arch timer: Add timer erratum property for Hip05-d02 and
    Hip06-d03
Quoted 9 lines
 Documentation/admin-guide/kernel-parameters.txt    |   9 --
 Documentation/arm64/silicon-errata.txt             |  43 +++---
 .../devicetree/bindings/arm/arch_timer.txt         |   6 +
 arch/arm64/boot/dts/hisilicon/hip05.dtsi           |   1 +
 arch/arm64/boot/dts/hisilicon/hip06.dtsi           |   1 +
 arch/arm64/include/asm/arch_timer.h                |  38 ++----
 drivers/clocksource/Kconfig                        |  18 +++
 drivers/clocksource/arm_arch_timer.c               | 150 +++++++++++++++------
 8 files changed, 171 insertions(+), 95 deletions(-)

I've picked these up (with a few local cleanups), given that some local testing, and pushed the result to a branch [1] on my git repo.

Quoted 7 lines

There are likely to be clashes with the arm64 tree (e.g. for silicon-errata.txt), and we're also likely to have more arch timer updates shortly for the GTDT stuff, so I think the best bet is for both arm64 and the clocksource tree to pull that branch for v4.11.

Alternatively, we could take this all through the arm64 tree, if the clocksource maintainers are happy with that.

Fine by me, but I'd need at least Daniel's ack before taking these.

Will