2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 10:13:57 +08:00
linux-next/drivers/s390
Sebastian Ott 0ff06c44ef s390/ism: ignore some errors during deregistration
Prior to dma unmap/free operations the ism driver tries to ensure
that the memory is no longer accessed by the HW. When errors
during deregistration of memory regions from the HW occur the ism
driver will not unmap/free this memory.

When we receive notification from the hypervisor that a PCI function
has been detached we can no longer access the device and would never
unmap/free these memory regions which led to complaints by the DMA
debug API.

Treat this kind of errors during the deregistration of memory regions
from the HW as success since it is already ensured that the memory
is no longer accessed by HW.

Reported-by: Karsten Graul <kgraul@linux.ibm.com>
Reported-by: Hans Wippel <hwippel@linux.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2019-02-20 09:48:32 +01:00
..
block s390 updates for the 4.21 merge window 2019-01-02 18:37:01 -08:00
char s390/setup: set control program code via diag 318 2019-01-28 15:58:53 +01:00
cio A fix in ccw chain processing. 2019-02-07 11:57:38 +01:00
crypto s390/zcrypt: use new state UNBOUND during queue driver rebind 2019-02-13 08:27:44 +01:00
net s390/ism: ignore some errors during deregistration 2019-02-20 09:48:32 +01:00
scsi s390/qdio: make SBAL address array type-safe 2019-02-07 11:57:07 +01:00
virtio Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-12-09 21:43:31 -08:00
Makefile kbuild: rename built-in.o to built-in.a 2018-03-26 02:01:19 +09:00