Re: [PATCH v5 3/5] iommu/io-pgtable: Add DART subpage protection support

From: Rob Herring
Date: Fri Sep 16 2022 - 07:57:47 EST


On Fri, Sep 16, 2022 at 4:43 AM Janne Grunau <j@xxxxxxxxxx> wrote:
>
> From: Sven Peter <sven@xxxxxxxxxxxxx>
>
> 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 <sven@xxxxxxxxxxxxx>
> Signed-off-by: Janne Grunau <j@xxxxxxxxxx>
>
> ---
>
> (no changes since v3)
>
> Changes in v3:
> - apply change to io-pgtable-dart.c
>
> drivers/iommu/io-pgtable-dart.c | 8 ++++++++
> 1 file changed, 8 insertions(+)

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>