diff options
| author | Karl Mehltretter <kmehltretter@gmail.com> | 2026-07-13 21:25:06 +0200 |
|---|---|---|
| committer | Vladimir Zapolskiy <vz@mleia.com> | 2026-07-24 23:29:08 +0300 |
| commit | 717ea4000867e6dffee5e1ed92150a9704ae9f68 (patch) | |
| tree | d646cf0bcbbef54c1661d2e6598a0972d3bf5660 /tools/perf/scripts/python/bin | |
| parent | dc59e4fea9d83f03bad6bddf3fa2e52491777482 (diff) | |
ARM: lpc32xx: only run SoC init on LPC32xx hardware
lpc32xx_check_uid() and lpc32xx_pm_init() are arch_initcalls that poke
LPC32xx-only registers. Since the multiplatform conversion they also
run on other ARCH_MULTI_V5 boards where access faults e.g. on versatile:
Unable to handle kernel paging request at virtual address f4004130
PC is at lpc32xx_check_uid+0x2c/0x9c
Drop the arch_initcall() registrations and call both functions directly
from lpc3250_machine_init(), the machine's .init_machine hook.
The calls are placed in link order (common.c, pm.c, phy3250.c) to
keep their previous relative ordering.
Fixes: 75bf1bd7d2f9 ("ARM: lpc32xx: allow multiplatform build")
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
Reviewed-by: Vladimir Zapolskiy <vz@kernel.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
