LoongArch without CONFIG_ACPI and CONFIG_EFI
Hi,
It appears that as of QEMU 9.1, it's possible to boot LoongArch machines that don't provide EFI or ACPI.
Would you consider removing the select ACPI and select EFI from the arch Kconfig, so that kernels built for this minimal QEMU environment can be a bit leaner and quicker to build?
Jason
Add huacai who is maintainer of Loongarch Linux kernel.
Quoted 11 lines · Jason A. Donenfeld
Hi,
It appears that as of QEMU 9.1, it's possible to boot LoongArch machines that don't provide EFI or ACPI.
Would you consider removing the
select ACPIandselect EFIfrom the archKconfig, so that kernels built for this minimal QEMU environment can be a bit leaner and quicker to build?Jason
Huacai Chen
maintainerQuoted 12 lines · maobibo
Add huacai who is maintainer of Loongarch Linux kernel.
Quoted 8 lines · Jason A. Donenfeld
Hi,
It appears that as of QEMU 9.1, it's possible to boot LoongArch machines that don't provide EFI or ACPI.
Would you consider removing the
select ACPIandselect EFIfrom the archKconfig, so that kernels built for this minimal QEMU environment can be a bit leaner and quicker to build?
Very difficult, at least removing EFI is difficult. Even if booting to a FDT environment, we still get information from EFI now.
Huacai
Quoted 4 lines
Quoted 3 lines
Jason
Quoted 7 lines · Huacai Chen
Quoted 6 lines · maobibo
Add huacai who is maintainer of Loongarch Linux kernel.
Quoted 2 lines · Jason A. Donenfeld
Hi,
Quoted 8 lines
Quoted 6 lines
Quoted 6 lines
It appears that as of QEMU 9.1, it's possible to boot LoongArch machines that don't provide EFI or ACPI.
Would you consider removing the
select ACPIandselect EFIfrom the archKconfig, so that kernels built for this minimal QEMU environment can be a bit leaner and quicker to build?Very difficult, at least removing EFI is difficult. Even if booting to a FDT environment, we still get information from EFI now.
Makes sense. !ACPI is the more interesting one for me, anyway, as that takes a while to build.