tree:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
linux-4.14.y
head: a6b2dae3ee3a3f9f4db3fab5b4b9e493fecf4acd
commit: db01cad9efe3c3838a6b3a3f68affd295c4b92d6 [1547/3393] powerpc/64s: flush L1D on
kernel entry
config: powerpc-ps3_defconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 7.5.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.14.y
git checkout db01cad9efe3c3838a6b3a3f68affd295c4b92d6
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-7.5.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 errors (new ones prefixed by >>):
In file included from arch/powerpc/include/asm/book3s/64/mmu-hash.h:24:0,
from arch/powerpc/include/asm/book3s/64/mmu.h:30,
from arch/powerpc/include/asm/mmu.h:305,
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/sched.h:12,
from arch/powerpc/kernel/setup_64.c:17:
arch/powerpc/include/asm/book3s/64/pgtable.h:1218:15: error: type qualifiers ignored on
function return type [-Werror=ignored-qualifiers]
static inline const int pud_pfn(pud_t pud)
^~~~~
arch/powerpc/kernel/setup_64.c:133:13: error: no previous declaration for
'check_smt_enabled' [-Werror=missing-declarations]
void __init check_smt_enabled(void)
^~~~~~~~~~~~~~~~~
arch/powerpc/kernel/setup_64.c:273:13: error: no previous declaration for
'early_setup' [-Werror=missing-declarations]
void __init early_setup(unsigned long dt_ptr)
^~~~~~~~~~~
arch/powerpc/kernel/setup_64.c:343:6: error: no previous declaration for
'early_setup_secondary' [-Werror=missing-declarations]
void early_setup_secondary(void)
^~~~~~~~~~~~~~~~~~~~~
arch/powerpc/kernel/setup_64.c:494:13: error: no previous declaration for
'initialize_cache_info' [-Werror=missing-declarations]
void __init initialize_cache_info(void)
^~~~~~~~~~~~~~~~~~~~~
arch/powerpc/kernel/setup_64.c:580:13: error: no previous declaration for
'irqstack_early_init' [-Werror=missing-declarations]
void __init irqstack_early_init(void)
^~~~~~~~~~~~~~~~~~~
arch/powerpc/kernel/setup_64.c:648:13: error: no previous declaration for
'emergency_stack_init' [-Werror=missing-declarations]
void __init emergency_stack_init(void)
^~~~~~~~~~~~~~~~~~~~
> arch/powerpc/kernel/setup_64.c:846:6: error: no previous
declaration for 'entry_flush_enable' [-Werror=missing-declarations]
void
entry_flush_enable(bool enable)
^~~~~~~~~~~~~~~~~~
In file included from include/linux/serial_8250.h:14:0,
from arch/powerpc/kernel/setup_64.c:33:
include/linux/serial_core.h:391:19: error: 'earlycon_init_is_deferred' defined
but not used [-Werror=unused-const-variable=]
static const bool earlycon_init_is_deferred;
^~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/entry_flush_enable +846 arch/powerpc/kernel/setup_64.c
845
846 void entry_flush_enable(bool enable)
847 {
848 if (enable) {
849 do_entry_flush_fixups(enabled_flush_types);
850 on_each_cpu(do_nothing, NULL, 1);
851 } else {
852 do_entry_flush_fixups(L1D_FLUSH_NONE);
853 }
854
855 entry_flush = enable;
856 }
857
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org