RE: Re: [RFC PATCH 2/2] ACPI/IORT: use swiotlb_dma_ops when smmu probe failed

2018-04-10 Thread Wang, Dongsheng
.pieral...@arm.com> > Cc: r...@rjwysocki.net; gre...@linuxfoundation.org; hanjun@linaro.org; > sudeep.ho...@arm.com; Zheng, Joey <yu.zh...@hxt-semitech.com>; > linux-a...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: [此邮件可能存在风险] Re: [RFC PATCH 2/2] ACPI/IORT: use > s

RE: Re: [RFC PATCH 2/2] ACPI/IORT: use swiotlb_dma_ops when smmu probe failed

2018-04-10 Thread Wang, Dongsheng
oundation.org; hanjun@linaro.org; > sudeep.ho...@arm.com; Zheng, Joey ; > linux-a...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: [此邮件可能存在风险] Re: [RFC PATCH 2/2] ACPI/IORT: use > swiotlb_dma_ops when smmu probe failed > > On 08/04/18 09:10, Wang, Dongsheng wrote: > > >

Re: [RFC PATCH 2/2] ACPI/IORT: use swiotlb_dma_ops when smmu probe failed

2018-04-09 Thread Robin Murphy
cki.net; gre...@linuxfoundation.org; hanjun@linaro.org; sudeep.ho...@arm.com; Zheng, Joey <yu.zh...@hxt-semitech.com>; linux-a...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: [此邮件可能存在风险] Re: [RFC PATCH 2/2] ACPI/IORT: use swiotlb_dma_ops when smmu probe failed On 04/04/18 17:01, Loren

Re: [RFC PATCH 2/2] ACPI/IORT: use swiotlb_dma_ops when smmu probe failed

2018-04-09 Thread Robin Murphy
; Zheng, Joey ; linux-a...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: [此邮件可能存在风险] Re: [RFC PATCH 2/2] ACPI/IORT: use swiotlb_dma_ops when smmu probe failed On 04/04/18 17:01, Lorenzo Pieralisi wrote: [+cc Robin] On Thu, Mar 29, 2018 at 03:01:00AM -0700, Wang Dongsheng wrote: If SMMU

RE: Re: [RFC PATCH 2/2] ACPI/IORT: use swiotlb_dma_ops when smmu probe failed

2018-04-08 Thread Wang, Dongsheng
..@linuxfoundation.org; hanjun@linaro.org; > sudeep.ho...@arm.com; Zheng, Joey <yu.zh...@hxt-semitech.com>; > linux-a...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: [此邮件可能存在风险] Re: [RFC PATCH 2/2] ACPI/IORT: use > swiotlb_dma_ops when smmu probe failed > > On 0

RE: Re: [RFC PATCH 2/2] ACPI/IORT: use swiotlb_dma_ops when smmu probe failed

2018-04-08 Thread Wang, Dongsheng
Zheng, Joey ; > linux-a...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: [此邮件可能存在风险] Re: [RFC PATCH 2/2] ACPI/IORT: use > swiotlb_dma_ops when smmu probe failed > > On 04/04/18 17:01, Lorenzo Pieralisi wrote: > > [+cc Robin] > > > > On Thu, Mar 29, 2018 at 03:0

Re: [RFC PATCH 2/2] ACPI/IORT: use swiotlb_dma_ops when smmu probe failed

2018-04-04 Thread Robin Murphy
On 04/04/18 17:01, Lorenzo Pieralisi wrote: [+cc Robin] On Thu, Mar 29, 2018 at 03:01:00AM -0700, Wang Dongsheng wrote: If SMMU probe failed, master should use swiotlb as dma ops. SMMU may probe failed with specified environment, so there are not any iommu resources in iommu_device_list. The

Re: [RFC PATCH 2/2] ACPI/IORT: use swiotlb_dma_ops when smmu probe failed

2018-04-04 Thread Robin Murphy
On 04/04/18 17:01, Lorenzo Pieralisi wrote: [+cc Robin] On Thu, Mar 29, 2018 at 03:01:00AM -0700, Wang Dongsheng wrote: If SMMU probe failed, master should use swiotlb as dma ops. SMMU may probe failed with specified environment, so there are not any iommu resources in iommu_device_list. The

Re: [RFC PATCH 2/2] ACPI/IORT: use swiotlb_dma_ops when smmu probe failed

2018-04-04 Thread Lorenzo Pieralisi
[+cc Robin] On Thu, Mar 29, 2018 at 03:01:00AM -0700, Wang Dongsheng wrote: > If SMMU probe failed, master should use swiotlb as dma ops. > SMMU may probe failed with specified environment, so there > are not any iommu resources in iommu_device_list. > > The master will always get EPROBE_DEFER

Re: [RFC PATCH 2/2] ACPI/IORT: use swiotlb_dma_ops when smmu probe failed

2018-04-04 Thread Lorenzo Pieralisi
[+cc Robin] On Thu, Mar 29, 2018 at 03:01:00AM -0700, Wang Dongsheng wrote: > If SMMU probe failed, master should use swiotlb as dma ops. > SMMU may probe failed with specified environment, so there > are not any iommu resources in iommu_device_list. > > The master will always get EPROBE_DEFER