Re: [PATCH 2/2] clocksource/drivers/fttmr010: Be stricter on IRQs

From: Joel Stanley
Date: Wed Sep 01 2021 - 19:38:39 EST


On Sat, 28 Aug 2021 at 08:08, Cédric Le Goater <clg@xxxxxxxx> wrote:

> AFAICT, the ast2600 does not use a fttmr010 clocksource.

Correct.

When doing bringup of the ast2600, I updated this driver to support
the new layout. Only once I'd submitted it did I learn that aspeed
preferred to use only the Cortex A7's timer source, and only that
source.

The armv7 timer can be lost when a core goes into power save mode, but
I am told the ast2600 does not implement power saving modes, so we set
the always-on property for the arm,armv7-timer. This allows us to use
the timer as a clocksource for hrtimers, removing the need to use the
fttmr010 driver at all.

Cheers,

Joel