summaryrefslogtreecommitdiff
path: root/drivers/s390/crypto/pkey_api.c
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.ibm.com>2019-02-14 14:46:23 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2019-02-20 09:48:32 +0100
commit0ff06c44efeede4acd068847d3bf8cf894b6c664 (patch)
tree07118d0aae9df47212cc986dbcd01160eea17f7d /drivers/s390/crypto/pkey_api.c
parent86a86804e4f18fc3880541b3d5a07f4df0fe29cb (diff)
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>
Diffstat (limited to 'drivers/s390/crypto/pkey_api.c')
0 files changed, 0 insertions, 0 deletions