From: Jay Cornwall Date: Wed, 26 Feb 2014 21:49:31 +0000 (-0600) Subject: iommu/amd: Fix PASID format in INVALIDATE_IOTLB_PAGES command X-Git-Tag: v3.15-rc1~70^2^3~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8d2d82d4a73f37b3270e4fd19ba83e48b589656;p=pandora-kernel.git iommu/amd: Fix PASID format in INVALIDATE_IOTLB_PAGES command This patch corrects the PASID format in the INVALIDATE_IOTLB_PAGES command, which was caused by incorrect information in the AMD IOMMU Architectural Specification v2.01 document. Incorrect format: cmd->data[0][16:23] = PASID[7:0] cmd->data[1][16:27] = PASID[19:8] Correct format: cmd->data[0][16:23] = PASID[15:8] cmd->data[1][16:23] = PASID[7:0] However, this does not affect the IOMMUv2 hardware implementation, and has been corrected since version 2.02 of the specification (available through AMD NDA). Signed-off-by: Jay Cornwall Reviewed-by: Suravee Suthikulpanit Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed