linux_dsm_epyc7002/drivers/dma/ioat
Jiang Liu b6c52c6345 dmaengine: ioatdma: Ignore IOAT devices under hotplug-capable PCI host bridge
The dmaengine core assumes that async DMA devices will only be removed
when they not used anymore, or it assumes dma_async_device_unregister()
will only be called by dma driver exit routines. But this assumption is
not true for the IOAT driver, which calls dma_async_device_unregister()
from ioat_remove(). So current IOAT driver doesn't support device
hot-removal because it may cause system crash to hot-remove an inuse
IOAT device.

To support CPU socket hot-removal, all PCI devices, including IOAT
devices embedded in the socket, will be hot-removed. The idea solution
is to enhance the dmaengine core and IOAT driver to support hot-removal,
but that's too hard.

This patch implements a hack to disable IOAT devices under hotplug-capable
CPU socket so it won't break socket hot-removal.

Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
2015-07-16 18:28:28 +05:30
..
dca.c dmaengine: Remove FSF mailing addresses 2015-03-16 22:28:15 +05:30
dma_v2.c dmaengine: Remove FSF mailing addresses 2015-03-16 22:28:15 +05:30
dma_v2.h dmaengine: Remove FSF mailing addresses 2015-03-16 22:28:15 +05:30
dma_v3.c dmaengine: ioatdma: Set non RAID channels to be private capable 2015-07-07 09:54:32 +05:30
dma.c dmaengine: Remove FSF mailing addresses 2015-03-16 22:28:15 +05:30
dma.h dmaengine: Remove FSF mailing addresses 2015-03-16 22:28:15 +05:30
hw.h dmaengine: Remove FSF mailing addresses 2015-03-16 22:28:15 +05:30
Makefile drivers/dma/ioat: Use the ccflag-y instead of EXTRA_CFLAGS 2010-12-04 15:03:06 -08:00
pci.c dmaengine: ioatdma: Ignore IOAT devices under hotplug-capable PCI host bridge 2015-07-16 18:28:28 +05:30
registers.h dmaengine: Remove FSF mailing addresses 2015-03-16 22:28:15 +05:30