lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Fri, 24 Mar 2017 21:53:59 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Alistair Popple <alistair@...ple.id.au>
Cc:     kbuild-all@...org, mpe@...erman.id.au, robh+dt@...nel.org,
        devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
        linuxppc-dev@...ts.ozlabs.org, mhairgrove@...dia.com,
        shailendras@...dia.com, Alistair Popple <alistair@...ple.id.au>
Subject: Re: [PATCH 3/3] powerpc/powernv: Introduce address translation
 services for Nvlink2

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

Download attachment ".config.gz" of type "application/gzip" (18183 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ