[PATCH v5 3/5] iommu: Add iommu_driver_get_domain_for_dev() helper

Nicolin Chen nicolinc at nvidia.com
Tue Nov 18 18:57:23 PST 2025


On Wed, Nov 19, 2025 at 10:47:26AM +0800, Baolu Lu wrote:
> On 11/18/25 15:02, Nicolin Chen wrote:
> > For v6, I tend to keep this API as-is, trying not to give troubles
> > to existing callers. Jason suggested a potential followup series:
> > https://lore.kernel.org/linux-iommu/20250821131304.GM802098@nvidia.com/
> > That would replace this function, so maybe we can think about that.
> > 
> > If you have a strong feeling about the WARN_ON, please let me know.
> > 
> No strong feeling. I am fine with it because the comments have already
> stated that "This function can be called within a driver bound to dev.".

Ack. Thanks!

Nicolin



More information about the linux-arm-kernel mailing list