Michael Ellerman [off-list ref] writes:
Hi all,
After merging the arm-soc tree, today's linux-next build (arm_multi_v7_defconfig)
failed like this:
scripts/Makefile.build:258: recipe for target 'arch/arm/mach-socfpga/platsmp.o' failed
arch/arm/mach-socfpga/platsmp.c:66:23: error: 'socfpga_secondary_startup' undeclared (first use in this function)
writel(virt_to_phys(socfpga_secondary_startup),
^
Caused by the interaction of commits 45be0cdb5323 "ARM: socfpga: add
CPU_METHOD_OF_DECLARE for Arria 10" and 02b4e2756e01 "ARM: v7 setup function
should invalidate L1 cache".
I found this as well, unfortunately after it was already pulled for -next.
I applied the following fix for today.
Yes, that's the right fix, and arm-soc now has the equivalent fix as
well.
Thanks,
Kevin