[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6302b081-fab5-2eea-1a56-5ad903ff7d54@sholland.org>
Date: Sat, 4 Feb 2023 08:49:48 -0600
From: Samuel Holland <samuel@...lland.org>
To: Joerg Roedel <joro@...tes.org>
Cc: Will Deacon <will@...nel.org>, Robin Murphy <robin.murphy@....com>,
Chen-Yu Tsai <wens@...e.org>,
Jernej Skrabec <jernej.skrabec@...il.com>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Rob Herring <robh+dt@...nel.org>, iommu@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org, linux-sunxi@...ts.linux.dev,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
Maxime Ripard <mripard@...nel.org>
Subject: Re: [PATCH v2 0/6] iommu/sun50i: Allwinner D1 support
Hi Joerg,
On 2/3/23 04:21, Joerg Roedel wrote:
> On Fri, Jan 20, 2023 at 04:11:30PM +0100, Joerg Roedel wrote:
>> There is a conflict between these patches and changes in the IOMMU
>> core branch. With those merged in there is a compile warning about
>> sun50i_iommu_detach_domain() being unused. Fixing that requires
>> removing of 3-4 functions, which I am not sure is the right
>> solution.
>>
>> Once this is fixed I will include the arm/allwinner branch into my
>> next branch again.
>
> Since there was no reply to this I nuked the patches from the IOMMU
> tree. If this is still relevant please resubmit them after the next
> merge window.
I am not sure what the right solution is here either, and I have not had
the chance to look at it again. With my limited understanding of how the
default domain logic works, and the fact that the IOMMU driver only
supports one domain, it seems the driver should keep that domain enabled
permanently, regardless of which devices are attached. So my patch 2
would be wrong. I will investigate and send a v3 after the merge window.
Regards,
Samuel
Powered by blists - more mailing lists