[GIT PULL] PCI fixes for v4.15

From: Bjorn Helgaas
Date: Thu Dec 14 2017 - 18:34:24 EST


PCI fixes:

- add a pci_get_domain_bus_and_slot() stub for the CONFIG_PCI=n case to
avoid build breakage in the v4.16 merge window if a
pci_get_bus_and_slot() -> pci_get_domain_bus_and_slot() patch gets
merged before the PCI tree (Randy Dunlap)

- fix an AMD boot regression in the 64bit BAR support added in v4.15
(Christian König)

- fix an R-Car use-after-free that causes a crash if no PCIe card is
present (Geert Uytterhoeven)


The following changes since commit 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323:

Linux 4.15-rc1 (2017-11-26 16:01:47 -0800)

are available in the Git repository at:

ssh://git@xxxxxxxxxxxxxxxxxxx/pub/scm/linux/kernel/git/helgaas/pci.git tags/pci-v4.15-fixes-1

for you to fetch changes up to 0c31f1d7be1b5c4858b1d714dcefa25f41428cab:

PCI: rcar: Fix use-after-free in probe error path (2017-12-12 11:01:47 -0600)

----------------------------------------------------------------
pci-v4.15-fixes-1

----------------------------------------------------------------
Christian König (2):
x86/PCI: Fix infinite loop in search for 64bit BAR placement
x86/PCI: Only enable a 64bit BAR on single-socket AMD Family 15h

Geert Uytterhoeven (1):
PCI: rcar: Fix use-after-free in probe error path

Randy Dunlap (1):
PCI: Add pci_get_domain_bus_and_slot() stub

arch/x86/pci/fixup.c | 27 +++++++++++++++++++++------
drivers/pci/host/pcie-rcar.c | 8 ++++----
include/linux/pci.h | 3 +++
3 files changed, 28 insertions(+), 10 deletions(-)