Hi,

On 05/07/2023 13:51, Bertrand Marquis wrote:
On 5 Jul 2023, at 13:55, Julien Grall <[email protected]> wrote:

From: Julien Grall <[email protected]>

On Arm, it is not possible to use ACPI without UEFI. In fact disabling
UEFI but not ACPI will lead to a compilation error:

ld: prelink.o: in function `acpi_os_get_root_pointer':
/builds/xen-project/people/andyhhp/xen/xen/drivers/acpi/osl.c:73:
undefined reference to `efi'
/builds/xen-project/people/andyhhp/xen/xen/drivers/acpi/osl.c:73:(.init.text+0x8ac0):
relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against
undefined symbol `efi'

So make the dependency clear in the Kconfig.

This was spotted by the randconfig build in gitlab CI.

Fixes: 12314be5749e ("xen/arm: make ARM_EFI selectable for Arm64")
Signed-off-by: Julien Grall <[email protected]>

Reviewed-by: Bertrand Marquis <[email protected]>

Thanks. I have committed the patch.

Cheers,

--
Julien Grall

Reply via email to