Andrew Donnellan
6f38a8b9a4
cxl: use pcibios_free_controller_deferred() when removing vPHBs
...
When cxl removes a vPHB, it's possible that the pci_controller may be freed
before all references to the devices on the vPHB have been released. This
in turn causes an invalid memory access when the devices are eventually
released, as pcibios_release_device() attempts to call the phb's
release_device hook.
In cxl_pci_vphb_remove(), remove the existing call to
pcibios_free_controller(). Instead, use
pcibios_free_controller_deferred() to free the pci_controller after all
devices have been released. Export pci_set_host_bridge_release() so we can
do this.
Cc: [email protected]
Signed-off-by: Andrew Donnellan <[email protected] >
Reviewed-by: Matthew R. Ochs <[email protected] >
Acked-by: Ian Munsie <[email protected] >
Signed-off-by: Benjamin Herrenschmidt <[email protected] >
2016-08-22 11:09:33 +10:00
..
accessibility
acpi
libnvdimm, nd_blk: mask off reserved status bits
2016-08-08 09:26:13 -07:00
amba
android
ata
New LED class driver:
2016-07-27 14:03:52 -07:00
atm
auxdisplay
base
More power management updates for v4.8-rc1
2016-08-05 23:26:16 -04:00
bcma
block
virtio/vhost: fixes and cleanups for 4.8
2016-08-11 14:10:23 -07:00
bluetooth
bus
ARM: SoC driver updates for v4.8
2016-08-01 18:36:01 -04:00
cdrom
char
RTC for 4.8
2016-08-05 09:48:22 -04:00
clk
treewide: replace obsolete _refok by __ref
2016-08-02 17:31:41 -04:00
clocksource
clocksource/drivers/mips-gic-timer: Make gic_clocksource_of_init() return int
2016-08-17 13:08:32 +02:00
connector
cpufreq
Merge branches 'pm-sleep' and 'pm-cpufreq'
2016-08-12 22:53:58 +02:00
cpuidle
powerpc updates for 4.8 # 1
2016-07-30 21:01:36 -07:00
crypto
crypto: caam - fix non-hmac hashes
2016-08-09 18:25:11 +08:00
dax
dca
devfreq
dio
dma
dmaengine updates for 4.8-rc1
2016-07-28 15:45:17 -07:00
dma-buf
edac
EDAC, skx_edac: Add EDAC driver for Skylake
2016-08-21 10:58:34 -07:00
eisa
extcon
firewire
firmware
efi/capsule: Allocate whole capsule into virtual memory
2016-08-11 13:55:36 +02:00
fmc
fpga
drivers/fpga/Kconfig: fix build failure
2016-08-04 08:50:07 -04:00
gpio
This is the bulk of GPIO changes for the v4.8 kernel cycle.
2016-07-26 19:16:01 -07:00
gpu
Merge tag 'drm-fixes-for-4.8-rc3-2' of git://people.freedesktop.org/~airlied/linux
2016-08-18 19:38:18 -07:00
hid
Merge branch 'for-4.8/hid-led' into for-linus
2016-07-28 10:49:23 +02:00
hsi
hv
hwmon
hwmon: (it87) Features mask must be 32 bit wide
2016-08-11 18:35:47 -07:00
hwspinlock
hwtracing
Merge branch 'smp-hotplug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2016-07-29 13:55:30 -07:00
i2c
i2c: meson: Use complete() instead of complete_all()
2016-08-15 00:55:34 +02:00
ide
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide
2016-07-29 13:29:06 -07:00
idle
Merge branch 'x86-cpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2016-07-30 12:56:26 -07:00
iio
infiniband
Second round of merge items for 4.8
2016-08-04 20:26:31 -04:00
input
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
2016-08-05 23:24:15 -04:00
iommu
iommu/dma: Respect IOMMU aperture when allocating
2016-08-10 12:02:02 +02:00
ipack
irqchip
tree-wide: replace config_enabled() with IS_ENABLED()
2016-08-04 08:50:07 -04:00
isdn
leds
powerpc updates for 4.8 # 1
2016-07-30 21:01:36 -07:00
lguest
lightnvm
macintosh
drivers/macintosh: Delete owner assignment
2016-08-22 11:09:33 +10:00
mailbox
mailbox: Fix format and type mismatches in Broadcom PDC driver
2016-07-28 21:27:31 +05:30
mcb
md
dm raid: support raid0 with missing metadata devices
2016-08-17 10:42:39 -04:00
media
media updates for v4.8-rc1
2016-08-04 09:59:37 -04:00
memory
MTD updates for v4.8:
2016-08-02 17:05:11 -04:00
memstick
memstick: don't allocate unused major for ms_block
2016-08-02 17:31:41 -04:00
message
mfd
ARM: SoC driver updates for v4.8
2016-08-01 18:36:01 -04:00
misc
cxl: use pcibios_free_controller_deferred() when removing vPHBs
2016-08-22 11:09:33 +10:00
mmc
MMC core:
2016-07-31 21:36:58 -04:00
mtd
This pull request contains mostly cleanups and minor
2016-08-04 19:51:49 -04:00
net
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2016-08-17 17:26:58 -07:00
nfc
ntb
NTB: ntb_hw_intel: use local variable pdev
2016-08-05 10:34:13 -04:00
nubus
nvdimm
nvdimm, btt: add a size attribute for BTTs
2016-08-08 09:26:14 -07:00
nvme
nvme: Suspend all queues before deletion
2016-08-11 09:35:57 -06:00
nvmem
of
of: fix reference counting in of_graph_get_endpoint_by_regs
2016-08-15 11:15:05 -05:00
oprofile
parisc
dma-mapping: use unsigned long for dma_attrs
2016-08-04 08:50:07 -04:00
parport
pci
cxl: use pcibios_free_controller_deferred() when removing vPHBs
2016-08-22 11:09:33 +10:00
pcmcia
perf
drivers/perf: arm-pmu: Fix handling of SPI lacking "interrupt-affinity" property
2016-08-09 17:57:39 +01:00
phy
MMC core:
2016-07-31 21:36:58 -04:00
pinctrl
pinctrl: intel: merrifield: Add missed header
2016-08-10 15:46:28 +02:00
platform
dell-wmi: Ignore WMI event 0xe00e
2016-08-08 11:00:21 -07:00
pnp
PNP: pnpbios: add header file to fix build errors
2016-07-27 18:52:54 +02:00
power
power_supply: tps65217-charger: fix missing platform_set_drvdata()
2016-08-15 23:10:44 +02:00
powercap
pps
ps3
ptp
pwm
pwm: Changes for v4.8-rc1
2016-08-06 00:01:33 -04:00
rapidio
rapidio: dereferencing an error pointer
2016-08-10 16:40:56 -07:00
ras
regulator
pwm: Changes for v4.8-rc1
2016-08-06 00:01:33 -04:00
remoteproc
dma-mapping: use unsigned long for dma_attrs
2016-08-04 08:50:07 -04:00
reset
rpmsg
rtc
RTC for 4.8
2016-08-05 09:48:22 -04:00
s390
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
2016-08-16 15:50:22 -07:00
sbus
scsi
Merge remote-tracking branch 'mkp-scsi/4.8/scsi-fixes' into fixes
2016-08-12 16:01:20 -07:00
sfi
sh
sn
soc
ARM: SoC driver updates for v4.8
2016-08-01 18:36:01 -04:00
spi
ARM: DT updates for v4.8
2016-08-01 18:37:45 -04:00
spmi
ssb
staging
Merge branch 'for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
2016-08-07 10:01:14 -04:00
target
target: iblock_execute_sync_cache() should use bio_set_op_attrs()
2016-08-07 14:41:02 -06:00
tc
thermal
Merge branches 'thermal-intel' and 'thermal-core' into next
2016-08-08 10:59:35 +08:00
thunderbolt
tty
tree-wide: replace config_enabled() with IS_ENABLED()
2016-08-04 08:50:07 -04:00
uio
usb
xhci: don't dereference a xhci member after removing xhci
2016-08-16 09:42:47 +02:00
uwb
vfio
vfio/pci: Fix NULL pointer oops in error interrupt setup handling
2016-08-08 16:16:23 -06:00
vhost
vhost/test: fix after swiotlb changes
2016-08-15 05:05:51 +03:00
video
dma-mapping: use unsigned long for dma_attrs
2016-08-04 08:50:07 -04:00
virt
virtio
virtio: fix error handling for debug builds
2016-08-09 13:42:35 +03:00
vlynq
vme
w1
w1:omap_hdq: fix regression
2016-08-02 19:35:40 -04:00
watchdog
watchdog: gpio_wdt: Fix missing platform_set_drvdata() in gpio_wdt_probe()
2016-07-27 10:47:43 +02:00
xen
dma-mapping: use unsigned long for dma_attrs
2016-08-04 08:50:07 -04:00
zorro
Kconfig
Makefile
virtio/vhost: new features for 4.8
2016-08-06 09:20:13 -04:00