projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd3de83
)
iommu/amd: Fix for pasid initialization
author
Alexey Skidanov
<Alexey.Skidanov@amd.com>
Tue, 8 Jul 2014 14:30:16 +0000
(17:30 +0300)
committer
Joerg Roedel
<jroedel@suse.de>
Wed, 9 Jul 2014 14:02:41 +0000
(16:02 +0200)
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>
drivers/iommu/amd_iommu_v2.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iommu/amd_iommu_v2.c
b/drivers/iommu/amd_iommu_v2.c
index 499b4366a98d7d3b1b3148bbf9a541698c7d642c..92fb77ccb9019725660325bcce7039e073258b4b 100644
(file)
--- 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);