Re: [PATCH 2/2] powerpc/pseries: Dynamically increase RMA size

From: kbuild test robot
Date: Fri Aug 05 2016 - 09:29:57 EST


Hi Sukadev,

[auto build test ERROR on powerpc/next]
[also build test ERROR on v4.7 next-20160805]
[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/Sukadev-Bhattiprolu/powerpc-pseries-Use-a-helper-to-fixup-nr_cores/20160805-141813
base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-kmeter1_defconfig (attached as .config)
compiler: powerpc-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
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=powerpc

All errors (new ones prefixed by >>):

arch/powerpc/kernel/prom_init.c: In function 'make_room':
>> arch/powerpc/kernel/prom_init.c:2113:4: error: implicit declaration of function 'increase_rma_size' [-Werror=implicit-function-declaration]
increase_rma_size();
^
cc1: all warnings being treated as errors

vim +/increase_rma_size +2113 arch/powerpc/kernel/prom_init.c

2107 prom_debug("Chunk exhausted, claiming more at %x...\n",
2108 alloc_bottom);
2109 room = alloc_top - alloc_bottom;
2110 if (room > DEVTREE_CHUNK_SIZE)
2111 room = DEVTREE_CHUNK_SIZE;
2112 if (room < PAGE_SIZE) {
> 2113 increase_rma_size();
2114 prom_panic("No memory for flatten_device_tree "
2115 "(no room)\n");
2116 }

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

Attachment: .config.gz
Description: Binary data