linux-yocto/arch/arm/mach-shmobile
Geert Uytterhoeven 0baa10cf97 ARM: shmobile: smp: Enforce shmobile_smp_* alignment
commit 379c590113 upstream.

When the addresses of the shmobile_smp_mpidr, shmobile_smp_fn, and
shmobile_smp_arg variables are not multiples of 4 bytes, secondary CPU
bring-up fails:

    smp: Bringing up secondary CPUs ...
    CPU1: failed to come online
    CPU2: failed to come online
    CPU3: failed to come online
    smp: Brought up 1 node, 1 CPU

Fix this by adding the missing alignment directive.

Fixes: 4e960f52fc ("ARM: shmobile: Move shmobile_smp_{mpidr, fn, arg}[] from .text to .bss")
Closes: https://lore.kernel.org/r/CAMuHMdU=QR-JLgEHKWpsr6SbaZRc-Hz9r91JfpP8c3n2G-OjqA@mail.gmail.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/c499234d559a0d95ad9472883e46077311051cd8.1741612208.git.geert+renesas@glider.be
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-03-28 21:59:55 +01:00
..
common.h ARM: shmobile: Remove unused shmobile_smp_init_fallback_ops() 2018-06-18 12:00:22 +02:00
emev2.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
headsmp-apmu.S ARM: shmobile: rcar-gen2: Stop compiling headsmp-apmu on !SMP 2018-06-27 17:08:52 +02:00
headsmp-scu.S ARM: mm: Make virt_to_pfn() a static inline 2023-05-29 11:27:08 +02:00
headsmp.S ARM: shmobile: smp: Enforce shmobile_smp_* alignment 2025-03-28 21:59:55 +01:00
Kconfig ARM: shmobile: Drop selecting GPIOLIB and PINCTRL 2022-10-28 14:31:24 +02:00
Makefile ARM: shmobile: R-Mobile: Move pm-rmobile to drivers/soc/renesas/ 2018-11-30 11:29:11 +01:00
platsmp-apmu.c ARM: sh-mobile: Use of_cpu_node_to_id() to read CPU node 'reg' 2023-03-30 16:02:42 +02:00
platsmp-scu.c ARM: shmobile: Stop using __raw_*() I/O accessors 2020-11-23 09:54:59 +01:00
platsmp.c ARM: shmobile: convert to SPDX identifiers 2018-09-11 15:41:30 +02:00
pm-rcar-gen2.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
r8a7779.h ARM: shmobile: r8a7779: Remove explicit SYSC config and init 2018-06-18 12:00:28 +02:00
rcar-gen2.h ARM: shmobile: rcar-gen2: Make rcar_gen2_{timer_init, reserve}() static 2020-09-10 19:01:26 +02:00
regulator-quirk-rcar-gen2.c ARM: shmobile: rcar-gen2: Increase refcount for new reference 2022-07-05 09:08:35 +02:00
setup-emev2.c ARM: shmobile: Drop commas after dt_compat sentinels 2022-05-05 12:32:40 +02:00
setup-r7s9210.c ARM: shmobile: Drop commas after dt_compat sentinels 2022-05-05 12:32:40 +02:00
setup-r7s72100.c ARM: shmobile: Drop commas after dt_compat sentinels 2022-05-05 12:32:40 +02:00
setup-r8a73a4.c ARM: shmobile: Drop commas after dt_compat sentinels 2022-05-05 12:32:40 +02:00
setup-r8a7740.c ARM: shmobile: Drop commas after dt_compat sentinels 2022-05-05 12:32:40 +02:00
setup-r8a7778.c ARM: shmobile: Drop commas after dt_compat sentinels 2022-05-05 12:32:40 +02:00
setup-r8a7779.c ARM: shmobile: Drop commas after dt_compat sentinels 2022-05-05 12:32:40 +02:00
setup-rcar-gen2.c ARM: shmobile: rcar-gen2: Drop unused OF includes 2023-07-25 11:11:42 +02:00
setup-sh73a0.c ARM: shmobile: Drop commas after dt_compat sentinels 2022-05-05 12:32:40 +02:00
sh73a0.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
smp-emev2.c ARM: shmobile: convert to SPDX identifier 2018-06-18 12:00:29 +02:00
smp-r8a7779.c ARM: shmobile: Stop using __raw_*() I/O accessors 2020-11-23 09:54:59 +01:00
smp-sh73a0.c ARM: shmobile: Stop using __raw_*() I/O accessors 2020-11-23 09:54:59 +01:00
suspend.c ARM: shmobile: convert to SPDX identifiers 2018-09-11 15:41:30 +02:00
timer.c ARM: SoC platform updates for 4.20 2018-10-29 15:37:33 -07:00