From: Vincent Whitchurch <vincent.whitchurch@axis.com>
To: Vinod Koul <vkoul@kernel.org>
Cc: <dmaengine@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<kernel@axis.com>,
Vincent Whitchurch <vincent.whitchurch@axis.com>
Subject: [PATCH 0/2] dmaengine: Use-after-free fix and dummy DMAC
Date: Mon, 17 Jul 2023 15:08:39 +0200 [thread overview]
Message-ID: <20230717-dummy-dmac-v1-0-24348b6fb56b@axis.com> (raw)
This series has a fix for a use-after-free in the DMA engine framework
and adds a dummy CPU-based "DMA" controller driver which can be used for
testing the DMA engine framework and clients on systems without a real
DMA engine, such as under KVM.
---
Vincent Whitchurch (2):
dmaengine: Fix use-after-free on release
dmaengine: Add dummy DMA controller driver
drivers/dma/Kconfig | 14 +++
drivers/dma/Makefile | 1 +
drivers/dma/dmaengine.c | 30 ++++--
drivers/dma/dummy-dmac.c | 258 +++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 294 insertions(+), 9 deletions(-)
---
base-commit: fdf0eaf11452d72945af31804e2a1048ee1b574c
change-id: 20230717-dummy-dmac-9a2e7e3ddb29
Best regards,
--
Vincent Whitchurch <vincent.whitchurch@axis.com>
next reply other threads:[~2023-07-17 13:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-17 13:08 Vincent Whitchurch [this message]
2023-07-17 13:08 ` [PATCH 1/2] dmaengine: Fix use-after-free on release Vincent Whitchurch
2023-07-17 13:08 ` [PATCH 2/2] dmaengine: Add dummy DMA controller driver Vincent Whitchurch
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=20230717-dummy-dmac-v1-0-24348b6fb56b@axis.com \
--to=vincent.whitchurch@axis.com \
--cc=dmaengine@vger.kernel.org \
--cc=kernel@axis.com \
--cc=linux-kernel@vger.kernel.org \
--cc=vkoul@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®