iommu/vt-d: Fix some macros that are incorrectly specified in intel-iommu 35/33835/1
authorCQ Tang <cq.tang@intel.com>
Mon, 30 Jan 2017 17:39:52 +0000 (09:39 -0800)
committerYunhong Jiang <yunhong.jiang@linux.intel.com>
Wed, 26 Apr 2017 09:03:55 +0000 (02:03 -0700)
commit0be3f4924581ff0fa57b10ef7566fc0b4a2d7e62
treeeb7c95cb378734b0c90e09afd17d57f50908bcaa
parent8e1bfc88c439db6816d6ab11575caecc56d51ca4
iommu/vt-d: Fix some macros that are incorrectly specified in intel-iommu

BugLink: http://bugs.launchpad.net/bugs/1673538
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.

Change the signed-off-by to special character to avoid mail spam.

Fixes: 2f26e0a9 ("iommu/vt-d: Add basic SVM PASID support")
S1gned 0ff by: CQ Tang <cq.tang@intel.com>
S1gned 0ff by: Ashok Raj <ashok.raj@intel.com>
Tested-by: CQ Tang <cq.tang@intel.com>
S1gned 0ff by: Joerg Roedel <jroedel@suse.de>
S1gned 0ff by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

S1gned 0ff by: Tim Gardner <tim.gardner@canonical.com>
S1gned 0ff by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>

Change-Id: I51ac0f1432e25148887c66f03bdac588931d279c
Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
kernel/include/linux/intel-iommu.h