tree: https://github.com/AsahiLinux/linux sven/20210829 head: 6db7d21b57b368ce4c62e201bded63d43b5940f9 commit: 53db7b68cf24a6e61acc47a721b9273af115172a [1/13] HACK/DONOTMERGE: print M1 SError sys regs config: arm64-randconfig-r031-20210830 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 510e106fa8635e7f9c51c896180b971de6309b2f) 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 # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://github.com/AsahiLinux/linux/commit/53db7b68cf24a6e61acc47a721b9273af115172a git remote add asahilinux https://github.com/AsahiLinux/linux git fetch --no-tags asahilinux sven/20210829 git checkout 53db7b68cf24a6e61acc47a721b9273af115172a # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): ^~~~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:796:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:822:27: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_PC_ALIGN] = "PC Alignment", ^~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:796:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:823:27: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_DABT_LOW] = "DABT (lower EL)", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:796:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:824:27: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_DABT_CUR] = "DABT (current EL)", ^~~~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:796:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:825:27: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_SP_ALIGN] = "SP Alignment", ^~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:796:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:826:27: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_FP_EXC32] = "FP (AArch32)", ^~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:796:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:827:27: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_FP_EXC64] = "FP (AArch64)", ^~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:796:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:828:25: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_SERROR] = "SError", ^~~~~~~~ arch/arm64/kernel/traps.c:796:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:829:29: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_BREAKPT_LOW] = "Breakpoint (lower EL)", ^~~~~~~~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:796:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:830:29: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_BREAKPT_CUR] = "Breakpoint (current EL)", ^~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:796:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:831:29: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_SOFTSTP_LOW] = "Software Step (lower EL)", ^~~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:796:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:832:29: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_SOFTSTP_CUR] = "Software Step (current EL)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:796:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:833:29: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_WATCHPT_LOW] = "Watchpoint (lower EL)", ^~~~~~~~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:796:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:834:29: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_WATCHPT_CUR] = "Watchpoint (current EL)", ^~~~~~~~~~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:796:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:835:25: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_BKPT32] = "BKPT (AArch32)", ^~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:796:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:836:27: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_VECTOR32] = "Vector catch (AArch32)", ^~~~~~~~~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:796:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:837:24: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [ESR_ELx_EC_BRK64] = "BRK (AArch64)", ^~~~~~~~~~~~~~~ arch/arm64/kernel/traps.c:796:28: note: previous initialization is here [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", ^~~~~~~~~~~~~~~~~ >> arch/arm64/kernel/traps.c:905:6: warning: no previous prototype for function 'print_apple_serror_regs' [-Wmissing-prototypes] void print_apple_serror_regs(void) ^ arch/arm64/kernel/traps.c:905:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void print_apple_serror_regs(void) ^ static arch/arm64/kernel/traps.c:980:5: warning: no previous prototype for function 'is_valid_bugaddr' [-Wmissing-prototypes] int is_valid_bugaddr(unsigned long addr) ^ arch/arm64/kernel/traps.c:980:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int is_valid_bugaddr(unsigned long addr) ^ static arch/arm64/kernel/traps.c:1082:12: warning: no previous prototype for function 'early_brk64' [-Wmissing-prototypes] int __init early_brk64(unsigned long addr, unsigned int esr, ^ arch/arm64/kernel/traps.c:1082:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int __init early_brk64(unsigned long addr, unsigned int esr, ^ static 44 warnings generated. vim +/print_apple_serror_regs +905 arch/arm64/kernel/traps.c 904 > 905 void print_apple_serror_regs(void) 906 { 907 printk("L2C_ERR_STS: 0x%llx\n", read_sysreg_s(SYS_IMP_APL_L2C_ERR_STS)); 908 printk("L2C_ERR_ADR: 0x%llx\n", read_sysreg_s(SYS_IMP_APL_L2C_ERR_ADR)); 909 printk("L2C_ERR_INF: 0x%llx\n", read_sysreg_s(SYS_IMP_APL_L2C_ERR_INF)); 910 911 if (!(read_sysreg_s(SYS_MPIDR_EL1) & (1 << 16))) { 912 printk("E_LSU_ERR_STS: 0x%llx\n", read_sysreg_s(SYS_IMP_APL_E_LSU_ERR_STS)); 913 printk("E_FED_ERR_STS: 0x%llx\n", read_sysreg_s(SYS_IMP_APL_E_FED_ERR_STS)); 914 printk("E_MMU_ERR_STS: 0x%llx\n", read_sysreg_s(SYS_IMP_APL_E_MMU_ERR_STS)); 915 } else { 916 printk("LSU_ERR_STS: 0x%llx\n", read_sysreg_s(SYS_IMP_APL_LSU_ERR_STS)); 917 printk("FED_ERR_STS: 0x%llx\n", read_sysreg_s(SYS_IMP_APL_FED_ERR_STS)); 918 printk("MMU_ERR_STS: 0x%llx\n", read_sysreg_s(SYS_IMP_APL_MMU_ERR_STS)); 919 } 920 } 921 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org