From: Joerg Roedel Date: Tue, 8 Jul 2014 13:01:43 +0000 (+0200) Subject: iommu/amd: Add pasid_state->invalid flag X-Git-Tag: omap-for-v3.17/fixes-against-rc2~158^2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53d340ef4a19ccade5305fc38808cac04861b322;p=pandora-kernel.git 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 Tested-by: Oded Gabbay --- Reading git-diff-tree failed