Skip to contentSkip to conversation

LoongArch without CONFIG_ACPI and CONFIG_EFI

DISCUSSION Jason A. Donenfeld 3 participants 4 messages Sep 6, 2024 – Sep 7, 2024 LoongArch

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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 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

maintainer
#2 lore raw
Quoted 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 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?

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

#3 lore raw
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 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?

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.