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

Michael Shavit mshavit at google.com
Mon Aug 7 08:02:36 PDT 2023


On Sat, Aug 5, 2023 at 3:59 AM Nicolin Chen <nicolinc at nvidia.com> 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.



More information about the linux-arm-kernel mailing list