linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Florian Fainelli <f.fainelli@gmail.com>
Cc: kbuild-all@01.org, linux-arm-kernel@lists.infradead.org,
	Florian Fainelli <f.fainelli@gmail.com>,
	linux@armlinux.org.uk, nicolas.pitre@linaro.org,
	panand@redhat.com, chris.brandt@renesas.com, arnd@arndb.de,
	jonathan.austin@arm.com, pawel.moll@arm.com,
	vladimir.murzin@arm.com, mark.rutland@arm.com,
	ard.biesheuvel@linaro.org, keescook@chromium.org,
	matt@codeblueprint.co.uk, labbott@fedoraproject.org,
	kirill.shutemov@linux.intel.com, ben@decadent.org.uk,
	js07.lee@samsung.com, stefan@agner.ch,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 4/4] ARM: treewide: Replace uses of virt_to_phys with __pa_symbol
Date: Fri, 9 Dec 2016 05:49:03 +0800	[thread overview]
Message-ID: <201612090545.mM8wL2jp%fengguang.wu@intel.com> (raw)
In-Reply-To: <20161208185933.13749-5-f.fainelli@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 5470 bytes --]

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 59402 bytes --]

  reply	other threads:[~2016-12-08 21:50 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-06 23:50 [PATCHv5 00/11] CONFIG_DEBUG_VIRTUAL for arm64 Laura Abbott
2016-12-06 23:50 ` [PATCHv5 01/11] lib/Kconfig.debug: Add ARCH_HAS_DEBUG_VIRTUAL Laura Abbott
2016-12-06 23:50 ` [PATCHv5 02/11] mm/cma: Cleanup highmem check Laura Abbott
2016-12-06 23:50 ` [PATCHv5 03/11] arm64: Move some macros under #ifndef __ASSEMBLY__ Laura Abbott
2016-12-06 23:50 ` [PATCHv5 04/11] arm64: Add cast for virt_to_pfn Laura Abbott
2016-12-06 23:50 ` [PATCHv5 05/11] mm: Introduce lm_alias Laura Abbott
2016-12-06 23:50 ` [PATCHv5 06/11] arm64: Use __pa_symbol for kernel symbols Laura Abbott
2016-12-13 12:31   ` Mark Rutland
2016-12-06 23:50 ` [PATCHv5 07/11] drivers: firmware: psci: Use __pa_symbol for kernel symbol Laura Abbott
2016-12-06 23:50 ` [PATCHv5 08/11] kexec: Switch to __pa_symbol Laura Abbott
2016-12-06 23:50 ` [PATCHv5 09/11] mm/kasan: Switch to using __pa_symbol and lm_alias Laura Abbott
2016-12-13 12:31   ` Mark Rutland
2016-12-06 23:50 ` [PATCHv5 10/11] mm/usercopy: Switch to using lm_alias Laura Abbott
2016-12-06 23:50 ` [PATCHv5 11/11] arm64: Add support for CONFIG_DEBUG_VIRTUAL Laura Abbott
2016-12-08 18:59 ` [PATCH v2 0/4] ARM: " Florian Fainelli
2016-12-08 18:59   ` [PATCH v2 1/4] mtd: lart: Rename partition defines to be prefixed with PART_ Florian Fainelli
2016-12-08 18:59   ` [PATCH v2 2/4] ARM: Define KERNEL_START and KERNEL_END Florian Fainelli
2016-12-08 18:59   ` [PATCH v2 3/4] ARM: Add support for CONFIG_DEBUG_VIRTUAL Florian Fainelli
2016-12-08 18:59   ` [PATCH v2 4/4] ARM: treewide: Replace uses of virt_to_phys with __pa_symbol Florian Fainelli
2016-12-08 21:49     ` kbuild test robot [this message]
2016-12-09 23:36   ` [PATCH v3 0/4] ARM: Add support for CONFIG_DEBUG_VIRTUAL Florian Fainelli
2016-12-09 23:36     ` [PATCH v3 1/4] mtd: lart: Rename partition defines to be prefixed with PART_ Florian Fainelli
2016-12-14  7:08       ` Boris Brezillon
2016-12-09 23:36     ` [PATCH v3 2/4] ARM: Define KERNEL_START and KERNEL_END Florian Fainelli
2016-12-09 23:36     ` [PATCH v3 3/4] ARM: Add support for CONFIG_DEBUG_VIRTUAL Florian Fainelli
2016-12-22  2:40       ` Laura Abbott
2016-12-09 23:36     ` [PATCH v3 4/4] ARM: treewide: Replace uses of virt_to_phys with __pa_symbol Florian Fainelli
2016-12-13 20:29     ` [PATCH v3 0/4] ARM: Add support for CONFIG_DEBUG_VIRTUAL Florian Fainelli
2016-12-26 20:38     ` [PATCH v4 " Florian Fainelli
2016-12-26 20:38       ` [PATCH v4 1/4] mtd: lart: Rename partition defines to be prefixed with PART_ Florian Fainelli
2016-12-26 20:38       ` [PATCH v4 2/4] ARM: Define KERNEL_START and KERNEL_END Florian Fainelli
2016-12-26 20:38       ` [PATCH v4 3/4] ARM: Add support for CONFIG_DEBUG_VIRTUAL Florian Fainelli
2016-12-26 20:38       ` [PATCH v4 4/4] ARM: treewide: Replace uses of virt_to_phys with __pa_symbol Florian Fainelli
2017-01-02 14:10       ` [PATCH v4 0/4] ARM: Add support for CONFIG_DEBUG_VIRTUAL Russell King - ARM Linux
2016-12-13 13:50 ` [PATCHv5 00/11] CONFIG_DEBUG_VIRTUAL for arm64 Mark Rutland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201612090545.mM8wL2jp%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=ard.biesheuvel@linaro.org \
    --cc=arnd@arndb.de \
    --cc=ben@decadent.org.uk \
    --cc=chris.brandt@renesas.com \
    --cc=f.fainelli@gmail.com \
    --cc=jonathan.austin@arm.com \
    --cc=js07.lee@samsung.com \
    --cc=kbuild-all@01.org \
    --cc=keescook@chromium.org \
    --cc=kirill.shutemov@linux.intel.com \
    --cc=labbott@fedoraproject.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=matt@codeblueprint.co.uk \
    --cc=nicolas.pitre@linaro.org \
    --cc=panand@redhat.com \
    --cc=pawel.moll@arm.com \
    --cc=stefan@agner.ch \
    --cc=vladimir.murzin@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).