Re: [PATCH v8] acpi, apei, arm64: APEI initial support for aarch64.

From: Ard Biesheuvel
Date: Thu Mar 31 2016 - 03:53:00 EST

On 30 March 2016 at 19:55, Fu Wei <fu.wei@xxxxxxxxxx> wrote:
> Hi Tomasz
> On 30 March 2016 at 14:50, kbuild test robot <lkp@xxxxxxxxx> wrote:
>> Hi Tomasz,
>> [auto build test WARNING on arm64/for-next/core]
>> [also build test WARNING on v4.6-rc1 next-20160330]
>> [if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
>> url:
>> base: for-next/core
>> config: arm64-allyesconfig (attached as .config)
>> reproduce:
>> wget -O ~/bin/make.cross
>> chmod +x ~/bin/make.cross
>> # save the attached .config to linux build tree
>> make.cross ARCH=arm64
>> All warnings (new ones prefixed by >>):
>> warning: (ACPI_APEI) selects EFI which has unmet direct dependencies (OF && !CPU_BIG_ENDIAN)
> I think it's caused by CPU_BIG_ENDIAN, because ARM64 selects OF.

No, as I pointed out, it is caused by the fact that you 'select' EFI
rather than 'depend on' it.

> Any suggestion ?


select EFI if ARM64


depends on EFI || !ARM64

but it would be even better to make ACPI_APEI depend on ACPI, since
the above dependency will be implied then, although I am not sure how
that affects other architectures.