Re: [PATCH v6 06/10] iommu/arm-smmu-v3: Move CD table to arm_smmu_master

From: Michael Shavit
Date: Thu Aug 17 2023 - 04:15:32 EST


On Thu, Aug 17, 2023 at 7:44 AM Nicolin Chen <nicolinc@xxxxxxxxxx> wrote:
>
> On Wed, Aug 16, 2023 at 09:18:46PM +0800, Michael Shavit wrote:
>
> > Also add the device to the devices list before writing the CD to the
> > table so that SVA is always aware of all the CD tables that need
> > re-writing when it updates a CD.
>
> Can you please elaborate this a bit more?

Yeah I can update the message. Something like:

Also add the device to the devices list before writing the CD to the
table so that SVA will know that the CD needs to be re-written to this
device's CD table as well if it decides to update the CD's ASID
concurrently with this function.