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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201603300519.bs8H10eW%fengguang.wu@intel.com>
Date:	Wed, 30 Mar 2016 05:25:44 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Nitin Gupta <nitin.m.gupta@...cle.com>
Cc:	kbuild-all@...org, "David S. Miller" <davem@...emloft.net>,
	Nitin Gupta <nitin.m.gupta@...cle.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	"Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
	Khalid Aziz <khalid.aziz@...cle.com>,
	Minchan Kim <minchan@...nel.org>,
	"Aneesh Kumar K.V" <aneesh.kumar@...ux.vnet.ibm.com>,
	Zhang Zhen <zhenzhang.zhang@...wei.com>,
	Stephen Rothwell <sfr@...b.auug.org.au>,
	Ingo Molnar <mingo@...nel.org>,
	Chris Hyser <chris.hyser@...cle.com>,
	David Hildenbrand <dahi@...ux.vnet.ibm.com>,
	Toshi Kani <toshi.kani@....com>,
	Tony Luck <tony.luck@...el.com>, sparclinux@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] sparc64: Reduce TLB flushes during hugepte changes

Hi Nitin,

[auto build test ERROR on sparc/master]
[also build test ERROR on v4.6-rc1 next-20160329]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Nitin-Gupta/sparc64-Reduce-TLB-flushes-during-hugepte-changes/20160330-051327
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc.git master
config: sparc64-allyesconfig (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=sparc64 

All errors (new ones prefixed by >>):

   arch/sparc/mm/tlb.c: In function 'tlb_batch_pmd_scan':
>> arch/sparc/mm/tlb.c:158:4: error: too few arguments to function 'tlb_batch_add_one'
       tlb_batch_add_one(mm, vaddr, exec);
       ^
   arch/sparc/mm/tlb.c:69:13: note: declared here
    static void tlb_batch_add_one(struct mm_struct *mm, unsigned long vaddr,
                ^
   arch/sparc/mm/tlb.c: In function 'set_pmd_at':
   arch/sparc/mm/tlb.c:198:4: error: too few arguments to function 'tlb_batch_add_one'
       tlb_batch_add_one(mm, addr, exec);
       ^
   arch/sparc/mm/tlb.c:69:13: note: declared here
    static void tlb_batch_add_one(struct mm_struct *mm, unsigned long vaddr,
                ^
   arch/sparc/mm/tlb.c:199:4: error: too few arguments to function 'tlb_batch_add_one'
       tlb_batch_add_one(mm, addr + REAL_HPAGE_SIZE, exec);
       ^
   arch/sparc/mm/tlb.c:69:13: note: declared here
    static void tlb_batch_add_one(struct mm_struct *mm, unsigned long vaddr,
                ^

vim +/tlb_batch_add_one +158 arch/sparc/mm/tlb.c

9e695d2e David Miller    2012-10-08  152  	pte = pte_offset_map(&pmd, vaddr);
9e695d2e David Miller    2012-10-08  153  	end = vaddr + HPAGE_SIZE;
9e695d2e David Miller    2012-10-08  154  	while (vaddr < end) {
5b1e94fa David S. Miller 2014-04-20  155  		if (pte_val(*pte) & _PAGE_VALID) {
5b1e94fa David S. Miller 2014-04-20  156  			bool exec = pte_exec(*pte);
5b1e94fa David S. Miller 2014-04-20  157  
9e695d2e David Miller    2012-10-08 @158  			tlb_batch_add_one(mm, vaddr, exec);
5b1e94fa David S. Miller 2014-04-20  159  		}
9e695d2e David Miller    2012-10-08  160  		pte++;
9e695d2e David Miller    2012-10-08  161  		vaddr += PAGE_SIZE;

:::::: The code at line 158 was first introduced by commit
:::::: 9e695d2ecc8451cc2c1603d60b5c8e7f5581923a sparc64: Support transparent huge pages.

:::::: TO: David Miller <davem@...emloft.net>
:::::: CC: Linus Torvalds <torvalds@...ux-foundation.org>

---
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" (45817 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ