[PATCH 5/5] arch/powerpc: Add CONFIG_FSL_DPAA to corenetXX_smp_defconfig
kbuild test robot
lkp at intel.com
Sat Sep 17 02:19:28 AEST 2016
Hi Claudiu,
[auto build test ERROR on linus/master]
[also build test ERROR on v4.8-rc6 next-20160916]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]
url: https://github.com/0day-ci/linux/commits/Claudiu-Manoil/Freescale-DPAA-1-x-QBMan-Drivers/20160916-212727
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
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 >>):
In file included from drivers/soc/fsl/qbman/bman_priv.h:33:0,
from drivers/soc/fsl/qbman/bman_ccsr.c:31:
>> drivers/soc/fsl/qbman/dpaa_sys.h:51:2: error: #error "Unsupported Cacheline Size"
#error "Unsupported Cacheline Size"
^~~~~
--
In file included from drivers/soc/fsl/qbman/bman_priv.h:33:0,
from drivers/soc/fsl/qbman/bman_portal.c:31:
>> drivers/soc/fsl/qbman/dpaa_sys.h:51:2: error: #error "Unsupported Cacheline Size"
#error "Unsupported Cacheline Size"
^~~~~
drivers/soc/fsl/qbman/bman_portal.c: In function 'bman_portal_probe':
>> drivers/soc/fsl/qbman/bman_portal.c:152:6: error: '_PAGE_GUARDED' undeclared (first use in this function)
_PAGE_GUARDED | _PAGE_NO_CACHE);
^~~~~~~~~~~~~
drivers/soc/fsl/qbman/bman_portal.c:152:6: note: each undeclared identifier is reported only once for each function it appears in
--
In file included from drivers/soc/fsl/qbman/qman_priv.h:33:0,
from drivers/soc/fsl/qbman/qman_portal.c:31:
>> drivers/soc/fsl/qbman/dpaa_sys.h:51:2: error: #error "Unsupported Cacheline Size"
#error "Unsupported Cacheline Size"
^~~~~
drivers/soc/fsl/qbman/qman_portal.c: In function 'qman_portal_probe':
>> drivers/soc/fsl/qbman/qman_portal.c:289:6: error: '_PAGE_GUARDED' undeclared (first use in this function)
_PAGE_GUARDED | _PAGE_NO_CACHE);
^~~~~~~~~~~~~
drivers/soc/fsl/qbman/qman_portal.c:289:6: note: each undeclared identifier is reported only once for each function it appears in
vim +51 drivers/soc/fsl/qbman/dpaa_sys.h
4c95420d Claudiu Manoil 2016-09-16 35 #include <linux/slab.h>
4c95420d Claudiu Manoil 2016-09-16 36 #include <linux/module.h>
4c95420d Claudiu Manoil 2016-09-16 37 #include <linux/interrupt.h>
4c95420d Claudiu Manoil 2016-09-16 38 #include <linux/kthread.h>
4c95420d Claudiu Manoil 2016-09-16 39 #include <linux/vmalloc.h>
4c95420d Claudiu Manoil 2016-09-16 40 #include <linux/platform_device.h>
4c95420d Claudiu Manoil 2016-09-16 41 #include <linux/of_reserved_mem.h>
4c95420d Claudiu Manoil 2016-09-16 42 #include <linux/prefetch.h>
4c95420d Claudiu Manoil 2016-09-16 43 #include <linux/genalloc.h>
4c95420d Claudiu Manoil 2016-09-16 44 #include <asm/cacheflush.h>
4c95420d Claudiu Manoil 2016-09-16 45
4c95420d Claudiu Manoil 2016-09-16 46 /* For 2-element tables related to cache-inhibited and cache-enabled mappings */
4c95420d Claudiu Manoil 2016-09-16 47 #define DPAA_PORTAL_CE 0
4c95420d Claudiu Manoil 2016-09-16 48 #define DPAA_PORTAL_CI 1
4c95420d Claudiu Manoil 2016-09-16 49
4c95420d Claudiu Manoil 2016-09-16 50 #if (L1_CACHE_BYTES != 32) && (L1_CACHE_BYTES != 64)
4c95420d Claudiu Manoil 2016-09-16 @51 #error "Unsupported Cacheline Size"
4c95420d Claudiu Manoil 2016-09-16 52 #endif
4c95420d Claudiu Manoil 2016-09-16 53
4c95420d Claudiu Manoil 2016-09-16 54 static inline void dpaa_flush(void *p)
4c95420d Claudiu Manoil 2016-09-16 55 {
4c95420d Claudiu Manoil 2016-09-16 56 #ifdef CONFIG_PPC
4c95420d Claudiu Manoil 2016-09-16 57 flush_dcache_range((unsigned long)p, (unsigned long)p+64);
4c95420d Claudiu Manoil 2016-09-16 58 #elif defined(CONFIG_ARM32)
4c95420d Claudiu Manoil 2016-09-16 59 __cpuc_flush_dcache_area(p, 64);
:::::: The code at line 51 was first introduced by commit
:::::: 4c95420d89be521032d30fa549bacdd9cd98c7c9 soc/fsl: Introduce DPAA 1.x BMan device driver
:::::: TO: Claudiu Manoil <claudiu.manoil at nxp.com>
:::::: CC: 0day robot <fengguang.wu at intel.com>
---
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: 49955 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20160917/f844bd93/attachment-0001.obj>
More information about the Linuxppc-dev
mailing list