[PATCH v2 16/27] iommu/arm-smmu-v3: Keep track of valid CD entries in the cd_table
Jason Gunthorpe
jgg at nvidia.com
Mon Nov 6 04:26:46 PST 2023
On Mon, Nov 06, 2023 at 05:02:59PM +0800, Michael Shavit wrote:
> On Thu, Nov 2, 2023 at 7:37 AM Jason Gunthorpe <jgg at nvidia.com> wrote:
> >
> > We no longer need a master->sva_enable to control what attaches are
> > allowed.
>
> Doesn't it also guard against attaching a domain before
> arm_smmu_master_sva_enable_iopf is called? Is the idea here to allow
> attaching SVA domains independently of whether it will be functional
> or not?
Yes, at this point. Lu has a series that will let us remove
arm_smmu_master_sva_enable_iopf() and put it in domain attach where it
belongs.
Jason
More information about the linux-arm-kernel
mailing list