Re: [PATCH v8 4/9] iommu/amd: Introduce amd_iommu_get_num_iommus()

2017-01-19 Thread Borislav Petkov
On Mon, Jan 16, 2017 at 01:23:31AM -0600, Suravee Suthikulpanit wrote: > Introduce amd_iommu_get_num_iommus(), which returns the value of > amd_iommus_present, then replaces the direct access to the variable ^ which > which is now declared as static. > >

Re: [PATCH v8 4/9] iommu/amd: Introduce amd_iommu_get_num_iommus()

2017-01-19 Thread Borislav Petkov
On Mon, Jan 16, 2017 at 01:23:31AM -0600, Suravee Suthikulpanit wrote: > Introduce amd_iommu_get_num_iommus(), which returns the value of > amd_iommus_present, then replaces the direct access to the variable ^ which > which is now declared as static. > >

[PATCH v8 4/9] iommu/amd: Introduce amd_iommu_get_num_iommus()

2017-01-15 Thread Suravee Suthikulpanit
Introduce amd_iommu_get_num_iommus(), which returns the value of amd_iommus_present, then replaces the direct access to the variable which is now declared as static. This function will also be used by Perf AMD IOMMU driver. Cc: Borislav Petkov Cc: Joerg Roedel

[PATCH v8 4/9] iommu/amd: Introduce amd_iommu_get_num_iommus()

2017-01-15 Thread Suravee Suthikulpanit
Introduce amd_iommu_get_num_iommus(), which returns the value of amd_iommus_present, then replaces the direct access to the variable which is now declared as static. This function will also be used by Perf AMD IOMMU driver. Cc: Borislav Petkov Cc: Joerg Roedel Signed-off-by: Suravee