Following arm64 tinyconfig builds failed on queue/5.15..5.17.
arm64-gcc-11-tinyconfig - FAILED
arm64-gcc-10-tinyconfig- FAILED
arm64-clang-12-tinyconfig- FAILED
arm64-clang-13-tinyconfig- FAILED
arch/arm64/mm/init.c:90:19: error: conflicting type qualifiers for
'arm64_dma_phys_limit'
90 | const phys_addr_t arm64_dma_phys_limit = PHYS_MASK + 1;
| ^~~~~~~~~~~~~~~~~~~~
In file included from include/asm-generic/qrwlock.h:14,
from ./arch/arm64/include/generated/asm/qrwlock.h:1,
from arch/arm64/include/asm/spinlock.h:9,
from include/linux/spinlock.h:94,
from include/linux/swap.h:5,
from arch/arm64/mm/init.c:12:
arch/arm64/include/asm/processor.h:102:20: note: previous declaration
of 'arm64_dma_phys_limit' with type 'phys_addr_t' {aka 'long long
unsigned int'}
102 | extern phys_addr_t arm64_dma_phys_limit;
| ^~~~~~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:277: arch/arm64/mm/init.o] Error 1
Reported-by: Linux Kernel Functional Testing <lkft(a)linaro.org>
Is this the suspected commit ?
arm64: Do not defer reserve_crashkernel() for platforms with no DMA memory zones
commit 031495635b4668f94e964e037ca93d0d38bfde58 upstream.
https://qa-reports.linaro.org/_/comparetest/?project=1019&project=1110&proj…
- Naresh