[PATCH v7 05/11] iommu/arm-smmu-v3: Cache and restore MSI config

Nicolin Chen nicolinc at nvidia.com
Thu May 28 15:03:58 PDT 2026


On Thu, May 28, 2026 at 09:57:04PM +0000, Pranjal Shrivastava wrote:
> On Thu, May 28, 2026 at 11:36:06AM -0700, Nicolin Chen wrote:
> > On Wed, May 27, 2026 at 10:14:01PM +0000, Pranjal Shrivastava wrote:
> > > +	get_cached_msi_msg(irq, &msg);
> > 
> > I wonder if we could use __get_cached_msi_msg() since we got desc?
> 
> We could've (and that's a nice suggestion), but unfortunately it 
> (__get_cached_msi_msg) is not exported via EXPORT_SYMBOL_GPL() :(
> We could break modular builds as CONFIG_ARM_SMMU_V3 is tristate.
> 
> Let me know if you have a strong preference about exporting it, we can
> add a patch in the next versions.

Not necessary. I see all drivers use get_cached_msi_msg() too.

Nicolin



More information about the linux-arm-kernel mailing list