Archive-only list for patches
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@nvidia.com>
To: Will Deacon <will@kernel.org>
Cc: iommu@lists.linux.dev, Joerg Roedel <joro@8bytes.org>,
	linux-arm-kernel@lists.infradead.org,
	Robin Murphy <robin.murphy@arm.com>,
	Thorsten Leemhuis <linux@leemhuis.info>,
	Michael Shavit <mshavit@google.com>,
	Nicolin Chen <nicolinc@nvidia.com>,
	patches@lists.linux.dev, arnd@arndb.de
Subject: Re: [PATCH] iommu/arm-smmu-v3: Make the kunit into a module
Date: Thu, 9 May 2024 12:40:32 -0300	[thread overview]
Message-ID: <20240509154032.GQ4650@nvidia.com> (raw)
In-Reply-To: <20240509152322.GA24667@willie-the-truck>

On Thu, May 09, 2024 at 04:23:22PM +0100, Will Deacon wrote:
> On Wed, May 08, 2024 at 03:04:23PM -0300, Jason Gunthorpe wrote:
> > On Wed, May 08, 2024 at 05:53:33PM +0100, Will Deacon wrote:
> > > On Tue, May 07, 2024 at 11:33:21AM -0300, Jason Gunthorpe wrote:
> > > > On Tue, May 07, 2024 at 03:22:48PM +0100, Will Deacon wrote:
> > > > > On Tue, May 07, 2024 at 11:09:46AM -0300, Jason Gunthorpe wrote:
> > > > > > On Tue, May 07, 2024 at 02:58:17PM +0100, Will Deacon wrote:
> > > The DRM_XE one is tristate and has this interesting variant:
> > > 
> > > 	depends on ... && (m || (y && KUNIT=y))
> > 
> > Yeah, that is one of the novel ways to write the 'compatible
> > modularity but not force enabled' check
> 
> Bah, and it looks like this has its own set of issues anyway:
> 
> https://lore.kernel.org/all/20240224121528.1972719-1-arnd@kernel.org/

:\

> > I suspect alot of these just predate the EXPORT_SYMBOL_IF_KUNIT
> > infrastructure and should probably just be moved into
> > modules.. modules clearly work better with kunit's ecosystem.
> 
> Fair enough. I'll suck it up given that this seems to be the new and
> improved way of dealing with this problem. I'm just a bit paranoid about
> exporting symbols (even within a namespace), probably thanks to my time
> working on Android.

Indeed, this is the primary reason I kept Michael's original
integration as non-modular and didn't want to do this when Mostafa
first suggested it.. kunit is new to me as well.

Thanks,
Jason

  reply	other threads:[~2024-05-09 15:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-07 13:21 [PATCH] iommu/arm-smmu-v3: Make the kunit into a module Jason Gunthorpe
2024-05-07 13:58 ` Will Deacon
2024-05-07 14:09   ` Jason Gunthorpe
2024-05-07 14:22     ` Will Deacon
2024-05-07 14:33       ` Jason Gunthorpe
2024-05-08 16:53         ` Will Deacon
2024-05-08 18:04           ` Jason Gunthorpe
2024-05-09 15:23             ` Will Deacon
2024-05-09 15:40               ` Jason Gunthorpe [this message]
2024-05-08 11:20 ` Thorsten Leemhuis
2024-05-10 11:05 ` Will Deacon
2024-05-10 12:27 ` Joerg Roedel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240509154032.GQ4650@nvidia.com \
    --to=jgg@nvidia.com \
    --cc=arnd@arndb.de \
    --cc=iommu@lists.linux.dev \
    --cc=joro@8bytes.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux@leemhuis.info \
    --cc=mshavit@google.com \
    --cc=nicolinc@nvidia.com \
    --cc=patches@lists.linux.dev \
    --cc=robin.murphy@arm.com \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox