]> asedeno.scripts.mit.edu Git - linux.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)
committerJoerg Roedel <jroedel@suse.de>
Tue, 31 Jan 2017 11:50:05 +0000 (12:50 +0100)
commitaaa59306b0b7e0ca4ba92cc04c5db101cbb1c096
tree7b1ab089a2ef01fdfd2f1b524993a65e4a2b2e08
parent566cf877a1fcb6d6dc0126b076aad062054c2637
iommu/vt-d: Fix some macros that are incorrectly specified in intel-iommu

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: stable@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>
include/linux/intel-iommu.h