Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1608413

Re: [PATCH 3/3] powerpc/powernv: Introduce address translation services for Nvlink2

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/3] powerpc/powernv: Introduce address translation services for Nvlink2
Date 2017-03-24 15:00 +0100
Message-ID <toxV1-2ms-27@gated-at.bofh.it> (permalink)
References <tnFBf-4Kk-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/3] drivers/of/base.c: Add of_property_read_u64_index Alistair Popple <alistair@popple.id.au> - 2017-03-22 05:00 +0100
  [PATCH 3/3] powerpc/powernv: Introduce address translation services for Nvlink2 Alistair Popple <alistair@popple.id.au> - 2017-03-22 05:00 +0100
    Re: [PATCH 3/3] powerpc/powernv: Introduce address translation services for Nvlink2 Michael Ellerman <mpe@ellerman.id.au> - 2017-03-24 13:30 +0100
    Re: [PATCH 3/3] powerpc/powernv: Introduce address translation  services for Nvlink2 kbuild test robot <lkp@intel.com> - 2017-03-24 15:00 +0100
  [PATCH 2/3] powerpc/powernv: Add sanity checks to pnv_pci_get_{gpu|npu}_dev Alistair Popple <alistair@popple.id.au> - 2017-03-22 05:00 +0100
  Re: [PATCH 1/3] drivers/of/base.c: Add of_property_read_u64_index Rob Herring <robh+dt@kernel.org> - 2017-03-22 16:00 +0100

csiph-web