]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 May 2021 08:50:04 +0000 (10:50 +0200)
commit877ec8486eafb20d09959ccbc246d619bfe7e58c
tree634423d0878b100f41ce09afa1531046d463d784
parent30c4d179b24c8ec6f208d6bdf02cf28798aa3ff1
iommu/vt-d: Report the right page fault address

[ Upstream commit 03d205094af45bca4f8e0498c461a893aa3ec6d9 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/iommu/intel/svm.c