Jean-Philippe Brucker 809d0810e3 iommu/virtio: Detach domain on endpoint release
When an endpoint is released, for example a PCIe VF being destroyed or a
function hot-unplugged, it should be detached from its domain. Send a
DETACH request.

Fixes: edcd69ab9a32 ("iommu: Add virtio-iommu driver")
Reported-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Link: https://lore.kernel.org/all/15bf1b00-3aa0-973a-3a86-3fa5c4d41d2c@daynix.com/
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Tested-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Link: https://lore.kernel.org/r/20230515113946.1017624-2-jean-philippe@linaro.org
Signed-off-by: Joerg Roedel <jroedel@suse.de>
2023-05-23 08:19:03 +02:00
..
2023-04-30 13:00:38 -07:00
2022-09-09 09:26:22 +02:00
2022-11-03 15:47:54 +01:00
2023-04-30 13:00:38 -07:00
2023-04-30 13:00:38 -07:00
2023-03-31 10:03:31 +02:00
2023-02-24 14:34:12 -08:00
2023-02-24 13:40:13 -08:00