tree: https://github.com/ammarfaizi2/linux-block herbert/cryptodev-2.6/master head: 2ae6feb1a1f6678fe11864f1b6920ed10b09ad6a commit: e634ac4a8aaab37bdc69177df9b40acf92eccc6d [143/151] crypto: api - Add crypto_tfm_ctx_dma config: powerpc-wii_defconfig compiler: powerpc-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/ammarfaizi2/linux-block/commit/e634ac4a8aaab37bdc69177df9b40acf92eccc6d git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block herbert/cryptodev-2.6/master git checkout e634ac4a8aaab37bdc69177df9b40acf92eccc6d # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash crypto/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from include/crypto/algapi.h:10, from include/crypto/internal/hash.h:11, from crypto/md5.c:18: >> arch/powerpc/include/asm/cache.h:78:15: error: unknown type name 'u32' 78 | static inline u32 l1_dcache_shift(void) | ^~~ arch/powerpc/include/asm/cache.h:83:15: error: unknown type name 'u32' 83 | static inline u32 l1_dcache_bytes(void) | ^~~ arch/powerpc/include/asm/cache.h:88:15: error: unknown type name 'u32' 88 | static inline u32 l1_icache_shift(void) | ^~~ arch/powerpc/include/asm/cache.h:93:15: error: unknown type name 'u32' 93 | static inline u32 l1_icache_bytes(void) | ^~~ vim +/u32 +78 arch/powerpc/include/asm/cache.h 7a0745c5e03ff1 Alastair D'Silva 2019-11-04 72 7a0745c5e03ff1 Alastair D'Silva 2019-11-04 73 static inline u32 l1_icache_bytes(void) 7a0745c5e03ff1 Alastair D'Silva 2019-11-04 74 { 7a0745c5e03ff1 Alastair D'Silva 2019-11-04 75 return ppc64_caches.l1i.block_size; 7a0745c5e03ff1 Alastair D'Silva 2019-11-04 76 } d98fc70fc139b7 Christophe Leroy 2019-05-14 77 #else 7a0745c5e03ff1 Alastair D'Silva 2019-11-04 @78 static inline u32 l1_dcache_shift(void) d98fc70fc139b7 Christophe Leroy 2019-05-14 79 { d98fc70fc139b7 Christophe Leroy 2019-05-14 80 return L1_CACHE_SHIFT; d98fc70fc139b7 Christophe Leroy 2019-05-14 81 } d98fc70fc139b7 Christophe Leroy 2019-05-14 82 :::::: The code at line 78 was first introduced by commit :::::: 7a0745c5e03ff1129864bc6d80f5c4417e8d7893 powerpc: define helpers to get L1 icache sizes :::::: TO: Alastair D'Silva :::::: CC: Michael Ellerman -- 0-DAY CI Kernel Test Service https://01.org/lkp