iommu/vt-d: Report the right page fault address
authorLu Baolu <baolu.lu@linux.intel.com>
Sat, 20 Mar 2021 02:54:11 +0000 (10:54 +0800)
committerJoerg Roedel <jroedel@suse.de>
Wed, 7 Apr 2021 09:55:46 +0000 (11:55 +0200)
commit03d205094af45bca4f8e0498c461a893aa3ec6d9
treec73d01b4595702e586b8ca0340c361b26e303fd4
parent6c00612d0cba10f7d0917cf1f73c945003ed4cd7
iommu/vt-d: Report the right page fault address

The Address field of the Page Request Descriptor only keeps bit [63:12]
of the offending address. Convert it to a full address before reporting
it to device drivers.

Fixes: eb8d93ea3c1d3 ("iommu/vt-d: Report page request faults for guest SVA")
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20210320025415.641201-2-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/svm.c