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] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 18 Nov 2015 00:40:25 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Christophe Leroy <christophe.leroy@....fr>
Cc:	kbuild-all@...org,
	Benjamin Herrenschmidt <benh@...nel.crashing.org>,
	Paul Mackerras <paulus@...ba.org>,
	Michael Ellerman <mpe@...erman.id.au>, scottwood@...escale.com,
	linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH v3 07/23] powerpc/8xx: Fix vaddr for IMMR early remap

Hi Christophe,

[auto build test WARNING on powerpc/next]
[also build test WARNING on v4.4-rc1 next-20151117]

url:    https://github.com/0day-ci/linux/commits/Christophe-Leroy/powerpc-8xx-Use-large-pages-for-RAM-and-IMMR-and-other-improvments/20151117-221800
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-tqm8548_defconfig (attached as .config)
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 warnings (new ones prefixed by >>):

   In file included from arch/powerpc/kernel/asm-offsets.c:68:0:
>> arch/powerpc/kernel/../mm/mmu_decl.h:111:5: warning: "CONFIG_PPC_8xx" is not defined [-Wundef]
    #if CONFIG_PPC_8xx
        ^
--
   In file included from arch/powerpc/kernel/asm-offsets.c:68:0:
>> arch/powerpc/kernel/../mm/mmu_decl.h:111:5: warning: "CONFIG_PPC_8xx" is not defined [-Wundef]
    #if CONFIG_PPC_8xx
        ^
   <stdin>:1304:2: warning: #warning syscall mlock2 not implemented [-Wcpp]

vim +/CONFIG_PPC_8xx +111 arch/powerpc/kernel/../mm/mmu_decl.h

    95	
    96	extern void mapin_ram(void);
    97	extern int map_page(unsigned long va, phys_addr_t pa, int flags);
    98	extern void setbat(int index, unsigned long virt, phys_addr_t phys,
    99			   unsigned int size, pgprot_t prot);
   100	
   101	extern int __map_without_bats;
   102	extern int __allow_ioremap_reserved;
   103	extern unsigned long ioremap_base;
   104	extern unsigned int rtas_data, rtas_size;
   105	
   106	struct hash_pte;
   107	extern struct hash_pte *Hash, *Hash_end;
   108	extern unsigned long Hash_size, Hash_mask;
   109	
   110	#define PHYS_IMMR_BASE (mfspr(SPRN_IMMR) & 0xfff80000)
 > 111	#if CONFIG_PPC_8xx
   112	#define VIRT_IMMR_BASE (__fix_to_virt(FIX_IMMR_BASE))
   113	#else
   114	#define VIRT_IMMR_BASE PHYS_IMMR_BASE
   115	#endif
   116	
   117	#endif /* CONFIG_PPC32 */
   118	
   119	#ifdef CONFIG_PPC64

---
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/octet-stream" (13609 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ