Re: [PATCH RFC 11/14] arm64: Move the ASID allocator code in a separate file

2019-09-12 Thread Guo Ren
Thx Will for reply. On Thu, Sep 12, 2019 at 3:03 PM Will Deacon wrote: > > On Sun, Sep 08, 2019 at 07:52:55AM +0800, Guo Ren wrote: > > On Mon, Jun 24, 2019 at 6:40 PM Will Deacon wrote: > > > > I'll keep my system use the same ASID for SMP + IOMMU :P > > > > > > You will want a separate

Re: [PATCH RFC 11/14] arm64: Move the ASID allocator code in a separate file

2019-09-12 Thread Will Deacon
On Sun, Sep 08, 2019 at 07:52:55AM +0800, Guo Ren wrote: > On Mon, Jun 24, 2019 at 6:40 PM Will Deacon wrote: > > > I'll keep my system use the same ASID for SMP + IOMMU :P > > > > You will want a separate allocator for that: > > > >

Re: [PATCH 3/3] iommu/io-pgtable-arm: Allow coherent walks for Mali

2019-09-12 Thread Steven Price
On 11/09/2019 15:42, Robin Murphy wrote: > Midgard GPUs have ACE-Lite master interfaces which allows systems to > integrate them in an I/O-coherent manner. It seems that from the GPU's > viewpoint, the rest of the system is its outer shareable domain, and it > will only emit snoop signals for

Re: [PATCH 2/3] iommu/io-pgtable-arm: Support more Mali configurations

2019-09-12 Thread Steven Price
On 11/09/2019 15:42, Robin Murphy wrote: > In principle, Midgard GPUs supporting smaller VA sizes should only > require 3-level pagetables, since the address bits resolved at level 0 > (47:40) will never change. However, the kbase driver does not appear to > have any notion of a variable start

Re: [PATCH 1/3] iommu/io-pgtable-arm: Correct Mali attributes

2019-09-12 Thread Steven Price
On 11/09/2019 15:42, Robin Murphy wrote: > Whilst Midgard's MEMATTR follows a similar principle to the VMSA MAIR, > the actual attribute values differ, so although it currently appears to > work to some degree, we probably shouldn't be using our standard stage 1 > MAIR for that. Instead, generate

[PATCH] dt-bindings: gpu: Convert Samsung Image Rotator to dt-schema

2019-09-12 Thread Maciej Falkowski
Convert Samsung Image Rotator to newer dt-schema format. Signed-off-by: Maciej Falkowski Signed-off-by: Marek Szyprowski --- .../bindings/gpu/samsung-rotator.txt | 28 .../bindings/gpu/samsung-rotator.yaml | 45 +++ 2 files changed, 45

Re: [PATCH v1 1/2] iommu: pass cell_count = -1 to of_for_each_phandle with cells_name

2019-09-12 Thread Uwe Kleine-König
On Tue, Sep 03, 2019 at 02:52:10PM +0200, Joerg Roedel wrote: > On Sat, Aug 24, 2019 at 03:28:45PM +0200, Uwe Kleine-König wrote: > > Currently of_for_each_phandle ignores the cell_count parameter when a > > cells_name is given. I intend to change that and let the iterator fall > > back to a

Re: [RFC PATCH V3 4/5] platform: mtk-isp: Add Mediatek DIP driver

2019-09-12 Thread Tomasz Figa
On Thu, Sep 12, 2019 at 2:41 AM Frederic Chen wrote: > > Hi Tomasz, > > I appreciate your helpful comments. > > > On Tue, 2019-09-10 at 13:04 +0900, Tomasz Figa wrote: > > Hi Frederic, > > > > On Tue, Sep 10, 2019 at 4:23 AM wrote: > > > > > > From: Frederic Chen > > > > > > This patch adds the