From: Marek Szyprowski <m.szyprowski@samsung.com>
To: Avi Weiss <thnkslprpt@gmail.com>, robin.murphy@arm.com
Cc: ailiop@suse.com, iommu@lists.linux.dev,
linux-kernel@vger.kernel.org, x86@kernel.org
Subject: Re: [PATCH v2 0/2] dma-debug: Avoid uninitialized mapping dumps
Date: Wed, 25 Nov 2026 09:59:56 +0100 [thread overview]
Message-ID: <513ec8b0-406f-41b2-98e7-7d0a6b45865e@samsung.com> (raw)
In-Reply-To: <cover.1795093513.git.thnkslprpt@gmail.com>
On 19.11.2026 14:13, Avi Weiss wrote:
> Booting with dma_debug=off leaves the DMA-debug hash buckets
> uninitialized, but the debugfs mapping dump is still registered.
> Reading dma-api/dump then traverses an uninitialized list and
> causes a NULL pointer dereference in dump_show().
>
> Patch 1 skips debugfs registration when DMA debugging was not
> initialized. Patch 2 removes the obsolete debug_dma_dump_mappings()
> helper and its only caller in the legacy AMD GART IOMMU code.
Applied to dma-mapping-for-next, thanks!
Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland
prev parent reply other threads:[~2026-11-25 8:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20261119131338eucas1p27f9133a1cd8163693686c18713518313@eucas1p2.samsung.com>
2026-11-19 13:13 ` Avi Weiss
2026-11-19 13:13 ` [PATCH v2 1/2] dma-debug: Skip debugfs registration when uninitialized Avi Weiss
2026-11-19 13:13 ` [PATCH v2 2/2] dma-debug: Remove obsolete mapping dump helper Avi Weiss
2026-11-25 8:59 ` Marek Szyprowski [this message]
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=513ec8b0-406f-41b2-98e7-7d0a6b45865e@samsung.com \
--to=m.szyprowski@samsung.com \
--cc=ailiop@suse.com \
--cc=iommu@lists.linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=robin.murphy@arm.com \
--cc=thnkslprpt@gmail.com \
--cc=x86@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
all inboxes | Powered by JetHome®