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: powerpc-allyesconfig (attached as .config)
compiler: powerpc64-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=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from arch/powerpc/include/asm/book3s/64/mmu-hash.h:24,
from arch/powerpc/include/asm/book3s/64/mmu.h:30,
from arch/powerpc/include/asm/mmu.h:313,
from arch/powerpc/include/asm/lppaca.h:36,
from arch/powerpc/include/asm/paca.h:21,
from arch/powerpc/include/asm/current.h:16,
from include/linux/mutex.h:14,
from include/linux/notifier.h:14,
from include/linux/kprobes.h:35,
from arch/powerpc/lib/sstep.c:12:
arch/powerpc/include/asm/book3s/64/pgtable.h:1292:15: warning: type qualifiers ignored
on function return type [-Wignored-qualifiers]
1292 | static inline const int pud_pfn(pud_t pud)
| ^~~~~
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: warning: this statement may fall
through [-Wimplicit-fallthrough=]
2552 | if (ra == rd)
| ^
arch/powerpc/lib/sstep.c:2555:3: note: here
2555 | case STORE:
| ^~~~
vim +2552 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