Commit b00675b8 authored by Alexey Skidanov's avatar Alexey Skidanov Committed by Joerg Roedel

iommu/amd: Fix for pasid initialization

The pasid wasn't properly initialized before caling to invalid PPR calback
Signed-off-by: default avatarAlexey Skidanov <Alexey.Skidanov@amd.com>
Signed-off-by: default avatarOded Gabbay <oded.gabbay@amd.com>
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent cd3de83f
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment