[PATCH v4 20/27] iommu: Add ops->domain_alloc_sva()
Jason Gunthorpe
jgg at nvidia.com
Tue Feb 20 06:09:39 PST 2024
On Mon, Feb 19, 2024 at 02:47:31PM -0800, Daniel Mentz wrote:
> On Fri, Jan 26, 2024 at 10:15 AM Jason Gunthorpe <jgg at nvidia.com> wrote:
> > --- a/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c
> > +++ b/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c
> > @@ -654,7 +654,7 @@ static int arm_smmu_sva_set_dev_pasid(struct iommu_domain *domain,
> >
> > static void arm_smmu_sva_domain_free(struct iommu_domain *domain)
> > {
> > - kfree(domain);
> > + kfree(to_smmu_domain(domain));
> > }
>
> I'm wondering if this particular change belongs into the other change
> with title "iommu/arm-smmu-v3: Make SVA allocate a normal
> arm_smmu_domain"
Yes, you are right. I think it is a rebasing error..
Thanks,
Jason
More information about the linux-arm-kernel
mailing list