Re: [PATCH V6 6/6] iommu/arm-smmu: Set privileged attribute to 'default' instead of 'unprivileged'

From: Will Deacon
Date: Tue Dec 06 2016 - 12:31:19 EST


On Fri, Dec 02, 2016 at 08:25:09PM +0530, Sricharan R wrote:
> Currently the driver sets all the device transactions privileges
> to UNPRIVILEGED, but there are cases where the iommu masters wants
> to isolate privileged supervisor and unprivileged user.
> So don't override the privileged setting to unprivileged, instead
> set it to default as incoming and let it be controlled by the pagetable
> settings.
>
> Signed-off-by: Sricharan R <sricharan@xxxxxxxxxxxxxx>

Acked-by: Will Deacon <will.deacon@xxxxxxx>

I'll let you and Robin sort out what you want to do with this series :)

Will