[PATCH v5 07/27] iommu/arm-smmu-v3: Move IDR parsing to common functions
Mostafa Saleh
smostafa at google.com
Fri Dec 12 07:42:15 PST 2025
On Fri, Nov 28, 2025 at 12:48:16PM -0400, Jason Gunthorpe wrote:
> On Mon, Nov 17, 2025 at 06:47:54PM +0000, Mostafa Saleh wrote:
> > Move parsing of IDRs to functions so that it can be re-used
> > from the hypervisor.
> >
> > Signed-off-by: Mostafa Saleh <smostafa at google.com>
> > ---
> > drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 112 +++-----------------
> > drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h | 111 +++++++++++++++++++
> > 2 files changed, 126 insertions(+), 97 deletions(-)
>
> I don't see that this slow path stuff needs to be inlined?
>
> +10 to my prior remark to not dump all the huge inlines in the main
> header.
They are inline as they are defined in the header file, otherwise they
get defined multiple times.
I am ok with adding a new common file.
Thanks,
Mostafa
>
> Jason
More information about the linux-arm-kernel
mailing list