Re: [PATCH v4 04/11] VAS: Define vas_init() and vas_exit()

From: kbuild test robot
Date: Sun Apr 02 2017 - 16:24:21 EST


Hi Sukadev,

[auto build test ERROR on powerpc/next]
[also build test ERROR on v4.11-rc4 next-20170331]
[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/Add-Power9-PVR/20170402-155232
base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-allmodconfig (attached as .config)
compiler: powerpc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
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=powerpc

All errors (new ones prefixed by >>):

In file included from arch/powerpc/platforms/powernv/vas.c:17:0:
>> arch/powerpc/platforms/powernv/vas.h:17:3: error: #error "TODO: Compute RMA/Paste-address for 4K pages."
# error "TODO: Compute RMA/Paste-address for 4K pages."
^~~~~

vim +17 arch/powerpc/platforms/powernv/vas.h

8d1d7c15 Sukadev Bhattiprolu 2017-03-30 11 #define _VAS_H
8d1d7c15 Sukadev Bhattiprolu 2017-03-30 12 #include <linux/atomic.h>
8d1d7c15 Sukadev Bhattiprolu 2017-03-30 13 #include <linux/idr.h>
8d1d7c15 Sukadev Bhattiprolu 2017-03-30 14 #include <asm/vas.h>
8d1d7c15 Sukadev Bhattiprolu 2017-03-30 15
8d1d7c15 Sukadev Bhattiprolu 2017-03-30 16 #ifdef CONFIG_PPC_4K_PAGES
8d1d7c15 Sukadev Bhattiprolu 2017-03-30 @17 # error "TODO: Compute RMA/Paste-address for 4K pages."
8d1d7c15 Sukadev Bhattiprolu 2017-03-30 18 #else
8d1d7c15 Sukadev Bhattiprolu 2017-03-30 19 #ifndef CONFIG_PPC_64K_PAGES
8d1d7c15 Sukadev Bhattiprolu 2017-03-30 20 # error "Unexpected Page size."

:::::: The code at line 17 was first introduced by commit
:::::: 8d1d7c159a85bf75ef7b06edf8f27ef56d6b4b3f VAS: Define macros, register fields and structures

:::::: TO: Sukadev Bhattiprolu <sukadev@xxxxxxxxxxxxxxxxxx>
:::::: CC: 0day robot <fengguang.wu@xxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip