From: Joerg Roedel <joro@8bytes.org>
To: Jason Gunthorpe <jgg@ziepe.ca>
Cc: Lu Baolu <baolu.lu@linux.intel.com>,
Will Deacon <will@kernel.org>,
Robin Murphy <robin.murphy@arm.com>,
Vasant Hegde <vasant.hegde@amd.com>,
Chunyan Zhang <zhang.lyra@gmail.com>,
Sven Peter <sven@svenpeter.dev>,
iommu@lists.linux.dev, linux-kernel@vger.kernel.org,
Joerg Roedel <jroedel@suse.de>
Subject: Re: [PATCH] iommu/ipmmu-vmsa: Remove ipmmu_utlb_disable()
Date: Fri, 13 Jan 2023 22:29:09 +0100 [thread overview]
Message-ID: <Y8HNJfz9R1IidJPq@8bytes.org> (raw)
In-Reply-To: <Y8G06onFowE3ZIy8@ziepe.ca>
On Fri, Jan 13, 2023 at 03:45:46PM -0400, Jason Gunthorpe wrote:
> On Fri, Jan 13, 2023 at 08:25:17PM +0100, Joerg Roedel wrote:
> > In general it is a good idea to at least compile-test every file that is
> > changed in a patch-set before sending it out and not rely on 0-day bot
> > for that.
>
> Against every arch combination? This is why we have automation bots :(
No, not every combination. But if possible please compile-test each
changed file with a .config that pulls that source file in. Lots of
drivers can be enabled just with COMPILE_TEST on x86 or be catched with
a generic ARM/ARM64 config which enables all IOMMU drivers. PAMU is a
bit more difficult as it requires a PPC-32 bit config, but that is the
exception.
A full kernel build is usually also not necessary, often a 'make
drivers/iommu/' with a given config is enough.
That is also how I compile-test the IOMMU tree before I push changes
out. There are per-arch configurations which select all IOMMU drivers on
that arch. Only for X86 I do the full allnoconfig, defconfig,
allmodconfig and allyesconfig cycle (each for 32 and 64 bit).
That certainly does not catch everything, but a lot of compile issues can be
found that way. And for patch-sets only touching, for example, VT-d it
is still enough to only compile-test on x86. A patch-set touching that
much drivers is rather the exception.
Regards,
Joerg
next prev parent reply other threads:[~2023-01-13 21:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-13 18:56 [PATCH] iommu/ipmmu-vmsa: Remove ipmmu_utlb_disable() Joerg Roedel
2023-01-13 19:12 ` Jason Gunthorpe
2023-01-13 19:25 ` Joerg Roedel
2023-01-13 19:45 ` Jason Gunthorpe
2023-01-13 21:29 ` Joerg Roedel [this message]
2023-01-14 6:48 ` Baolu Lu
2023-01-14 6:44 ` Baolu Lu
2023-01-14 0:16 ` kernel test robot
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=Y8HNJfz9R1IidJPq@8bytes.org \
--to=joro@8bytes.org \
--cc=baolu.lu@linux.intel.com \
--cc=iommu@lists.linux.dev \
--cc=jgg@ziepe.ca \
--cc=jroedel@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=robin.murphy@arm.com \
--cc=sven@svenpeter.dev \
--cc=vasant.hegde@amd.com \
--cc=will@kernel.org \
--cc=zhang.lyra@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.