Re: [Patch v3 06/12] iommu/amd: Clean up the useless IOMMU_PTE_U/IOMMU_PTE_FC

2016-01-28 Thread Baoquan He
On 01/27/16 at 06:22pm, Wan Zongshun wrote: > > > Original Message > >In amd-vi spec bit[60:58] are only used to store the bit[14:12] of GCR3. > >No any other useage is found in several versions of amd-vi spec. So remove > >them in this patch. > > Also,this patch also made me c

Re: [Patch v3 06/12] iommu/amd: Clean up the useless IOMMU_PTE_U/IOMMU_PTE_FC

2016-01-27 Thread Wan Zongshun
Original Message In amd-vi spec bit[60:58] are only used to store the bit[14:12] of GCR3. No any other useage is found in several versions of amd-vi spec. So remove them in this patch. Also,this patch also made me confusion, please keep FC bit here, bit[60] should be PTE's

[Patch v3 06/12] iommu/amd: Clean up the useless IOMMU_PTE_U/IOMMU_PTE_FC

2016-01-26 Thread Baoquan He
In amd-vi spec bit[60:58] are only used to store the bit[14:12] of GCR3. No any other useage is found in several versions of amd-vi spec. So remove them in this patch. Signed-off-by: Baoquan He --- drivers/iommu/amd_iommu.c | 6 +++--- drivers/iommu/amd_iommu_types.h | 2 -- 2 files change