diff options
author | Alexey Skidanov <Alexey.Skidanov@amd.com> | 2014-07-08 17:30:16 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2014-07-09 16:02:41 +0200 |
commit | b00675b867d5fb59b341395c77d20655f7f2edf7 (patch) | |
tree | 5af6338265497dec7f888bb5ec710faf64fa7d25 /drivers/iommu/amd_iommu_v2.c | |
parent | cd3de83f147601356395b57a8673e9c5ff1e59d1 (diff) |
iommu/amd: Fix for pasid initialization
The pasid wasn't properly initialized before caling to invalid PPR calback
Signed-off-by: Alexey Skidanov <Alexey.Skidanov@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/amd_iommu_v2.c')
-rw-r--r-- | drivers/iommu/amd_iommu_v2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iommu/amd_iommu_v2.c b/drivers/iommu/amd_iommu_v2.c index 499b4366a98d..92fb77ccb901 100644 --- a/drivers/iommu/amd_iommu_v2.c +++ b/drivers/iommu/amd_iommu_v2.c @@ -612,6 +612,7 @@ static int ppr_notifier(struct notifier_block *nb, unsigned long e, void *data) fault->state = pasid_state; fault->tag = tag; fault->finish = finish; + fault->pasid = iommu_fault->pasid; fault->flags = iommu_fault->flags; INIT_WORK(&fault->work, do_fault); |