linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Dennis Zhou <dennisz@fb.com>
Cc: kbuild-all@01.org, Tejun Heo <tj@kernel.org>,
	Christoph Lameter <cl@linux.com>,
	kernel-team@fb.com, linux-kernel@vger.kernel.org,
	linux-mm@kvack.org, Dennis Zhou <dennisszhou@gmail.com>
Subject: Re: [PATCH 05/10] percpu: change reserved_size to end page aligned
Date: Sun, 16 Jul 2017 12:01:31 +0800	[thread overview]
Message-ID: <201707161134.PPgEf0vI%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170716022315.19892-6-dennisz@fb.com>

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

Hi Dennis,

[auto build test ERROR on percpu/for-next]
[also build test ERROR on v4.13-rc1 next-20170714]
[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/Dennis-Zhou/percpu-replace-percpu-area-map-allocator-with-bitmap-allocator/20170716-103337
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu.git for-next
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

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

   In file included from include/linux/percpu.h:9:0,
                    from include/linux/percpu-rwsem.h:6,
                    from include/linux/fs.h:30,
                    from fs/affs/affs.h:8,
                    from fs/affs/namei.c:11:
   include/linux/percpu.h: In function 'pcpu_align_reserved_region':
>> include/linux/pfn.h:17:46: error: 'PAGE_SIZE' undeclared (first use in this function)
    #define PFN_ALIGN(x) (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK)
                                                 ^
>> include/linux/percpu.h:159:9: note: in expansion of macro 'PFN_ALIGN'
     return PFN_ALIGN(static_size + reserved_size) - static_size;
            ^
   include/linux/pfn.h:17:46: note: each undeclared identifier is reported only once for each function it appears in
    #define PFN_ALIGN(x) (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK)
                                                 ^
>> include/linux/percpu.h:159:9: note: in expansion of macro 'PFN_ALIGN'
     return PFN_ALIGN(static_size + reserved_size) - static_size;
            ^
>> include/linux/pfn.h:17:64: error: 'PAGE_MASK' undeclared (first use in this function)
    #define PFN_ALIGN(x) (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK)
                                                                   ^
>> include/linux/percpu.h:159:9: note: in expansion of macro 'PFN_ALIGN'
     return PFN_ALIGN(static_size + reserved_size) - static_size;
            ^
--
   In file included from include/linux/percpu.h:9:0,
                    from include/linux/percpu-rwsem.h:6,
                    from include/linux/fs.h:30,
                    from fs/ocfs2/file.c:27:
   include/linux/percpu.h: In function 'pcpu_align_reserved_region':
>> include/linux/pfn.h:17:46: error: 'PAGE_SIZE' undeclared (first use in this function)
    #define PFN_ALIGN(x) (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK)
                                                 ^
>> include/linux/percpu.h:159:9: note: in expansion of macro 'PFN_ALIGN'
     return PFN_ALIGN(static_size + reserved_size) - static_size;
            ^
   include/linux/pfn.h:17:46: note: each undeclared identifier is reported only once for each function it appears in
    #define PFN_ALIGN(x) (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK)
                                                 ^
>> include/linux/percpu.h:159:9: note: in expansion of macro 'PFN_ALIGN'
     return PFN_ALIGN(static_size + reserved_size) - static_size;
            ^
>> include/linux/pfn.h:17:64: error: 'PAGE_MASK' undeclared (first use in this function)
    #define PFN_ALIGN(x) (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK)
                                                                   ^
>> include/linux/percpu.h:159:9: note: in expansion of macro 'PFN_ALIGN'
     return PFN_ALIGN(static_size + reserved_size) - static_size;
            ^
   In file included from arch/xtensa/include/asm/atomic.h:21:0,
                    from include/linux/atomic.h:4,
                    from include/linux/debug_locks.h:5,
                    from include/linux/lockdep.h:25,
                    from include/linux/spinlock_types.h:18,
                    from include/linux/spinlock.h:81,
                    from include/linux/wait.h:8,
                    from include/linux/fs.h:5,
                    from fs/ocfs2/file.c:27:
   fs/ocfs2/file.c: In function 'ocfs2_file_write_iter':
   arch/xtensa/include/asm/cmpxchg.h:139:3: warning: value computed is not used [-Wunused-value]
     ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
      ^
   fs/ocfs2/file.c:2341:3: note: in expansion of macro 'xchg'
      xchg(&iocb->ki_complete, saved_ki_complete);
      ^
--
   In file included from include/linux/percpu.h:9:0,
                    from include/linux/context_tracking_state.h:4,
                    from include/linux/vtime.h:4,
                    from include/linux/hardirq.h:7,
                    from include/linux/interrupt.h:12,
                    from drivers/scsi/sym53c8xx_2/sym_glue.h:45,
                    from drivers/scsi/sym53c8xx_2/sym_fw.c:40:
   include/linux/percpu.h: In function 'pcpu_align_reserved_region':
>> include/linux/pfn.h:17:46: error: 'PAGE_SIZE' undeclared (first use in this function)
    #define PFN_ALIGN(x) (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK)
                                                 ^
>> include/linux/percpu.h:159:9: note: in expansion of macro 'PFN_ALIGN'
     return PFN_ALIGN(static_size + reserved_size) - static_size;
            ^
   include/linux/pfn.h:17:46: note: each undeclared identifier is reported only once for each function it appears in
    #define PFN_ALIGN(x) (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK)
                                                 ^
>> include/linux/percpu.h:159:9: note: in expansion of macro 'PFN_ALIGN'
     return PFN_ALIGN(static_size + reserved_size) - static_size;
            ^
>> include/linux/pfn.h:17:64: error: 'PAGE_MASK' undeclared (first use in this function)
    #define PFN_ALIGN(x) (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK)
                                                                   ^
>> include/linux/percpu.h:159:9: note: in expansion of macro 'PFN_ALIGN'
     return PFN_ALIGN(static_size + reserved_size) - static_size;
            ^
   In file included from drivers/scsi/sym53c8xx_2/sym_glue.h:64:0,
                    from drivers/scsi/sym53c8xx_2/sym_fw.c:40:
   drivers/scsi/sym53c8xx_2/sym_defs.h: At top level:
   drivers/scsi/sym53c8xx_2/sym_defs.h:109:0: warning: "WSR" redefined
     #define   WSR     0x01  /* sta: wide scsi received       [W]*/
    ^
   In file included from arch/xtensa/include/asm/bitops.h:22:0,
                    from include/linux/bitops.h:36,
                    from include/linux/kernel.h:10,
                    from include/linux/list.h:8,
                    from include/linux/wait.h:6,
                    from include/linux/completion.h:11,
                    from drivers/scsi/sym53c8xx_2/sym_glue.h:43,
                    from drivers/scsi/sym53c8xx_2/sym_fw.c:40:
   arch/xtensa/include/asm/processor.h:227:0: note: this is the location of the previous definition
    #define WSR(v,sr) __asm__ __volatile__ ("wsr %0,"__stringify(sr) :: "a"(v));
    ^

vim +/PAGE_SIZE +17 include/linux/pfn.h

947d0496 Jeremy Fitzhardinge 2008-09-11  16  
22a9835c Dave Hansen         2006-03-27 @17  #define PFN_ALIGN(x)	(((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK)
22a9835c Dave Hansen         2006-03-27  18  #define PFN_UP(x)	(((x) + PAGE_SIZE-1) >> PAGE_SHIFT)
22a9835c Dave Hansen         2006-03-27  19  #define PFN_DOWN(x)	((x) >> PAGE_SHIFT)
947d0496 Jeremy Fitzhardinge 2008-09-11  20  #define PFN_PHYS(x)	((phys_addr_t)(x) << PAGE_SHIFT)
8f235d1a Chen Gang           2016-01-14  21  #define PHYS_PFN(x)	((unsigned long)((x) >> PAGE_SHIFT))
22a9835c Dave Hansen         2006-03-27  22  

:::::: The code at line 17 was first introduced by commit
:::::: 22a9835c350782a5c3257343713932af3ac92ee0 [PATCH] unify PFN_* macros

:::::: TO: Dave Hansen <haveblue@us.ibm.com>
:::::: CC: Linus Torvalds <torvalds@g5.osdl.org>

---
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: 50216 bytes --]

  reply	other threads:[~2017-07-16  4:02 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-16  2:23 [PATCH 00/10] percpu: replace percpu area map allocator with bitmap allocator Dennis Zhou
2017-07-16  2:23 ` [PATCH 01/10] percpu: pcpu-stats change void buffer to int buffer Dennis Zhou
2017-07-17 14:44   ` Tejun Heo
2017-07-16  2:23 ` [PATCH 02/10] percpu: change the format for percpu_stats output Dennis Zhou
2017-07-17 14:46   ` Tejun Heo
2017-07-16  2:23 ` [PATCH 03/10] percpu: expose pcpu_nr_empty_pop_pages in pcpu_stats Dennis Zhou
2017-07-17 14:47   ` Tejun Heo
2017-07-16  2:23 ` [PATCH 04/10] percpu: update the header comment and pcpu_build_alloc_info comments Dennis Zhou
2017-07-17 14:53   ` Tejun Heo
2017-07-16  2:23 ` [PATCH 05/10] percpu: change reserved_size to end page aligned Dennis Zhou
2017-07-16  4:01   ` kbuild test robot [this message]
2017-07-16  5:11   ` kbuild test robot
2017-07-17 16:46   ` Tejun Heo
2017-07-17 19:10     ` Dennis Zhou
2017-07-24 20:04     ` Dennis Zhou
2017-07-16  2:23 ` [PATCH 06/10] percpu: modify base_addr to be region specific Dennis Zhou
2017-07-17 18:57   ` Tejun Heo
2017-07-18 19:26   ` Josef Bacik
2017-07-18 19:36     ` Matthew Wilcox
2017-07-19 14:20       ` Josef Bacik
2017-07-16  2:23 ` [PATCH 07/10] percpu: fix misnomer in schunk/dchunk variable names Dennis Zhou
2017-07-17 19:10   ` Tejun Heo
2017-07-24 20:07     ` Dennis Zhou
2017-07-16  2:23 ` [PATCH 08/10] percpu: change the number of pages marked in the first_chunk bitmaps Dennis Zhou
2017-07-17 19:26   ` Tejun Heo
2017-07-24 20:13     ` Dennis Zhou
2017-07-16  2:23 ` [PATCH 09/10] percpu: replace area map allocator with bitmap allocator Dennis Zhou
2017-07-17 23:27   ` Tejun Heo
2017-07-24 21:37     ` Dennis Zhou
2017-07-19 19:11   ` Josef Bacik
2017-07-19 22:19     ` Dennis Zhou
2017-07-19 19:16   ` Josef Bacik
2017-07-19 22:13     ` Dennis Zhou
2017-07-16  2:23 ` [PATCH 10/10] percpu: add optimizations on allocation path for the " Dennis Zhou
2017-07-17 23:32   ` Tejun Heo
2017-07-18 19:15 ` [PATCH 00/10] percpu: replace percpu area map allocator with " Josef Bacik
2017-07-24 21:14   ` Dennis Zhou

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=201707161134.PPgEf0vI%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=cl@linux.com \
    --cc=dennisszhou@gmail.com \
    --cc=dennisz@fb.com \
    --cc=kbuild-all@01.org \
    --cc=kernel-team@fb.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=tj@kernel.org \
    /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).