From: Wei Wang Subject: [PATCH 2 of 4] amd iommu: Fix incorrect definitions Date: Fri, 18 Nov 2011 11:42:23 +0100 Message-ID: <135678ae1bbc02171294.1321612943@gran.amd.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: JBeulich@suse.com Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org # HG changeset patch # User Wei Wang # Date 1321541523 -3600 # Node ID 135678ae1bbc02171294c21e2a5469d898d2a353 # Parent ac472579595524317ab2f7e5ef545e67f4c9c6f0 amd iommu: Fix incorrect definitions. Signed-off-by: Wei Wang diff -r ac4725795955 -r 135678ae1bbc xen/include/asm-x86/hvm/svm/amd-iommu-defs.h --- a/xen/include/asm-x86/hvm/svm/amd-iommu-defs.h Thu Nov 17 15:52:00 2011 +0100 +++ b/xen/include/asm-x86/hvm/svm/amd-iommu-defs.h Thu Nov 17 15:52:03 2011 +0100 @@ -293,10 +293,8 @@ #define IOMMU_CONTROL_EVENT_LOG_INT_SHIFT 3 #define IOMMU_CONTROL_COMP_WAIT_INT_MASK 0x00000010 #define IOMMU_CONTROL_COMP_WAIT_INT_SHIFT 4 -#define IOMMU_CONTROL_TRANSLATION_CHECK_DISABLE_MASK 0x00000020 -#define IOMMU_CONTROL_TRANSLATION_CHECK_DISABLE_SHIFT 5 -#define IOMMU_CONTROL_INVALIDATION_TIMEOUT_MASK 0x000000C0 -#define IOMMU_CONTROL_INVALIDATION_TIMEOUT_SHIFT 6 +#define IOMMU_CONTROL_INVALIDATION_TIMEOUT_MASK 0x000000E0 +#define IOMMU_CONTROL_INVALIDATION_TIMEOUT_SHIFT 5 #define IOMMU_CONTROL_PASS_POSTED_WRITE_MASK 0x00000100 #define IOMMU_CONTROL_PASS_POSTED_WRITE_SHIFT 8 #define IOMMU_CONTROL_RESP_PASS_POSTED_WRITE_MASK 0x00000200