commit | 53d340ef4a19ccade5305fc38808cac04861b322 | [log] [tgz] |
---|---|---|
author | Joerg Roedel <jroedel@suse.de> | Tue Jul 08 15:01:43 2014 +0200 |
committer | Joerg Roedel <jroedel@suse.de> | Thu Jul 10 15:36:46 2014 +0200 |
tree | b1051d9a4fc7cb1898500eff2fc2c00ed9546e4e | |
parent | dc88db7ee9f9a0a850dcee5738031f888ba124b7 [diff] |
iommu/amd: Add pasid_state->invalid flag This is used to signal the ppr_notifer function that no more faults should be processes on this pasid_state. This way we can keep the pasid_state safely in the state-table so that it can be freed in the amd_iommu_unbind_pasid() function. This allows us to not hold a reference to the mm_struct during the whole pasid-binding-time. Signed-off-by: Joerg Roedel <jroedel@suse.de> Tested-by: Oded Gabbay <Oded.Gabbay@amd.com>