tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: 38c7fc1c938c469af27c032bf4eab0c4aaf4eba1 commit: 38c7fc1c938c469af27c032bf4eab0c4aaf4eba1 [162/162] sched/headers: Reduce header dependencies config: arm64-alldefconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 38c7fc1c938c469af27c032bf4eab0c4aaf4eba1 # save the attached .config to linux build tree make.cross ARCH=arm64
All errors (new ones prefixed by >>): arch/arm64/kernel/psci.c: In function 'cpu_psci_cpu_boot': >> arch/arm64/kernel/psci.c:48:50: error: implicit declaration of function >> '__pa' [-Werror=implicit-function-declaration] int err = psci_ops.cpu_on(cpu_logical_map(cpu), __pa(secondary_entry)); ^~~~ cc1: some warnings being treated as errors vim +/__pa +48 arch/arm64/kernel/psci.c 00ef54bb Mark Rutland 2013-10-24 32 { 00ef54bb Mark Rutland 2013-10-24 33 return 0; 00ef54bb Mark Rutland 2013-10-24 34 } 00ef54bb Mark Rutland 2013-10-24 35 cd1aebf5 Mark Rutland 2013-10-24 36 static int __init cpu_psci_cpu_prepare(unsigned int cpu) 00ef54bb Mark Rutland 2013-10-24 37 { 00ef54bb Mark Rutland 2013-10-24 38 if (!psci_ops.cpu_on) { 00ef54bb Mark Rutland 2013-10-24 39 pr_err("no cpu_on method, not booting CPU%d\n", cpu); 00ef54bb Mark Rutland 2013-10-24 40 return -ENODEV; 00ef54bb Mark Rutland 2013-10-24 41 } 00ef54bb Mark Rutland 2013-10-24 42 652af899 Mark Rutland 2013-10-24 43 return 0; 00ef54bb Mark Rutland 2013-10-24 44 } 00ef54bb Mark Rutland 2013-10-24 45 652af899 Mark Rutland 2013-10-24 46 static int cpu_psci_cpu_boot(unsigned int cpu) 652af899 Mark Rutland 2013-10-24 47 { 652af899 Mark Rutland 2013-10-24 @48 int err = psci_ops.cpu_on(cpu_logical_map(cpu), __pa(secondary_entry)); 652af899 Mark Rutland 2013-10-24 49 if (err) 288ac26c Vladimir Murzin 2014-02-28 50 pr_err("failed to boot CPU%d (%d)\n", cpu, err); 652af899 Mark Rutland 2013-10-24 51 652af899 Mark Rutland 2013-10-24 52 return err; 00ef54bb Mark Rutland 2013-10-24 53 } 00ef54bb Mark Rutland 2013-10-24 54 831ccf79 Mark Rutland 2013-10-24 55 #ifdef CONFIG_HOTPLUG_CPU 831ccf79 Mark Rutland 2013-10-24 56 static int cpu_psci_cpu_disable(unsigned int cpu) :::::: The code at line 48 was first introduced by commit :::::: 652af899799354049b273af897b798b8f03fdd88 arm64: factor out spin-table boot method :::::: TO: Mark Rutland <mark.rutl...@arm.com> :::::: CC: Catalin Marinas <catalin.mari...@arm.com> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip