RISC-V: Add EFI runtime services
authorAtish Patra <atish.patra@wdc.com>
Thu, 17 Sep 2020 22:37:15 +0000 (15:37 -0700)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Fri, 2 Oct 2020 21:31:28 +0000 (14:31 -0700)
commitb91540d52a08b65eb6a2b09132e1bd54fa82754c
tree4396a594b47ee9036c88bfa5ec740a99005435a1
parentd7071743db31b4f6898b1c742e4b451bb4bc4b02
RISC-V: Add EFI runtime services

This patch adds EFI runtime service support for RISC-V.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
[ardb: - Remove the page check]
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/Kconfig
arch/riscv/include/asm/efi.h
arch/riscv/include/asm/mmu.h
arch/riscv/include/asm/pgtable.h
arch/riscv/kernel/Makefile
arch/riscv/kernel/efi.c [new file with mode: 0644]
arch/riscv/kernel/setup.c
arch/riscv/mm/init.c
drivers/firmware/efi/Makefile
drivers/firmware/efi/libstub/efi-stub.c
drivers/firmware/efi/riscv-runtime.c [new file with mode: 0644]