Re: [PATCH V2 4/4] powerpc/mm/hash64: Increase the VA range
From: kbuild test robot <hidden>
Date: 2018-02-28 23:07:52
Hi Aneesh, Thank you for the patch! Yet something to improve: [auto build test ERROR on powerpc/next] [also build test ERROR on v4.16-rc3 next-20180228] [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/Aneesh-Kumar-K-V/Add-support-for-4PB-virtual-address-space-on-hash/20180301-032452 base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next config: powerpc-defconfig (attached as .config) compiler: powerpc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/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=powerpc All errors (new ones prefixed by >>): arch/powerpc/mm/slice.c: In function 'slice_get_unmapped_area':
quoted
arch/powerpc/mm/slice.c:616:1: error: the frame size of 2080 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]
}
^
arch/powerpc/mm/slice.c: In function 'is_hugepage_only_range':
arch/powerpc/mm/slice.c:790:1: error: the frame size of 2080 bytes is larger than 2048 bytes [-Werror=frame-larger-than=]
}
^
cc1: all warnings being treated as errors
vim +616 arch/powerpc/mm/slice.c
3a8247cc2 Paul Mackerras 2008-06-18 597
d0f13e3c2 Benjamin Herrenschmidt 2007-05-08 598 if (addr == -ENOMEM)
d0f13e3c2 Benjamin Herrenschmidt 2007-05-08 599 return -ENOMEM;
d0f13e3c2 Benjamin Herrenschmidt 2007-05-08 600
a4d362150 Aneesh Kumar K.V 2017-03-22 601 slice_range_to_mask(addr, len, &mask);
d0f13e3c2 Benjamin Herrenschmidt 2007-05-08 602 slice_dbg(" found potential area at 0x%lx\n", addr);
d0f13e3c2 Benjamin Herrenschmidt 2007-05-08 603 slice_print_mask(" mask", mask);
d0f13e3c2 Benjamin Herrenschmidt 2007-05-08 604
d0f13e3c2 Benjamin Herrenschmidt 2007-05-08 605 convert:
4500a5c6a Aneesh Kumar K.V 2018-02-26 606 slice_mask_for_size(mm, MMU_PAGE_4K, &tmp_mask, high_limit);
f3207c124 Aneesh Kumar K.V 2017-03-22 607 slice_andnot_mask(&mask, &good_mask);
4500a5c6a Aneesh Kumar K.V 2018-02-26 608 slice_andnot_mask(&mask, &tmp_mask);
f3207c124 Aneesh Kumar K.V 2017-03-22 609 if (mask.low_slices || !bitmap_empty(mask.high_slices, SLICE_NUM_HIGH)) {
d0f13e3c2 Benjamin Herrenschmidt 2007-05-08 610 slice_convert(mm, mask, psize);
3a8247cc2 Paul Mackerras 2008-06-18 611 if (psize > MMU_PAGE_BASE)
84c3d4aae Benjamin Herrenschmidt 2008-07-16 612 on_each_cpu(slice_flush_segments, mm, 1);
3a8247cc2 Paul Mackerras 2008-06-18 613 }
d0f13e3c2 Benjamin Herrenschmidt 2007-05-08 614 return addr;
d0f13e3c2 Benjamin Herrenschmidt 2007-05-08 615
d0f13e3c2 Benjamin Herrenschmidt 2007-05-08 @616 }
d0f13e3c2 Benjamin Herrenschmidt 2007-05-08 617 EXPORT_SYMBOL_GPL(slice_get_unmapped_area);
d0f13e3c2 Benjamin Herrenschmidt 2007-05-08 618
:::::: The code at line 616 was first introduced by commit
:::::: d0f13e3c20b6fb73ccb467bdca97fa7cf5a574cd [POWERPC] Introduce address space "slices"
:::::: TO: Benjamin Herrenschmidt [off-list ref]
:::::: CC: Paul Mackerras [off-list ref]
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation Attachments
- .config.gz [application/gzip] 24187 bytes