]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
iommu/vt-d: Fix some macros that are incorrectly specified in intel-iommu
authorCQ Tang <cq.tang@intel.com>
Mon, 30 Jan 2017 17:39:52 +0000 (09:39 -0800)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 13 Mar 2017 21:20:54 +0000 (15:20 -0600)
commitc51309abe47a613831ccec375a441fa1893eed14
tree21b7ac5ebf8f6421bd4555351608b6c5b86ad298
parentfe913afec103fff68f4ca1e21e7049065e710957
iommu/vt-d: Fix some macros that are incorrectly specified in intel-iommu

BugLink: http://bugs.launchpad.net/bugs/1672544
commit aaa59306b0b7e0ca4ba92cc04c5db101cbb1c096 upstream.

Some of the macros are incorrect with wrong bit-shifts resulting in picking
the incorrect invalidation granularity. Incorrect Source-ID in extended
devtlb invalidation caused device side errors.

To: Joerg Roedel <joro@8bytes.org>
To: David Woodhouse <dwmw2@infradead.org>
Cc: iommu@lists.linux-foundation.org
Cc: linux-kernel@vger.kernel.org
Cc: CQ Tang <cq.tang@intel.com>
Cc: Ashok Raj <ashok.raj@intel.com>
Fixes: 2f26e0a9 ("iommu/vt-d: Add basic SVM PASID support")
Signed-off-by: CQ Tang <cq.tang@intel.com>
Signed-off-by: Ashok Raj <ashok.raj@intel.com>
Tested-by: CQ Tang <cq.tang@intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
include/linux/intel-iommu.h