[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20251217135922.GE31492@ziepe.ca>
Date: Wed, 17 Dec 2025 09:59:22 -0400
From: Jason Gunthorpe <jgg@...pe.ca>
To: Mostafa Saleh <smostafa@...gle.com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
kvmarm@...ts.linux.dev, iommu@...ts.linux.dev,
catalin.marinas@....com, will@...nel.org, maz@...nel.org,
oliver.upton@...ux.dev, joey.gouly@....com, suzuki.poulose@....com,
yuzenghui@...wei.com, joro@...tes.org, jean-philippe@...aro.org,
praan@...gle.com, danielmentz@...gle.com, mark.rutland@....com,
qperret@...gle.com, tabba@...gle.com
Subject: Re: [PATCH v5 07/27] iommu/arm-smmu-v3: Move IDR parsing to common
functions
On Fri, Dec 12, 2025 at 03:42:15PM +0000, Mostafa Saleh wrote:
> 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@...gle.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.
Put them in a shared C file
Jason
Powered by blists - more mailing lists