[PATCH v8 04/13] iommu/amd: Define bit fields for DTE particularly

2017-07-21 Thread Baoquan He
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 --- drivers/iommu/amd_iommu.c | 8

[PATCH v8 04/13] iommu/amd: Define bit fields for DTE particularly

2017-07-21 Thread Baoquan He
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 --- drivers/iommu/amd_iommu.c | 8