[PATCH] powerpc/64s/radix: Enable huge vmalloc mappings

kernel test robot lkp at intel.com
Sun May 2 18:03:48 AEST 2021


Hi Nicholas,

I love your patch! Perhaps something to improve:

[auto build test WARNING on powerpc/next]
[also build test WARNING on linus/master next-20210430]
[cannot apply to v5.12]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Nicholas-Piggin/powerpc-64s-radix-Enable-huge-vmalloc-mappings/20210502-125808
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-randconfig-r013-20210502 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/1c8b90cff6679d7690891101efc07a1edd98e9a7
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Nicholas-Piggin/powerpc-64s-radix-Enable-huge-vmalloc-mappings/20210502-125808
        git checkout 1c8b90cff6679d7690891101efc07a1edd98e9a7
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=powerpc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All warnings (new ones prefixed by >>):

   In file included from arch/powerpc/include/asm/nohash/mmu.h:16,
                    from arch/powerpc/include/asm/mmu.h:423,
                    from arch/powerpc/kernel/head_8xx.S:23:
>> arch/powerpc/include/asm/nohash/32/mmu-8xx.h:175: warning: "MODULES_VADDR" redefined
     175 | #define MODULES_VADDR (PAGE_OFFSET - SZ_256M)
         | 
   In file included from include/linux/pgtable.h:6,
                    from arch/powerpc/kernel/head_8xx.S:19:
   arch/powerpc/include/asm/pgtable.h:43: note: this is the location of the previous definition
      43 | #define MODULES_VADDR VMALLOC_START
         | 
   In file included from arch/powerpc/include/asm/nohash/mmu.h:16,
                    from arch/powerpc/include/asm/mmu.h:423,
                    from arch/powerpc/kernel/head_8xx.S:23:
>> arch/powerpc/include/asm/nohash/32/mmu-8xx.h:176: warning: "MODULES_END" redefined
     176 | #define MODULES_END PAGE_OFFSET
         | 
   In file included from include/linux/pgtable.h:6,
                    from arch/powerpc/kernel/head_8xx.S:19:
   arch/powerpc/include/asm/pgtable.h:44: note: this is the location of the previous definition
      44 | #define MODULES_END VMALLOC_END
         | 


vim +/MODULES_VADDR +175 arch/powerpc/include/asm/nohash/32/mmu-8xx.h

fca5c1e9eb5e26 Christophe Leroy 2019-04-25  174  
9132a2e82adc6e Christophe Leroy 2021-04-01 @175  #define MODULES_VADDR	(PAGE_OFFSET - SZ_256M)
9132a2e82adc6e Christophe Leroy 2021-04-01 @176  #define MODULES_END	PAGE_OFFSET
9132a2e82adc6e Christophe Leroy 2021-04-01  177  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 38771 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20210502/28bf2412/attachment-0001.gz>


More information about the Linuxppc-dev mailing list