iommu/amd: Define bit fields for DTE particularly
authorBaoquan He <bhe@redhat.com>
Wed, 9 Aug 2017 08:33:36 +0000 (16:33 +0800)
committerJoerg Roedel <jroedel@suse.de>
Tue, 15 Aug 2017 16:14:38 +0000 (18:14 +0200)
commit07a80a6b5920873a8b161ac49c5c12db7af30c0f
treec15768c86f42c832fe8ea89d2b5c2b538f4b8d53
parent9494ea90a56d013f4257686c8daf49203cd900c0
iommu/amd: Define bit fields for DTE particularly

In AMD-Vi spec several bits of IO PTE fields and DTE fields are similar
so that both of them can share the same MACRO definition. However
defining them respectively can make code more read-able. Do it now.

Signed-off-by: Baoquan He <bhe@redhat.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu.c
drivers/iommu/amd_iommu_types.h