]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
iommu/amd: Fix device_state reference counting
authorJoerg Roedel <jroedel@suse.de>
Wed, 30 Jul 2014 14:04:39 +0000 (16:04 +0200)
committerJoerg Roedel <jroedel@suse.de>
Wed, 30 Jul 2014 14:07:50 +0000 (16:07 +0200)
commit75058a302bfa80ff59bf5b25ddb987683a4da650
tree8a60a0e4d6f66077ab653db5e6f9a5ba43d05201
parent8301da53fbc1dff07c96f7ebf32bda331e4775e3
iommu/amd: Fix device_state reference counting

The references to the device state are not dropped
everywhere. This might cause a dead-lock in
amd_iommu_free_device(). Fix it.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Tested-by: Oded Gabbay <oded.gabbay@amd.com>
drivers/iommu/amd_iommu_v2.c