]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/iommu/intel-svm.c
iommu/vt-d: IOMMU Page Request needs to check if address is canonical.
authorAshok Raj <ashok.raj@intel.com>
Tue, 8 Aug 2017 20:29:27 +0000 (13:29 -0700)
committerJoerg Roedel <jroedel@suse.de>
Wed, 30 Aug 2017 15:48:18 +0000 (17:48 +0200)
commit9d8c3af31607819a61011d746e861b8096ac9761
treec7ae280f333a27f154fa52168ad07293fbef3d2b
parentbc24c57159fac5f7e8df22ce3bc8069578684763
iommu/vt-d: IOMMU Page Request needs to check if address is canonical.

Page Request from devices that support device-tlb would request translation
to pre-cache them in device to avoid overhead of IOMMU lookups.

IOMMU needs to check for canonicallity of the address before performing
page-fault processing.

To: Joerg Roedel <joro@8bytes.org>
To: linux-kernel@vger.kernel.org>
Cc: iommu@lists.linux-foundation.org
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Jacob Pan <jacob.jun.pan@intel.com>
Cc: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Ashok Raj <ashok.raj@intel.com>
Reported-by: Sudeep Dutt <sudeep.dutt@intel.com>
Acked-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-svm.c