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]
Date:   Fri, 14 Jul 2017 11:19:21 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Palmer Dabbelt <palmer@...belt.com>
Cc:     kbuild-all@...org, Olof Johansson <olof@...om.net>,
        Arnd Bergmann <arnd@...db.de>, akpm@...ux-foundation.org,
        albert@...ive.com, yamada.masahiro@...ionext.com, mmarek@...e.com,
        will.deacon@....com, peterz@...radead.org, boqun.feng@...il.com,
        mingo@...hat.com, daniel.lezcano@...aro.org, tglx@...utronix.de,
        jason@...edaemon.net, marc.zyngier@....com,
        gregkh@...uxfoundation.org, jslaby@...e.com, davem@...emloft.net,
        mchehab@...nel.org, sfr@...b.auug.org.au, fweisbec@...il.com,
        viro@...iv.linux.org.uk, mcgrof@...nel.org, dledford@...hat.com,
        bart.vanassche@...disk.com, sstabellini@...nel.org,
        daniel.vetter@...ll.ch, mpe@...erman.id.au, msalter@...hat.com,
        nicolas.dichtel@...nd.com, james.hogan@...tec.com,
        paul.gortmaker@...driver.com, linux@...ck-us.net,
        heiko.carstens@...ibm.com, schwidefsky@...ibm.com,
        linux-kernel@...r.kernel.org, patches@...ups.riscv.org,
        Palmer Dabbelt <palmer@...belt.com>
Subject: Re: [PATCH 02/17] pci: Add a generic, weakly-linked
 pcibios_align_resource

Hi Palmer,

[auto build test ERROR on linus/master]
[also build test ERROR on next-20170713]
[cannot apply to v4.12]
[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/Palmer-Dabbelt/lib-Add-shared-copies-of-some-GCC-library-routines/20170713-012253
config: arm64-defconfig (attached as .config)
compiler: aarch64-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=arm64 

Note: the linux-review/Palmer-Dabbelt/lib-Add-shared-copies-of-some-GCC-library-routines/20170713-012253 HEAD ce846a13375e664242eedad789cb6e1c46d5ddd6 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   drivers/pci/probe.o: In function `pci_scan_child_bus':
>> drivers/pci/probe.c:2311: undefined reference to `pcibios_fixup_bus'
   drivers/pci/probe.c:2311:(.text+0x2ffc): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `pcibios_fixup_bus'

vim +2311 drivers/pci/probe.c

b03e7495a Jon Mason      2011-07-20  2290  
15856ad50 Bill Pemberton 2012-11-21  2291  unsigned int pci_scan_child_bus(struct pci_bus *bus)
^1da177e4 Linus Torvalds 2005-04-16  2292  {
b918c62e0 Yinghai Lu     2012-05-17  2293  	unsigned int devfn, pass, max = bus->busn_res.start;
^1da177e4 Linus Torvalds 2005-04-16  2294  	struct pci_dev *dev;
^1da177e4 Linus Torvalds 2005-04-16  2295  
0207c356e Bjorn Helgaas  2009-11-04  2296  	dev_dbg(&bus->dev, "scanning bus\n");
^1da177e4 Linus Torvalds 2005-04-16  2297  
^1da177e4 Linus Torvalds 2005-04-16  2298  	/* Go find them, Rover! */
^1da177e4 Linus Torvalds 2005-04-16  2299  	for (devfn = 0; devfn < 0x100; devfn += 8)
^1da177e4 Linus Torvalds 2005-04-16  2300  		pci_scan_slot(bus, devfn);
^1da177e4 Linus Torvalds 2005-04-16  2301  
a28724b0f Yu Zhao        2009-03-20  2302  	/* Reserve buses for SR-IOV capability. */
a28724b0f Yu Zhao        2009-03-20  2303  	max += pci_iov_bus_range(bus);
a28724b0f Yu Zhao        2009-03-20  2304  
^1da177e4 Linus Torvalds 2005-04-16  2305  	/*
^1da177e4 Linus Torvalds 2005-04-16  2306  	 * After performing arch-dependent fixup of the bus, look behind
^1da177e4 Linus Torvalds 2005-04-16  2307  	 * all PCI-to-PCI bridges on this bus.
^1da177e4 Linus Torvalds 2005-04-16  2308  	 */
74710ded8 Alex Chiang    2009-03-20  2309  	if (!bus->is_added) {
0207c356e Bjorn Helgaas  2009-11-04  2310  		dev_dbg(&bus->dev, "fixups for bus\n");
^1da177e4 Linus Torvalds 2005-04-16 @2311  		pcibios_fixup_bus(bus);
74710ded8 Alex Chiang    2009-03-20  2312  		bus->is_added = 1;
74710ded8 Alex Chiang    2009-03-20  2313  	}
74710ded8 Alex Chiang    2009-03-20  2314  
^1da177e4 Linus Torvalds 2005-04-16  2315  	for (pass = 0; pass < 2; pass++)
^1da177e4 Linus Torvalds 2005-04-16  2316  		list_for_each_entry(dev, &bus->devices, bus_list) {
6788a51fe Yijing Wang    2014-05-04  2317  			if (pci_is_bridge(dev))
^1da177e4 Linus Torvalds 2005-04-16  2318  				max = pci_scan_bridge(bus, dev, max, pass);
^1da177e4 Linus Torvalds 2005-04-16  2319  		}
^1da177e4 Linus Torvalds 2005-04-16  2320  
^1da177e4 Linus Torvalds 2005-04-16  2321  	/*
e16b46605 Keith Busch    2016-07-21  2322  	 * Make sure a hotplug bridge has at least the minimum requested
e16b46605 Keith Busch    2016-07-21  2323  	 * number of buses.
e16b46605 Keith Busch    2016-07-21  2324  	 */
e16b46605 Keith Busch    2016-07-21  2325  	if (bus->self && bus->self->is_hotplug_bridge && pci_hotplug_bus_size) {
e16b46605 Keith Busch    2016-07-21  2326  		if (max - bus->busn_res.start < pci_hotplug_bus_size - 1)
e16b46605 Keith Busch    2016-07-21  2327  			max = bus->busn_res.start + pci_hotplug_bus_size - 1;
e16b46605 Keith Busch    2016-07-21  2328  	}
e16b46605 Keith Busch    2016-07-21  2329  
e16b46605 Keith Busch    2016-07-21  2330  	/*
^1da177e4 Linus Torvalds 2005-04-16  2331  	 * We've scanned the bus and so we know all about what's on
^1da177e4 Linus Torvalds 2005-04-16  2332  	 * the other side of any bridges that may be on this bus plus
^1da177e4 Linus Torvalds 2005-04-16  2333  	 * any devices.
^1da177e4 Linus Torvalds 2005-04-16  2334  	 *
^1da177e4 Linus Torvalds 2005-04-16  2335  	 * Return how far we've got finding sub-buses.
^1da177e4 Linus Torvalds 2005-04-16  2336  	 */
0207c356e Bjorn Helgaas  2009-11-04  2337  	dev_dbg(&bus->dev, "bus scan returning with max=%02x\n", max);
^1da177e4 Linus Torvalds 2005-04-16  2338  	return max;
^1da177e4 Linus Torvalds 2005-04-16  2339  }
b7fe94342 Ryan Desfosses 2014-04-25  2340  EXPORT_SYMBOL_GPL(pci_scan_child_bus);
^1da177e4 Linus Torvalds 2005-04-16  2341  

:::::: The code at line 2311 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@...970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@...970.osdl.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/gzip" (36178 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ