Re: [PATCH v5 3/5] iommu: Add iommu_driver_get_domain_for_dev() helper
From: Nicolin Chen
Date: Tue Nov 18 2025 - 21:57:38 EST
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@xxxxxxxxxx/
> > 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