Linux stable-rc 4.19 branch build breaks on all architecture for
allnoconfig and tinyconfig.
arch/x86/entry/entry_64.S: Assembler messages:
arch/x86/entry/entry_64.S:1738: Warning: no instruction mnemonic
suffix given and no register operands; using default for `sysret'
In file included from include/linux/blk-cgroup.h:24,
from include/linux/backing-dev.h:18,
from include/linux/nfs_fs_sb.h:6,
from include/linux/nfs_fs.h:39,
from init/do_mounts.c:22:
include/linux/blk-mq.h:145:9: error: unknown type name 'softirq_done_fn'
145 | softirq_done_fn *complete;
| ^~~~~~~~~~~~~~~
In file included from arch/x86/include/asm/atomic.h:265,
from include/linux/atomic.h:7,
from include/linux/jump_label.h:185,
from arch/x86/include/asm/string_64.h:6,
from arch/x86/include/asm/string.h:5,
from include/linux/string.h:20,
from include/linux/bitmap.h:9,
from include/linux/cpumask.h:12,
from arch/x86/include/asm/cpumask.h:5,
from arch/x86/include/asm/msr.h:11,
from arch/x86/include/asm/processor.h:21,
from arch/x86/include/asm/cpufeature.h:5,
from arch/x86/include/asm/thread_info.h:53,
from include/linux/thread_info.h:39,
from arch/x86/include/asm/preempt.h:7,
from include/linux/preempt.h:81,
from include/linux/spinlock.h:51,
from include/linux/seqlock.h:36,
from include/linux/time.h:6,
from include/linux/stat.h:19,
from include/linux/module.h:10,
from init/do_mounts.c:1:
include/linux/blk-mq.h: In function 'blk_mq_mark_complete':
include/linux/blk-mq.h:309:27: error: invalid use of undefined type
'struct request'
309 | return cmpxchg(&rq->state, MQ_RQ_IN_FLIGHT, MQ_RQ_COMPLETE) ==
| ^~
include/asm-generic/atomic-instrumented.h:420:16: note: in definition
of macro 'cmpxchg'
420 | typeof(ptr) __ai_ptr = (ptr);
\
| ^~~
include/linux/blk-mq.h:309:27: error: invalid use of undefined type
'struct request'
309 | return cmpxchg(&rq->state, MQ_RQ_IN_FLIGHT, MQ_RQ_COMPLETE) ==
| ^~
include/asm-generic/atomic-instrumented.h:420:33: note: in definition
of macro 'cmpxchg'
420 | typeof(ptr) __ai_ptr = (ptr);
\
| ^~~
include/asm-generic/atomic-instrumented.h:421:44: error: invalid type
argument of unary '*' (have 'int')
421 | kasan_check_write(__ai_ptr, sizeof(*__ai_ptr));
\
| ^~~~~~~~~
include/linux/blk-mq.h:309:16: note: in expansion of macro 'cmpxchg'
309 | return cmpxchg(&rq->state, MQ_RQ_IN_FLIGHT, MQ_RQ_COMPLETE) ==
| ^~~~~~~
include/asm-generic/atomic-instrumented.h:421:27: warning: passing
argument 1 of 'kasan_check_write' makes pointer from integer without a
cast [-Wint-conversion]
421 | kasan_check_write(__ai_ptr, sizeof(*__ai_ptr));
\
| ^~~~~~~~
| |
| int
include/linux/blk-mq.h:309:16: note: in expansion of macro 'cmpxchg'
309 | return cmpxchg(&rq->state, MQ_RQ_IN_FLIGHT, MQ_RQ_COMPLETE) ==
| ^~~~~~~
Reported-by: Linux Kernel Functional Testing <lkft(a)linaro.org>
--
Linaro LKFT
https://lkft.linaro.org
Linux stable-rc 5.4 branch build breaks on all architecture for allnoconfig.
metadata:
git_describe: v5.4.188-369-ga60d79f382c9
git_repo: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc
git_sha: a60d79f382c91dcb19578178a5032af6ccbf4c89
kconfig:allnoconfig
kernel_version: 5.4.189-rc1
target_arch: x86_64
toolchain: gcc-11
In file included from include/linux/blk-cgroup.h:25,
from include/linux/writeback.h:14,
from include/linux/memcontrol.h:22,
from include/linux/swap.h:9,
from include/linux/suspend.h:5,
from arch/x86/kernel/asm-offsets.c:13:
include/linux/blk-mq.h:62:33: error: field 'kobj' has incomplete type
62 | struct kobject kobj;
| ^~~~
include/linux/blk-mq.h: In function 'blk_mq_rq_from_pdu':
include/linux/blk-mq.h:352:29: error: invalid application of 'sizeof'
to incomplete type 'struct request'
352 | return pdu - sizeof(struct request);
| ^~~~~~
include/linux/blk-mq.h: In function 'blk_mq_rq_to_pdu':
include/linux/blk-mq.h:356:19: error: invalid use of undefined type
'struct request'
356 | return rq + 1;
| ^
include/linux/blk-mq.h: In function 'request_to_qc_t':
include/linux/blk-mq.h:370:15: error: invalid use of undefined type
'struct request'
370 | if (rq->tag != -1)
| ^~
include/linux/blk-mq.h:371:26: error: invalid use of undefined type
'struct request'
371 | return rq->tag | (hctx->queue_num << BLK_QC_T_SHIFT);
| ^~
include/linux/blk-mq.h:373:18: error: invalid use of undefined type
'struct request'
373 | return rq->internal_tag | (hctx->queue_num << BLK_QC_T_SHIFT) |
| ^~
include/linux/blk-mq.h: In function 'blk_mq_cleanup_rq':
include/linux/blk-mq.h:379:15: error: invalid use of undefined type
'struct request'
379 | if (rq->q->mq_ops->cleanup_rq)
| ^~
include/linux/blk-mq.h:380:19: error: invalid use of undefined type
'struct request'
380 | rq->q->mq_ops->cleanup_rq(rq);
| ^~
make[2]: *** [scripts/Makefile.build:99: arch/x86/kernel/asm-offsets.s] Error 1
Reported-by: Linux Kernel Functional Testing <lkft(a)linaro.org>
--
Linaro LKFT
https://lkft.linaro.org
[1] https://builds.tuxbuild.com/27KejBvVC9gRN1Yk21Nqn51Ptv6/
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