[PATCH 5/7] arm64: ARMv8 RTSM model (SoC) support
Arnd Bergmann
arnd at arndb.de
Tue Dec 18 12:59:45 EST 2012
On Tuesday 18 December 2012, Catalin Marinas wrote:
> After some more thinking, none of these would work for arch/arm since
> vexpress_clk_of_init() is called very early via the time_init() ...
> v2m_dt_timer_init(). On arm64 we rely on the architected timers to be
> always present but this assumption is not valid on arm where clocks
> would need to be initialised early.
>
> While I'd really like to get rid of the SoC code in arch/arm64, the best
> place I see for the vexpress_clk_of_init() call is still the arch code
> (unless we add #ifdefs in the clk-vexpress.c code).
I think I'd prefer the #ifdef in this case. Ideally, we would get rid
of most of the early init functions in ARM as well, but that is
a different battle for now. Getting the arch/arm64 to look nice
IMHO is more important in this case, and we can fix the 32 bit
version later.
Arnd
More information about the linux-arm-kernel
mailing list