Re: [PATCH 1/2] iommu/vt-d: Fix some macros that are incorrectly specified in intel-iommu

From: Joerg Roedel
Date: Tue Jan 31 2017 - 06:58:36 EST


On Mon, Jan 30, 2017 at 09:39:52AM -0800, Ashok Raj wrote:
> From: CQ Tang <cq.tang@xxxxxxxxx>
>
> 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@xxxxxxxxxx>
> To: David Woodhouse <dwmw2@xxxxxxxxxxxxx>
> Cc: iommu@xxxxxxxxxxxxxxxxxxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Cc: stable@xxxxxxxxxxxxxxx
> Cc: CQ Tang <cq.tang@xxxxxxxxx>
> Cc: Ashok Raj <ashok.raj@xxxxxxxxx>
>
> Fixes: 2f26e0a9 ("iommu/vt-d: Add basic SVM PASID support")
> Signed-off-by: CQ Tang <cq.tang@xxxxxxxxx>
> Signed-off-by: Ashok Raj <ashok.raj@xxxxxxxxx>
> Tested-by: CQ Tang <cq.tang@xxxxxxxxx>
> ---
> include/linux/intel-iommu.h | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)

Applied both, thanks Ashok.