Re: [PATCH] iommu/amd: Fix amd_iommu_detect() (does not fix any issues).

2015-10-27 Thread Konrad Rzeszutek Wilk
On Tue, Oct 27, 2015 at 09:53:30AM +0900, Jerome Glisse wrote: > On Tue, Oct 27, 2015 at 09:47:48AM +0900, Jerome Glisse wrote: > > On Mon, Oct 26, 2015 at 12:07:17PM -0400, Konrad Rzeszutek Wilk wrote: > > > On Mon, Aug 31, 2015 at 06:13:03PM -0400, j.gli...@gmail.com wrote: > > > > From: Jérôme

Re: [PATCH] iommu/amd: Fix amd_iommu_detect() (does not fix any issues).

2015-10-27 Thread Konrad Rzeszutek Wilk
On Tue, Oct 27, 2015 at 09:53:30AM +0900, Jerome Glisse wrote: > On Tue, Oct 27, 2015 at 09:47:48AM +0900, Jerome Glisse wrote: > > On Mon, Oct 26, 2015 at 12:07:17PM -0400, Konrad Rzeszutek Wilk wrote: > > > On Mon, Aug 31, 2015 at 06:13:03PM -0400, j.gli...@gmail.com wrote: > > > > From: Jérôme

Re: [PATCH] iommu/amd: Fix amd_iommu_detect() (does not fix any issues).

2015-10-26 Thread Jerome Glisse
On Tue, Oct 27, 2015 at 09:47:48AM +0900, Jerome Glisse wrote: > On Mon, Oct 26, 2015 at 12:07:17PM -0400, Konrad Rzeszutek Wilk wrote: > > On Mon, Aug 31, 2015 at 06:13:03PM -0400, j.gli...@gmail.com wrote: > > > From: Jérôme Glisse > > > > > > Fix amd_iommu_detect() to return positive value on

Re: [PATCH] iommu/amd: Fix amd_iommu_detect() (does not fix any issues).

2015-10-26 Thread Jerome Glisse
On Mon, Oct 26, 2015 at 12:07:17PM -0400, Konrad Rzeszutek Wilk wrote: > On Mon, Aug 31, 2015 at 06:13:03PM -0400, j.gli...@gmail.com wrote: > > From: Jérôme Glisse > > > > Fix amd_iommu_detect() to return positive value on success, like > > intended, and not zero. This will not change anything

Re: [PATCH] iommu/amd: Fix amd_iommu_detect() (does not fix any issues).

2015-10-26 Thread Konrad Rzeszutek Wilk
On Mon, Aug 31, 2015 at 06:13:03PM -0400, j.gli...@gmail.com wrote: > From: Jérôme Glisse > > Fix amd_iommu_detect() to return positive value on success, like > intended, and not zero. This will not change anything in the end > as AMD IOMMU disable swiotlb and properly associate itself with Not

Re: [PATCH] iommu/amd: Fix amd_iommu_detect() (does not fix any issues).

2015-10-26 Thread Jerome Glisse
On Mon, Oct 26, 2015 at 12:07:17PM -0400, Konrad Rzeszutek Wilk wrote: > On Mon, Aug 31, 2015 at 06:13:03PM -0400, j.gli...@gmail.com wrote: > > From: Jérôme Glisse > > > > Fix amd_iommu_detect() to return positive value on success, like > > intended, and not zero. This will

Re: [PATCH] iommu/amd: Fix amd_iommu_detect() (does not fix any issues).

2015-10-26 Thread Jerome Glisse
On Tue, Oct 27, 2015 at 09:47:48AM +0900, Jerome Glisse wrote: > On Mon, Oct 26, 2015 at 12:07:17PM -0400, Konrad Rzeszutek Wilk wrote: > > On Mon, Aug 31, 2015 at 06:13:03PM -0400, j.gli...@gmail.com wrote: > > > From: Jérôme Glisse > > > > > > Fix amd_iommu_detect() to

Re: [PATCH] iommu/amd: Fix amd_iommu_detect() (does not fix any issues).

2015-10-26 Thread Konrad Rzeszutek Wilk
On Mon, Aug 31, 2015 at 06:13:03PM -0400, j.gli...@gmail.com wrote: > From: Jérôme Glisse > > Fix amd_iommu_detect() to return positive value on success, like > intended, and not zero. This will not change anything in the end > as AMD IOMMU disable swiotlb and properly

Re: [PATCH] iommu/amd: Fix amd_iommu_detect() (does not fix any issues).

2015-09-24 Thread Joerg Roedel
On Mon, Aug 31, 2015 at 06:13:03PM -0400, j.gli...@gmail.com wrote: > From: Jérôme Glisse > > Fix amd_iommu_detect() to return positive value on success, like > intended, and not zero. This will not change anything in the end > as AMD IOMMU disable swiotlb and properly associate itself with >

Re: [PATCH] iommu/amd: Fix amd_iommu_detect() (does not fix any issues).

2015-09-24 Thread Joerg Roedel
On Mon, Aug 31, 2015 at 06:13:03PM -0400, j.gli...@gmail.com wrote: > From: Jérôme Glisse > > Fix amd_iommu_detect() to return positive value on success, like > intended, and not zero. This will not change anything in the end > as AMD IOMMU disable swiotlb and properly

[PATCH] iommu/amd: Fix amd_iommu_detect() (does not fix any issues).

2015-08-31 Thread j . glisse
From: Jérôme Glisse Fix amd_iommu_detect() to return positive value on success, like intended, and not zero. This will not change anything in the end as AMD IOMMU disable swiotlb and properly associate itself with devices even if detect() doesn't return a positive value. Signed-off-by: Jérôme

[PATCH] iommu/amd: Fix amd_iommu_detect() (does not fix any issues).

2015-08-31 Thread j . glisse
From: Jérôme Glisse Fix amd_iommu_detect() to return positive value on success, like intended, and not zero. This will not change anything in the end as AMD IOMMU disable swiotlb and properly associate itself with devices even if detect() doesn't return a positive value.