tree:
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
queue-4.19
head: e19f9c9b9d08b80587c0b922a18a383acaee5133
commit: e19f9c9b9d08b80587c0b922a18a383acaee5133 [2/2] powerpc/sstep: Fix load-store and
update emulation
config: powerpc64-randconfig-p001-20210318 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 9.3.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://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git/c...
git remote add sashal-linux-stable
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
git fetch --no-tags sashal-linux-stable queue-4.19
git checkout e19f9c9b9d08b80587c0b922a18a383acaee5133
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arch/powerpc/lib/sstep.c: In function 'analyse_instr':
> arch/powerpc/lib/sstep.c:2554:4: error: 'fallthrough'
undeclared (first use in this function)
2554 | fallthrough;
| ^~~~~~~~~~~
arch/powerpc/lib/sstep.c:2554:4: note: each undeclared identifier is reported only once
for each function it appears in
arch/powerpc/lib/sstep.c:2559:5: error: label 'unknown_opcode' used but not
defined
2559 | goto unknown_opcode;
| ^~~~
> arch/powerpc/lib/sstep.c:2552:7: error: this statement may fall
through [-Werror=implicit-fallthrough=]
2552 | if (ra == rd)
| ^
arch/powerpc/lib/sstep.c:2555:3: note: here
2555 | case STORE:
| ^~~~
cc1: all warnings being treated as errors
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for HOTPLUG_CPU
Depends on SMP && (PPC_PSERIES || PPC_PMAC || PPC_POWERNV || FSL_SOC_BOOKE
Selected by
- PM_SLEEP_SMP && SMP && (ARCH_SUSPEND_POSSIBLE ||
ARCH_HIBERNATION_POSSIBLE && PM_SLEEP
WARNING: unmet direct dependencies detected for FSL_EMB_PERFMON
Depends on E500 || PPC_83xx
Selected by
- PPC_FSL_BOOK3E
vim +/fallthrough +2554 arch/powerpc/lib/sstep.c
2546
2547 }
2548
2549 if (OP_IS_LOAD_STORE(op->type) && (op->type & UPDATE)) {
2550 switch (GETTYPE(op->type)) {
2551 case LOAD:
2552 if (ra == rd)
2553 goto unknown_opcode;
2554 fallthrough;
2555 case STORE:
2556 case LOAD_FP:
2557 case STORE_FP:
2558 if (ra == 0)
2559 goto unknown_opcode;
2560 }
2561 }
2562
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org