Re: [PATCH v4 7/8] iommu/arm-smmu-v3: Skip cd sync if CD table isn't active

From: Michael Shavit
Date: Mon Aug 07 2023 - 11:03:18 EST


On Sat, Aug 5, 2023 at 3:59 AM Nicolin Chen <nicolinc@xxxxxxxxxx> wrote:
>
> Before this chunk, there is another fork for "Bypass/fault", where
> we could set "installed" to false too, although it doesn't seem to
> cause a problem at this moment since arm_smmu_sync_cd() is called
> only in the context of an ARM_SMMU_DOMAIN_S1.

Oh, good catch; I didn't notice the return in that branch.
Fixing in v5.