[PATCH v3 05/13] iommupt/kunit: Skip test configs without supported features
Nicolin Chen
nicolinc at nvidia.com
Wed Nov 25 21:00:26 PST 2026
On Tue, Nov 24, 2026 at 04:07:49PM -0400, Jason Gunthorpe wrote:
> On Tue, Nov 24, 2026 at 11:08:52AM -0800, Nicolin Chen wrote:
> > On Tue, Nov 24, 2026 at 11:08:43AM -0400, Jason Gunthorpe wrote:
> > > On Mon, Nov 23, 2026 at 09:29:52PM -0800, Nicolin Chen wrote:
> > >
> > > > The leak check reads NR_SECONDARY_PAGETABLE with global_node_page_state().
> > > > That only returns the global counter. Each CPU also keeps a small delta of
> > > > page updates that is folded into the global counter only after it exceeds
> > > > a threshold. So the value can be off by a few pages without any leak.
> > >
> > > There is a patch already in my tree to deal with this, this test only
> > > works when you use the kunit runner
> >
> > 6e8127719449e kunit: tool: catch warnings generated by the kernel
> >
> > You mean this one? It doesn't fix the leak-check failure though.
>
> Sorry, not my tree, Joerg picked it up:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/iommu/linux.git/commit/?id=d2eba9f4fa6319eac08608958d4f3a11d5240002
That one works. Kunit runs fine with it.
Thanks
Nicolin
More information about the linux-arm-kernel
mailing list