[PATCH 3/3] powerpc/powernv: Introduce address translation services for Nvlink2
kbuild test robot
lkp at intel.com
Sat Mar 25 00:53:59 AEDT 2017
Hi Alistair,
[auto build test ERROR on powerpc/next]
[also build test ERROR on v4.11-rc3 next-20170324]
[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/Alistair-Popple/drivers-of-base-c-Add-of_property_read_u64_index/20170324-070416
base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-xes_mpc85xx_defconfig (attached as .config)
compiler: powerpc-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/mm/mem.c:49:0:
arch/powerpc/include/asm/tlb.h: In function 'mm_is_core_local':
>> arch/powerpc/include/asm/tlb.h:74:21: error: 'mm_context_t {aka struct <anonymous>}' has no member named 'npu_context'
return !mm->context.npu_context && cpumask_subset(mm_cpumask(mm),
^
arch/powerpc/include/asm/tlb.h: In function 'mm_is_thread_local':
arch/powerpc/include/asm/tlb.h:80:21: error: 'mm_context_t {aka struct <anonymous>}' has no member named 'npu_context'
return !mm->context.npu_context && cpumask_equal(mm_cpumask(mm),
^
--
In file included from arch/powerpc/mm/tlb_nohash.c:43:0:
arch/powerpc/include/asm/tlb.h: In function 'mm_is_core_local':
>> arch/powerpc/include/asm/tlb.h:74:21: error: 'mm_context_t {aka struct <anonymous>}' has no member named 'npu_context'
return !mm->context.npu_context && cpumask_subset(mm_cpumask(mm),
^
arch/powerpc/include/asm/tlb.h: In function 'mm_is_thread_local':
arch/powerpc/include/asm/tlb.h:80:21: error: 'mm_context_t {aka struct <anonymous>}' has no member named 'npu_context'
return !mm->context.npu_context && cpumask_equal(mm_cpumask(mm),
^
arch/powerpc/include/asm/tlb.h: In function 'mm_is_core_local':
arch/powerpc/include/asm/tlb.h:76:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
cc1: all warnings being treated as errors
vim +74 arch/powerpc/include/asm/tlb.h
68 * nest mmu. In this case we need to do a broadcast tlb to invalidate
69 * any caches on the nest mmu. Invalidations on the GPU are handled
70 * via mmu notfiers.
71 */
72 static inline int mm_is_core_local(struct mm_struct *mm)
73 {
> 74 return !mm->context.npu_context && cpumask_subset(mm_cpumask(mm),
75 topology_sibling_cpumask(smp_processor_id()));
76 }
77
---
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/gzip
Size: 18183 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20170324/bada777e/attachment-0001.gz>
More information about the Linuxppc-dev
mailing list