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

kbuild test robot lkp at intel.com
Fri Aug 5 23:28:28 AEST 2016


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 11074 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20160805/be2d19d2/attachment.obj>


More information about the Linuxppc-dev mailing list