linux/drivers/misc/cxl
Daniel Axtens c3a0355bdd cxl: Don't remove AFUs/vPHBs in cxl_reset
commit 4e1efb403c upstream.

If the driver doesn't participate in EEH, the AFUs will be removed
by cxl_remove, which will be invoked by EEH.

If the driver does particpate in EEH, the vPHB needs to stick around
so that the it can particpate.

In both cases, we shouldn't remove the AFU/vPHB.

Reviewed-by: Cyril Bur <cyrilbur@gmail.com>
Signed-off-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2015-09-29 19:26:26 +02:00
..
base.c cxl: Add base builtin support 2014-10-08 20:15:56 +11:00
context.c cxl: Fix off by one error allowing subsequent mmap page to be accessed 2015-08-10 12:21:50 -07:00
cxl.h cxl: Export optional AFU configuration record in sysfs 2015-02-06 11:16:56 +11:00
debugfs.c cxl: Driver code for powernv PCIe based cards for userspace access 2014-10-08 20:15:57 +11:00
fault.c cxl: Add tracepoints 2015-01-22 17:31:51 +11:00
file.c powerpc updates for 3.20 2015-02-11 18:15:38 -08:00
irq.c cxl: Add missing return statement after handling AFU errror 2015-02-06 11:17:27 +11:00
Kconfig cxl: Add driver to Kbuild and Makefiles 2014-10-08 20:15:58 +11:00
main.c cxl: Check if afu is not null in cxl_slbia 2015-08-10 12:21:50 -07:00
Makefile cxl: Add tracepoints 2015-01-22 17:31:51 +11:00
native.c cxl: Add tracepoints 2015-01-22 17:31:51 +11:00
pci.c cxl: Don't remove AFUs/vPHBs in cxl_reset 2015-09-29 19:26:26 +02:00
sysfs.c cxl: Export optional AFU configuration record in sysfs 2015-02-06 11:16:56 +11:00
trace.c cxl: Add tracepoints 2015-01-22 17:31:51 +11:00
trace.h cxl: Add tracepoints 2015-01-22 17:31:51 +11:00