From: Vinod Koul <vkoul@kernel.org>
To: Eric Pilmore <epilmore@gigaio.com>
Cc: Sanju.Mehta@amd.com, dmaengine@vger.kernel.org
Subject: Re: [PATCH v2] dmaengine: ptdma: check for null desc before calling pt_cmd_callback
Date: Fri, 10 Feb 2023 14:27:09 +0530 [thread overview]
Message-ID: <Y+YG5QPxpjdjHlxA@matsya> (raw)
In-Reply-To: <20230210075142.58253-1-epilmore@gigaio.com>
On 09-02-23, 23:51, Eric Pilmore wrote:
> Resolves a panic that can occur on AMD systems, typically during host
> shutdown, after the PTDMA driver had been exercised. The issue was
> the pt_issue_pending() function is mistakenly assuming that there will
> be at least one descriptor in the Submitted queue when the function
> is called. However, it is possible that both the Submitted and Issued
> queues could be empty, which could result in pt_cmd_callback() being
> mistakenly called with a NULL pointer.
> Ref: Bugzilla Bug 216856.
Applied, thanks
--
~Vinod
prev parent reply other threads:[~2023-02-10 8:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-10 7:51 [PATCH v2] dmaengine: ptdma: check for null desc before calling pt_cmd_callback Eric Pilmore
2023-02-10 8:57 ` Vinod Koul [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=Y+YG5QPxpjdjHlxA@matsya \
--to=vkoul@kernel.org \
--cc=Sanju.Mehta@amd.com \
--cc=dmaengine@vger.kernel.org \
--cc=epilmore@gigaio.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox