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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 9 Dec 2016 05:49:03 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Florian Fainelli <f.fainelli@...il.com>
Cc:     kbuild-all@...org, linux-arm-kernel@...ts.infradead.org,
        Florian Fainelli <f.fainelli@...il.com>, linux@...linux.org.uk,
        nicolas.pitre@...aro.org, panand@...hat.com,
        chris.brandt@...esas.com, arnd@...db.de, jonathan.austin@....com,
        pawel.moll@....com, vladimir.murzin@....com, mark.rutland@....com,
        ard.biesheuvel@...aro.org, keescook@...omium.org,
        matt@...eblueprint.co.uk, labbott@...oraproject.org,
        kirill.shutemov@...ux.intel.com, ben@...adent.org.uk,
        js07.lee@...sung.com, stefan@...er.ch, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 4/4] ARM: treewide: Replace uses of virt_to_phys with
 __pa_symbol

Hi Florian,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.9-rc8]
[cannot apply to arm-soc/for-next next-20161208]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Florian-Fainelli/ARM-Add-support-for-CONFIG_DEBUG_VIRTUAL/20161209-032753
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-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
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All error/warnings (new ones prefixed by >>):

   arch/arm/mach-realview/platsmp-dt.c: In function 'realview_smp_prepare_cpus':
>> arch/arm/mach-realview/platsmp-dt.c:79:50: error: expected ')' before ';' token
           __pa_symbol((versatile_secondary_startup));)
                                                     ^
>> arch/arm/mach-realview/platsmp-dt.c:80:1: error: expected ';' before '}' token
    }
    ^
--
   In file included from arch/arm/include/asm/delay.h:9:0,
                    from include/linux/delay.h:14,
                    from arch/arm/mach-zx/platsmp.c:10:
   arch/arm/mach-zx/platsmp.c: In function 'zx_smp_prepare_cpus':
>> arch/arm/mach-zx/platsmp.c:97:62: error: expected ')' before ';' token
     zx_secondary_startup_pa = __pa_symbol((zx_secondary_startup);)
                                                                 ^
   arch/arm/include/asm/memory.h:264:56: note: in definition of macro '__pa_symbol_nodebug'
    #define __pa_symbol_nodebug(x) __virt_to_phys_nodebug((x))
                                                           ^
   arch/arm/include/asm/memory.h:296:25: note: in expansion of macro '__phys_addr_symbol'
    #define __pa_symbol(x)  __phys_addr_symbol(RELOC_HIDE((unsigned long)(x), 0))
                            ^~~~~~~~~~~~~~~~~~
>> arch/arm/include/asm/memory.h:296:44: note: in expansion of macro 'RELOC_HIDE'
    #define __pa_symbol(x)  __phys_addr_symbol(RELOC_HIDE((unsigned long)(x), 0))
                                               ^~~~~~~~~~
>> arch/arm/mach-zx/platsmp.c:97:28: note: in expansion of macro '__pa_symbol'
     zx_secondary_startup_pa = __pa_symbol((zx_secondary_startup);)
                               ^~~~~~~~~~~
>> arch/arm/mach-zx/platsmp.c:97:62: error: expected ')' before ';' token
     zx_secondary_startup_pa = __pa_symbol((zx_secondary_startup);)
                                                                 ^
   arch/arm/include/asm/memory.h:264:56: note: in definition of macro '__pa_symbol_nodebug'
    #define __pa_symbol_nodebug(x) __virt_to_phys_nodebug((x))
                                                           ^
   arch/arm/include/asm/memory.h:296:25: note: in expansion of macro '__phys_addr_symbol'
    #define __pa_symbol(x)  __phys_addr_symbol(RELOC_HIDE((unsigned long)(x), 0))
                            ^~~~~~~~~~~~~~~~~~
>> arch/arm/include/asm/memory.h:296:44: note: in expansion of macro 'RELOC_HIDE'
    #define __pa_symbol(x)  __phys_addr_symbol(RELOC_HIDE((unsigned long)(x), 0))
                                               ^~~~~~~~~~
>> arch/arm/mach-zx/platsmp.c:97:28: note: in expansion of macro '__pa_symbol'
     zx_secondary_startup_pa = __pa_symbol((zx_secondary_startup);)
                               ^~~~~~~~~~~
   In file included from arch/arm/mach-zx/platsmp.c:21:0:
>> arch/arm/include/asm/fncpy.h:71:39: error: expected expression before '{' token
    #define fncpy(dest_buf, funcp, size) ({     \
                                          ^
>> arch/arm/mach-zx/platsmp.c:98:2: note: in expansion of macro 'fncpy'
     fncpy(sys_iram, &zx_resume_jump, zx_suspend_iram_sz);
     ^~~~~
   In file included from arch/arm/include/asm/delay.h:9:0,
                    from include/linux/delay.h:14,
                    from arch/arm/mach-zx/platsmp.c:10:
>> arch/arm/include/asm/memory.h:264:32: error: called object is not a function or function pointer
    #define __pa_symbol_nodebug(x) __virt_to_phys_nodebug((x))
                                   ^
   arch/arm/include/asm/memory.h:271:31: note: in expansion of macro '__pa_symbol_nodebug'
    #define __phys_addr_symbol(x) __pa_symbol_nodebug(x)
                                  ^~~~~~~~~~~~~~~~~~~
   arch/arm/include/asm/memory.h:296:25: note: in expansion of macro '__phys_addr_symbol'
    #define __pa_symbol(x)  __phys_addr_symbol(RELOC_HIDE((unsigned long)(x), 0))
                            ^~~~~~~~~~~~~~~~~~
>> arch/arm/mach-zx/platsmp.c:97:28: note: in expansion of macro '__pa_symbol'
     zx_secondary_startup_pa = __pa_symbol((zx_secondary_startup);)
                               ^~~~~~~~~~~

vim +79 arch/arm/mach-realview/platsmp-dt.c

    73		if (IS_ERR(map)) {
    74			pr_err("PLATSMP: No syscon regmap\n");
    75			return;
    76		}
    77		/* Put the boot address in this magic register */
    78		regmap_write(map, REALVIEW_SYS_FLAGSSET_OFFSET,
  > 79			     __pa_symbol((versatile_secondary_startup));)
  > 80	}
    81	
    82	static const struct smp_operations realview_dt_smp_ops __initconst = {
    83		.smp_prepare_cpus	= realview_smp_prepare_cpus,

---
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/gzip" (59402 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ