Hi Michael,
First bad commit (maybe != root cause):
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
linux-4.19.y
head: 7281e11121f6fb47ea1e757b7781c5c15e3781fe
commit: 57ac40ee09cea2ec90f71c6f49b15d0d82667b38 [2397/3689] powerpc: Drop -me200 addition
to build flags
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/stable/linux-stable-rc.gi...
git remote add linux-stable-rc
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-4.19.y
git checkout 57ac40ee09cea2ec90f71c6f49b15d0d82667b38
# 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/kernel/suspend.c:18:5: error: no previous prototype
for 'pfn_is_nosave' [-Werror=missing-prototypes]
18 | int
pfn_is_nosave(unsigned long pfn)
| ^~~~~~~~~~~~~
cc1: all warnings being treated as errors
--
> arch/powerpc/kernel/smp.c:445:5: error: no previous prototype for
'__smp_send_nmi_ipi' [-Werror=missing-prototypes]
445 | int
__smp_send_nmi_ipi(int cpu, void (*fn)(struct pt_regs *), u64 delay_us, bool safe)
| ^~~~~~~~~~~~~~~~~~
arch/powerpc/kernel/smp.c:521:6: error: no previous prototype for
'tick_broadcast' [-Werror=missing-prototypes]
521 | void tick_broadcast(const struct cpumask *mask)
| ^~~~~~~~~~~~~~
arch/powerpc/kernel/smp.c:531:6: error: no previous prototype for
'debugger_ipi_callback' [-Werror=missing-prototypes]
531 | void debugger_ipi_callback(struct pt_regs *regs)
| ^~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
--
> arch/powerpc/mm/fsl_booke_mmu.c:70:15: error: no previous
prototype for 'tlbcam_sz' [-Werror=missing-prototypes]
70 | unsigned
long tlbcam_sz(int idx)
| ^~~~~~~~~
arch/powerpc/mm/fsl_booke_mmu.c:269:21: error: no previous prototype for
'relocate_init' [-Werror=missing-prototypes]
269 | notrace void __init relocate_init(u64 dt_ptr, phys_addr_t start)
| ^~~~~~~~~~~~~
cc1: all warnings being treated as errors
--
In file included from arch/powerpc/xmon/xmon.c:67:
arch/powerpc/xmon/dis-asm.h: In function 'print_insn_powerpc':
> arch/powerpc/xmon/dis-asm.h:20:13: error: format '%x'
expects argument of type 'unsigned int', but argument 2 has type 'long
unsigned int' [-Werror=format=]
20 | printf("%.8x", insn);
| ~~~^ ~~~~
| | |
| | long unsigned int
| unsigned int
| %.8lx
arch/powerpc/xmon/dis-asm.h: In function 'print_insn_spu':
arch/powerpc/xmon/dis-asm.h:26:13: error: format '%x' expects argument of type
'unsigned int', but argument 2 has type 'long unsigned int'
[-Werror=format=]
26 | printf("%.8x", insn);
| ~~~^ ~~~~
| | |
| | long unsigned int
| unsigned int
| %.8lx
arch/powerpc/xmon/xmon.c: In function 'xmon_print_symbol':
arch/powerpc/xmon/xmon.c:3425:14: error: variable 'name' might be clobbered by
'longjmp' or 'vfork' [-Werror=clobbered]
3425 | const char *name = NULL;
| ^~~~
arch/powerpc/xmon/xmon.c: In function 'show_tasks':
arch/powerpc/xmon/xmon.c:3107:22: error: variable 'tsk' might be clobbered by
'longjmp' or 'vfork' [-Werror=clobbered]
3107 | struct task_struct *tsk = NULL;
| ^~~
arch/powerpc/xmon/xmon.c: In function 'xmon_core':
arch/powerpc/xmon/xmon.c:800:14: error: variable 'bp' might be clobbered by
'longjmp' or 'vfork' [-Werror=clobbered]
800 | struct bpt *bp;
| ^~
arch/powerpc/xmon/xmon.c:800:14: error: variable 'bp' might be clobbered by
'longjmp' or 'vfork' [-Werror=clobbered]
arch/powerpc/xmon/xmon.c:454:48: error: argument 'fromipi' might be clobbered
by 'longjmp' or 'vfork' [-Werror=clobbered]
454 | static int xmon_core(struct pt_regs *regs, int fromipi)
| ~~~~^~~~~~~
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 +/pfn_is_nosave +18 arch/powerpc/kernel/suspend.c
49c3df6aaa6a51 Vivek Goyal 2007-05-02 13
49c3df6aaa6a51 Vivek Goyal 2007-05-02 14 /*
49c3df6aaa6a51 Vivek Goyal 2007-05-02 15 * pfn_is_nosave - check if given pfn is in the
'nosave' section
49c3df6aaa6a51 Vivek Goyal 2007-05-02 16 */
49c3df6aaa6a51 Vivek Goyal 2007-05-02 17
49c3df6aaa6a51 Vivek Goyal 2007-05-02 @18 int pfn_is_nosave(unsigned long pfn)
:::::: The code at line 18 was first introduced by commit
:::::: 49c3df6aaa6a51071fc135273d1a2515d019099f [PATCH] x86: Move swsusp __pa() dependent
code to arch portion
:::::: TO: Vivek Goyal <vgoyal(a)in.ibm.com>
:::::: CC: Andi Kleen <andi(a)basil.nowhere.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org