[5.10.y-cip] Build error with defconfig

Biju Das <biju.das.jz@...>

Hi Pavel and Nobuhiro,

I get build error[2] with defconfig with this commit id[1].

Q1) have you seen this issue?

commit 19dd4538e81e4019bc96ac6521af3a4ec93e110c (HEAD -> test, tag: v5.10.129-cip12, rzg2l-linux/linux-5.10.y-cip, origin/linux-5.10.y-cip, linux-5.10.y-cip)
Author: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@...>
Date: Fri Jul 8 14:30:34 2022 +0900

CIP: Bump version suffix to -cip12 after merge from stable

Build logs:
biju@biju-VirtualBox:~/linux-cip$ ~/compile_copy_rzg2l.sh
*** Default configuration is based on 'defconfig'
# No change to .config
CALL scripts/atomic/check-atomics.sh
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CC arch/arm64/mm/dma-mapping.o
CC arch/arm64/xen/../../arm/xen/mm.o
CC arch/arm64/mm/init.o
CC kernel/dma/mapping.o
CC kernel/dma/direct.o
CC kernel/dma/ops_helpers.o
CC kernel/dma/dummy.o
CC kernel/dma/contiguous.o
CC kernel/dma/coherent.o
CC kernel/dma/swiotlb.o
CC kernel/dma/pool.o
CC [M] fs/btrfs/disk-io.o
CC [M] fs/btrfs/inode.o
CC [M] fs/btrfs/file.o
In file included from ./include/linux/dma-map-ops.h:75,
from ./include/linux/dma-direct.h:10,
from arch/arm64/xen/../../arm/xen/mm.c:3:
./arch/arm64/include/asm/dma-mapping.h: In function '__generic_dma_ops':
./arch/arm64/include/asm/dma-mapping.h:32:26: error: 'struct dev_archdata' has no member named 'dma_ops'
32 | if (dev && dev->archdata.dma_ops)
| ^
./arch/arm64/include/asm/dma-mapping.h:33:23: error: 'struct dev_archdata' has no member named 'dma_ops'
33 | return dev->archdata.dma_ops;
| ^
./arch/arm64/include/asm/dma-mapping.h: In function 'get_dma_ops':
./arch/arm64/include/asm/dma-mapping.h:45:10: error: 'xen_dma_ops' undeclared (first use in this function); did you mean 'get_dma_ops'?
45 | return xen_dma_ops;
| ^~~~~~~~~~~
| get_dma_ops
./arch/arm64/include/asm/dma-mapping.h:45:10: note: each undeclared identifier is reported only once for each function it appears in
./arch/arm64/include/asm/dma-mapping.h: In function 'is_device_dma_coherent':
./arch/arm64/include/asm/dma-mapping.h:64:22: error: 'struct dev_archdata' has no member named 'dma_coherent'
64 | return dev->archdata.dma_coherent;
| ^
./arch/arm64/include/asm/dma-mapping.h: At top level:
./arch/arm64/include/asm/dma-mapping.h:67:10: fatal error: asm-generic/dma-mapping-common.h: No such file or directory
67 | #include <asm-generic/dma-mapping-common.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Join cip-dev@lists.cip-project.org to automatically receive all group messages.