-
- Downloads
efi: libstub: Move screen_info handling to common code
Currently, arm64, RISC-V and LoongArch rely on the fact that struct
screen_info can be accessed directly, due to the fact that the EFI stub
and the core kernel are part of the same image. This will change after a
future patch, so let's ensure that the screen_info handling is able to
deal with this, by adopting the arm32 approach of passing it as a
configuration table. While at it, switch to ACPI reclaim memory to hold
the screen_info data, which is more appropriate for this kind of
allocation.
Signed-off-by:
Ard Biesheuvel <ardb@kernel.org>
Showing
- arch/arm/include/asm/efi.h 0 additions, 3 deletionsarch/arm/include/asm/efi.h
- arch/arm/kernel/efi.c 5 additions, 26 deletionsarch/arm/kernel/efi.c
- arch/arm64/include/asm/efi.h 0 additions, 6 deletionsarch/arm64/include/asm/efi.h
- arch/loongarch/include/asm/efi.h 0 additions, 9 deletionsarch/loongarch/include/asm/efi.h
- arch/loongarch/kernel/efi.c 22 additions, 2 deletionsarch/loongarch/kernel/efi.c
- arch/riscv/include/asm/efi.h 0 additions, 6 deletionsarch/riscv/include/asm/efi.h
- drivers/firmware/efi/efi-init.c 18 additions, 3 deletionsdrivers/firmware/efi/efi-init.c
- drivers/firmware/efi/efi.c 5 additions, 0 deletionsdrivers/firmware/efi/efi.c
- drivers/firmware/efi/libstub/Makefile 2 additions, 1 deletiondrivers/firmware/efi/libstub/Makefile
- drivers/firmware/efi/libstub/arm32-stub.c 0 additions, 37 deletionsdrivers/firmware/efi/libstub/arm32-stub.c
- drivers/firmware/efi/libstub/efi-stub.c 9 additions, 0 deletionsdrivers/firmware/efi/libstub/efi-stub.c
- drivers/firmware/efi/libstub/efistub.h 3 additions, 0 deletionsdrivers/firmware/efi/libstub/efistub.h
- drivers/firmware/efi/libstub/screen_info.c 56 additions, 0 deletionsdrivers/firmware/efi/libstub/screen_info.c
- include/linux/efi.h 1 addition, 1 deletioninclude/linux/efi.h
Loading
Please register or sign in to comment