Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1562753

Re: [PATCH 1/4] ARM: mmu: decouple VECTORS_BASE from Kconfig

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/4] ARM: mmu: decouple VECTORS_BASE from Kconfig
Date 2017-01-19 15:10 +0100
Message-ID <t1lzz-2wM-7@gated-at.bofh.it> (permalink)
References <t15bt-o6-59@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi afzal,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.10-rc4 next-20170119]
[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/afzal-mohammed/ARM-mmu-decouple-VECTORS_BASE-from-Kconfig/20170119-171424
config: arm-stm32_defconfig (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 

Note: the linux-review/afzal-mohammed/ARM-mmu-decouple-VECTORS_BASE-from-Kconfig/20170119-171424 HEAD dd110acc21d40c8f50374de1e500a091d14f29c8 builds fine.
      It only hurts bisectibility.

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

   arch/arm/mm/init.c: In function 'mem_init':
>> arch/arm/mm/init.c:525:11: error: 'VECTORS_BASEUL' undeclared (first use in this function)
       MLK(UL(VECTORS_BASE), UL(VECTORS_BASE) + (PAGE_SIZE)),
              ^
   arch/arm/mm/init.c:501:19: note: in definition of macro 'MLK'
    #define MLK(b, t) b, t, ((t) - (b)) >> 10
                      ^
>> include/uapi/linux/const.h:20:18: note: in expansion of macro '__AC'
    #define _AC(X,Y) __AC(X,Y)
                     ^~~~
>> arch/arm/include/asm/memory.h:29:15: note: in expansion of macro '_AC'
    #define UL(x) _AC(x, UL)
                  ^~~
>> include/linux/printk.h:297:36: note: in expansion of macro 'UL'
     printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)
                                       ^~~~~~~~~~~
>> arch/arm/mm/init.c:505:2: note: in expansion of macro 'pr_notice'
     pr_notice("Virtual kernel memory layout:\n"
     ^~~~~~~~~
   arch/arm/mm/init.c:525:11: note: each undeclared identifier is reported only once for each function it appears in
       MLK(UL(VECTORS_BASE), UL(VECTORS_BASE) + (PAGE_SIZE)),
              ^
   arch/arm/mm/init.c:501:19: note: in definition of macro 'MLK'
    #define MLK(b, t) b, t, ((t) - (b)) >> 10
                      ^
>> include/uapi/linux/const.h:20:18: note: in expansion of macro '__AC'
    #define _AC(X,Y) __AC(X,Y)
                     ^~~~
>> arch/arm/include/asm/memory.h:29:15: note: in expansion of macro '_AC'
    #define UL(x) _AC(x, UL)
                  ^~~
>> include/linux/printk.h:297:36: note: in expansion of macro 'UL'
     printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)
                                       ^~~~~~~~~~~
>> arch/arm/mm/init.c:505:2: note: in expansion of macro 'pr_notice'
     pr_notice("Virtual kernel memory layout:\n"
     ^~~~~~~~~

vim +/VECTORS_BASEUL +525 arch/arm/mm/init.c

   499		mem_init_print_info(NULL);
   500	
   501	#define MLK(b, t) b, t, ((t) - (b)) >> 10
   502	#define MLM(b, t) b, t, ((t) - (b)) >> 20
   503	#define MLK_ROUNDUP(b, t) b, t, DIV_ROUND_UP(((t) - (b)), SZ_1K)
   504	
 > 505		pr_notice("Virtual kernel memory layout:\n"
   506				"    vector  : 0x%08lx - 0x%08lx   (%4ld kB)\n"
   507	#ifdef CONFIG_HAVE_TCM
   508				"    DTCM    : 0x%08lx - 0x%08lx   (%4ld kB)\n"
   509				"    ITCM    : 0x%08lx - 0x%08lx   (%4ld kB)\n"
   510	#endif
   511				"    fixmap  : 0x%08lx - 0x%08lx   (%4ld kB)\n"
   512				"    vmalloc : 0x%08lx - 0x%08lx   (%4ld MB)\n"
   513				"    lowmem  : 0x%08lx - 0x%08lx   (%4ld MB)\n"
   514	#ifdef CONFIG_HIGHMEM
   515				"    pkmap   : 0x%08lx - 0x%08lx   (%4ld MB)\n"
   516	#endif
   517	#ifdef CONFIG_MODULES
   518				"    modules : 0x%08lx - 0x%08lx   (%4ld MB)\n"
   519	#endif
   520				"      .text : 0x%p" " - 0x%p" "   (%4td kB)\n"
   521				"      .init : 0x%p" " - 0x%p" "   (%4td kB)\n"
   522				"      .data : 0x%p" " - 0x%p" "   (%4td kB)\n"
   523				"       .bss : 0x%p" " - 0x%p" "   (%4td kB)\n",
   524	
 > 525				MLK(UL(VECTORS_BASE), UL(VECTORS_BASE) + (PAGE_SIZE)),
   526	#ifdef CONFIG_HAVE_TCM
   527				MLK(DTCM_OFFSET, (unsigned long) dtcm_end),
   528				MLK(ITCM_OFFSET, (unsigned long) itcm_end),

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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/4] ARM: mmu: decouple VECTORS_BASE from Kconfig afzal mohammed <afzal.mohd.ma@gmail.com> - 2017-01-18 21:40 +0100
  Re: [PATCH 1/4] ARM: mmu: decouple VECTORS_BASE from Kconfig Afzal Mohammed <afzal.mohd.ma@gmail.com> - 2017-01-19 14:40 +0100
  Re: [PATCH 1/4] ARM: mmu: decouple VECTORS_BASE from Kconfig kbuild test robot <lkp@intel.com> - 2017-01-19 15:10 +0100
  Re: [PATCH 1/4] ARM: mmu: decouple VECTORS_BASE from Kconfig Russell King - ARM Linux <linux@armlinux.org.uk> - 2017-01-19 15:30 +0100
    Re: [PATCH 1/4] ARM: mmu: decouple VECTORS_BASE from Kconfig Afzal Mohammed <afzal.mohd.ma@gmail.com> - 2017-01-20 17:10 +0100
    Re: [PATCH 1/4] ARM: mmu: decouple VECTORS_BASE from Kconfig Afzal Mohammed <afzal.mohd.ma@gmail.com> - 2017-01-22 04:30 +0100

csiph-web