lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 9 Dec 2015 18:30:03 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Qais Yousef <qais.yousef@...tec.com>
Cc:	kbuild-all@...org, linux-kernel@...r.kernel.org,
	tglx@...utronix.de, jason@...edaemon.net, marc.zyngier@....com,
	jiang.liu@...ux.intel.com, ralf@...ux-mips.org,
	linux-mips@...ux-mips.org, lisa.parratt@...tec.com,
	Qais Yousef <qais.yousef@...tec.com>
Subject: Re: [PATCH v4 17/19] MIPS: Make smp CMP, CPS and MT use the new
 generic IPI functions

Hi Qais,

[auto build test ERROR on tip/irq/core]
[also build test ERROR on v4.4-rc4 next-20151208]

url:    https://github.com/0day-ci/linux/commits/Qais-Yousef/Implement-generic-IPI-support-mechanism/20151208-212743
config: mips-malta_defconfig (attached as .config)
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
        # save the attached .config to linux build tree
        make.cross ARCH=mips 

All errors (new ones prefixed by >>):

   arch/mips/kernel/smp.c: In function 'mips_smp_ipi_init':
>> arch/mips/kernel/smp.c:245:9: error: implicit declaration of function 'of_irq_find_parent' [-Werror=implicit-function-declaration]
     node = of_irq_find_parent(of_root);
            ^
   arch/mips/kernel/smp.c:245:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     node = of_irq_find_parent(of_root);
          ^
   cc1: some warnings being treated as errors
--
   arch/mips/kernel/smp-gic.c: In function 'gic_send_ipi_single':
>> arch/mips/kernel/smp-gic.c:34:10: error: implicit declaration of function 'plat_ipi_call_int_xlate' [-Werror=implicit-function-declaration]
      intr = plat_ipi_call_int_xlate(cpu);
             ^
>> arch/mips/kernel/smp-gic.c:38:10: error: implicit declaration of function 'plat_ipi_resched_int_xlate' [-Werror=implicit-function-declaration]
      intr = plat_ipi_resched_int_xlate(cpu);
             ^
>> arch/mips/kernel/smp-gic.c:45:2: error: implicit declaration of function 'gic_send_ipi' [-Werror=implicit-function-declaration]
     gic_send_ipi(intr);
     ^
   cc1: some warnings being treated as errors

vim +/plat_ipi_call_int_xlate +34 arch/mips/kernel/smp-gic.c

72e20142 Paul Burton 2014-01-15  28  		 smp_processor_id(), __func__, cpu, action, read_c0_status());
72e20142 Paul Burton 2014-01-15  29  
72e20142 Paul Burton 2014-01-15  30  	local_irq_save(flags);
72e20142 Paul Burton 2014-01-15  31  
72e20142 Paul Burton 2014-01-15  32  	switch (action) {
72e20142 Paul Burton 2014-01-15  33  	case SMP_CALL_FUNCTION:
72e20142 Paul Burton 2014-01-15 @34  		intr = plat_ipi_call_int_xlate(cpu);
72e20142 Paul Burton 2014-01-15  35  		break;
72e20142 Paul Burton 2014-01-15  36  
72e20142 Paul Burton 2014-01-15  37  	case SMP_RESCHEDULE_YOURSELF:
72e20142 Paul Burton 2014-01-15 @38  		intr = plat_ipi_resched_int_xlate(cpu);
72e20142 Paul Burton 2014-01-15  39  		break;
72e20142 Paul Burton 2014-01-15  40  
72e20142 Paul Burton 2014-01-15  41  	default:
72e20142 Paul Burton 2014-01-15  42  		BUG();
72e20142 Paul Burton 2014-01-15  43  	}
72e20142 Paul Burton 2014-01-15  44  
72e20142 Paul Burton 2014-01-15 @45  	gic_send_ipi(intr);
d0508944 Paul Burton 2014-04-14  46  
d0508944 Paul Burton 2014-04-14  47  	if (mips_cpc_present() && (core != current_cpu_data.core)) {
d0508944 Paul Burton 2014-04-14  48  		while (!cpumask_test_cpu(cpu, &cpu_coherent_mask)) {

:::::: The code at line 34 was first introduced by commit
:::::: 72e20142b2bf4cf1c3071e6cf49d01f55f2e1e53 MIPS: Move GIC IPI functions out of smp-cmp.c

:::::: TO: Paul Burton <paul.burton@...tec.com>
:::::: CC: Ralf Baechle <ralf@...ux-mips.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/octet-stream" (16659 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ