Re: [PATCH v4 5/5] iommu: Hide ops.domain_alloc behind CONFIG_FSL_PAMU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 10, 2025 at 05:57:44AM +0000, Tian, Kevin wrote:
> > From: Jason Gunthorpe <jgg@xxxxxxxxxx>
> > Sent: Wednesday, April 9, 2025 12:36 AM
> > 
> > +#if IS_ENABLED(CONFIG_FSL_PAMU)
> >  	struct iommu_domain *(*domain_alloc)(unsigned
> > iommu_domain_type);
> > +#endif
> 
> what about directly calling it as domain_alloc_fsl(), given no
> more drivers can support it?

That would be good, but I'd want to change all the call sites too, and
I'm not sure how to reliably find them...

Jason




[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux