Home
last modified time | relevance | path

Searched hist:e011995e826f85fbe55dc7d4ce649461163d1052 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/riscv/kernel/
H A Dvmlinux.lds.Sdiff e011995e826f85fbe55dc7d4ce649461163d1052 Tue Mar 17 20:11:39 CDT 2020 Atish Patra <atish.patra@wdc.com> RISC-V: Move relocate and few other functions out of __init

The secondary hart booting and relocation code are under .init section.
As a result, it will be freed once kernel booting is done. However,
ordered booting protocol and CPU hotplug always requires these functions
to be present to bringup harts after initial kernel boot.

Move the required functions to a different section and make sure that
they are in memory within first 2MB offset as trampoline page directory
only maps first 2MB.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
H A Dhead.Sdiff e011995e826f85fbe55dc7d4ce649461163d1052 Tue Mar 17 20:11:39 CDT 2020 Atish Patra <atish.patra@wdc.com> RISC-V: Move relocate and few other functions out of __init

The secondary hart booting and relocation code are under .init section.
As a result, it will be freed once kernel booting is done. However,
ordered booting protocol and CPU hotplug always requires these functions
to be present to bringup harts after initial kernel boot.

Move the required functions to a different section and make sure that
they are in memory within first 2MB offset as trampoline page directory
only maps first 2MB.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>