Re: [PATCH v9 07/12] iommu/arm-smmu-v3-kexec: Add ASID/VMID reservation helpers

Jason Gunthorpe <[email protected]>
Newsgroups dev.linux.lists.iommu,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Sat, Aug 22, 2026 at 11:51:58AM -0700, Nicolin Chen wrote:
> On Fri, Aug 21, 2026 at 08:15:26PM -0300, Jason Gunthorpe wrote:
> > > +/**
> > > + * arm_smmu_kexec_unresv_ids() - Roll back a failing reservation scan
> > > + * @smmu: SMMU device of this kernel that failed its reservation scan
> > 
> > And wouldn't need this either.
> > 
> > Actually I think this is overkill regardless, just leave the xarray with ASIDs
> > reserved. Who cares?
> 
> ASID might be 8-bit that would have limited ASID slots. And it's
> a quite small step, so I think it might be worth keeping it.

Once you have it per smmu just clear the entire xarray on some
failure

Jason
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.