commit | 241000556f751dacd332df6ab2e903a23746e51e | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Wed Nov 25 15:59:57 2009 +0100 |
committer | Joerg Roedel <joerg.roedel@amd.com> | Fri Nov 27 14:20:33 2009 +0100 |
tree | b3dad45997c5e3c9eb754901e24dbca9c959852a | |
parent | 657cbb6b6cba0f9c98c5299e0c803b2c0e67ea0a [diff] |
x86/amd-iommu: Add device bind reference counting This patch adds a reference count to each device to count how often the device was bound to that domain. This is important for single devices that act as an alias for a number of others. These devices must stay bound to their domains until all devices that alias to it are unbound from the same domain. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>