qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] hw/arm/smmuv3: Pass the actual perm to returned IOMMUTLBE


From: Peter Maydell
Subject: Re: [PATCH v2] hw/arm/smmuv3: Pass the actual perm to returned IOMMUTLBEntry in smmuv3_translate()
Date: Fri, 22 Apr 2022 10:19:40 +0100

On Sat, 16 Apr 2022 at 08:46, chenxiang via <qemu-devel@nongnu.org> wrote:
>
> From: Xiang Chen <chenxiang66@hisilicon.com>
>
> It always calls the IOMMU MR translate() callback with flag=IOMMU_NONE in
> memory_region_iommu_replay(). Currently, smmuv3_translate() return an
> IOMMUTLBEntry with perm set to IOMMU_NONE even if the translation success,
> whereas it is expected to return the actual permission set in the table
> entry.
> So pass the actual perm to returned IOMMUTLBEntry in the table entry.
>
> Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
> Reviewed-by: Eric Auger <eric.auger@redhat.com>
> ---



Applied to target-arm.next, thanks.

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]