diff options
author | Sunil V L <sunilvl@ventanamicro.com> | 2022-05-19 07:15:12 +0200 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2022-05-19 10:22:17 +0200 |
commit | 3f68e69520d3d52d66a6ad872a75b7d8f2ea7665 (patch) | |
tree | b1ada79433d09ca273cd5b8f78c30a49162d2387 /arch/powerpc/kernel/module.c | |
parent | efi: stub: prefer mirrored memory for randomized allocations (diff) | |
download | linux-3f68e69520d3d52d66a6ad872a75b7d8f2ea7665.tar.xz linux-3f68e69520d3d52d66a6ad872a75b7d8f2ea7665.zip |
riscv/efi_stub: Add support for RISCV_EFI_BOOT_PROTOCOL
Add support for getting the boot hart ID from the Linux EFI stub using
RISCV_EFI_BOOT_PROTOCOL. This method is preferred over the existing DT
based approach since it works irrespective of DT or ACPI.
The specification of the protocol is hosted at:
https://github.com/riscv-non-isa/riscv-uefi
Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Link: https://lore.kernel.org/r/20220519051512.136724-2-sunilvl@ventanamicro.com
[ardb: minor tweaks for coding style and whitespace]
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'arch/powerpc/kernel/module.c')
0 files changed, 0 insertions, 0 deletions