On 2022-03-31 18:25:05 +0200, Thierry Reding wrote:
> On Fri, Feb 11, 2022 at 12:15:44AM +0100, Janne Grunau wrote:
> > On 2022-02-09 17:31:16 +0100, Thierry Reding wrote:
> > > On Sun, Feb 06, 2022 at 11:27:00PM +0100, Janne Grunau wrote:
> > > > On 2021-09-15 17:19:
ings.
They also come with mandatory sub-page protection now which we just
configure to always allow access to the entire page. This feature is
already present but optional on the previous DARTs which allows to
unconditionally configure it.
Signed-off-by: Sven Peter
Co-developed-by: Janne Grunau
Sig
From: Sven Peter
DART allows to only expose a subpage to the device. While this is an
optional feature on the M1 DARTs the new ones present on the Pro/Max
models require this field in every PTE.
Signed-off-by: Sven Peter
---
drivers/iommu/io-pgtable-arm.c | 10 ++
1 file changed, 10 in
From: Sven Peter
The M1 Max/Pro SoCs come with a new DART variant that is incompatible with
the previous one. Add a new compatible for those.
Signed-off-by: Sven Peter
Acked-by: Rob Herring
---
v2 changes:
- added Rob's Acked-by:
---
Documentation/devicetree/bindings/iommu/apple,dart.yaml |
Hej,
I've taken over this series to add support for DART on M1 Pro/Max from
Sven.
Since v1 we have discovered further differences in the PTE format. It
has four differences which makes it incompatible with the one in the
M1:
- the physical addresses are shifted left by 4 bits and and have 2 mo
: Sven Peter
Co-developed-by: Janne Grunau
Signed-off-by: Janne Grunau
---
Changes since v1:
- use APPLE_DART PTE format for dart-t6000
---
drivers/iommu/apple-dart.c | 24 +---
1 file changed, 21 insertions(+), 3 deletions(-)
diff --git a/drivers/iommu/apple-dart.c b/drivers
Hej,
I'm working on the display controller for Apple silicon SoCs and will
add some comments with support for it in mind.
added as...@lists.linux.dev to CC for the Apple silicon related aspects
On 2022-05-12 21:00:47 +0200, Thierry Reding wrote:
>
> this is another attempt at solving the probl
On 2022-05-12 21:00:48 +0200, Thierry Reding wrote:
> From: Thierry Reding
>
> This adds the "iommu-addresses" property to reserved-memory nodes, which
> allow describing the interaction of memory regions with IOMMUs. Two use-
> cases are supported:
>
> 1. Static mappings can be described by p
On 2022-05-12 21:00:49 +0200, Thierry Reding wrote:
> From: Thierry Reding
>
> This is an implementation that IOMMU drivers can use to obtain reserved
> memory regions from a device tree node. It uses the reserved-memory DT
> bindings to find the regions associated with a given device. If these
>
E_DART to its own io-pgtable implementation, copied from
io-pgtable-arm and simplified
Changes in v2:
- added Rob's Acked-by:
- add APPLE_DART2 io-pgtable format
Janne Grunau (1):
iommu/io-pgtable: Move Apple DART support to its own file
Sven Peter (4):
dt-bindings: iommu: dart: add t6
: Sven Peter
Co-developed-by: Janne Grunau
Signed-off-by: Janne Grunau
---
Changes in v3:
- apply change to io-pgtable-dart.c
Changes in v2:
- use APPLE_DART2 PTE format for dart-t6000
drivers/iommu/apple-dart.c | 24 +---
1 file changed, 21 insertions(+), 3 deletions(-)
diff
From: Sven Peter
DART allows to only expose a subpage to the device. While this is an
optional feature on the M1 DARTs the new ones present on the Pro/Max
models require this field in every PTE.
Signed-off-by: Sven Peter
Signed-off-by: Janne Grunau
---
Changes in v3:
- apply change to io
From: Sven Peter
The M1 Max/Pro SoCs come with a new DART variant that is incompatible with
the previous one. Add a new compatible for those.
Signed-off-by: Sven Peter
Acked-by: Rob Herring
Signed-off-by: Janne Grunau
---
(no changes since v2)
Changes in v2:
- added Rob's Ack
to the entire page. This feature is
already present but optional on the previous DARTs which allows to
unconditionally configure it.
Signed-off-by: Sven Peter
Co-developed-by: Janne Grunau
Signed-off-by: Janne Grunau
---
Changes in v3:
- apply change to io-pgtable-dart.c
- handle pte <>
without
support for huge pages.
Signed-off-by: Janne Grunau
---
Changes in v3:
- move APPLE_DART to its own io-pgtable implementation, copied from
io-pgtable-arm and simplified
Changes in v2:
- add APPLE_DART2 io-pgtable format
MAINTAINERS | 1 +
drivers/iommu/Kconfig
mmu/apple,dart.yaml | 4 +-
> drivers/iommu/apple-dart.c| 19 -
> drivers/iommu/io-pgtable-arm.c| 40 ++-
> include/linux/io-pgtable.h| 2 +
> 4 files changed, 61 insertions(+), 4 delet
On 2021-09-15 17:19:39 +0200, Thierry Reding wrote:
> On Tue, Sep 07, 2021 at 07:44:44PM +0200, Thierry Reding wrote:
> > On Tue, Sep 07, 2021 at 10:33:24AM -0500, Rob Herring wrote:
> > > On Fri, Sep 3, 2021 at 10:36 AM Thierry Reding
> > > wrote:
> > > >
> > > > On Fri, Sep 03, 2021 at 09:36:33
On 2022-02-09 17:31:16 +0100, Thierry Reding wrote:
> On Sun, Feb 06, 2022 at 11:27:00PM +0100, Janne Grunau wrote:
> > On 2021-09-15 17:19:39 +0200, Thierry Reding wrote:
> > > On Tue, Sep 07, 2021 at 07:44:44PM +0200, Thierry Reding wrote:
> > > > On Tue, Sep 07,
18 matches
Mail list logo