All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zhangfei Gao <zhangfei.gao@linaro.org>
To: Qiao Zhou <zhouqiao@marvell.com>
Cc: "Williams, Dan J" <dan.j.williams@intel.com>,
	Vinod Koul <vinod.koul@intel.com>,
	"dmaengine@vger.kernel.org" <dmaengine@vger.kernel.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] dma: mmp-pdma: fix irq handler overwrite physical chan issue
Date: Fri, 6 Feb 2015 13:27:41 +0800	[thread overview]
Message-ID: <CABQgh9GHPLFDkdo+5DNhDynFj9LEJXOpMAQEQDVm_fCCW2512w@mail.gmail.com> (raw)
In-Reply-To: <1423030563-2090-1-git-send-email-zhouqiao@marvell.com>

On 4 February 2015 at 14:16, Qiao Zhou <zhouqiao@marvell.com> wrote:
> Some dma channels may be reserved for other purpose in other layer,
> like secure driver in EL2/EL3. PDMA driver can see the interrupt
> status, but it should not try to handle related interrupt, since it
> doesn't belong to PDMA driver in kernel. These interrupts should be
> handled by corresponding client/module.Otherwise, it will overwrite
> illegal memory and cause unexpected issues, since pdma driver only
> requests resources for pdma channels.
>
> In PDMA driver, the reserved channels are at the end of total 32
> channels. If we find interrupt bit index is not smaller than total
> dma channels, we should ignore it.
>
> Signed-off-by: Qiao Zhou <zhouqiao@marvell.com>

Acked-by: Zhangfei Gao <zhangfei.gao@linaro.org>

Thanks for the patch.

  reply	other threads:[~2015-02-06  5:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-04  6:16 [PATCH] dma: mmp-pdma: fix irq handler overwrite physical chan issue Qiao Zhou
2015-02-06  5:27 ` Zhangfei Gao [this message]
2015-02-23 11:23 ` Vinod Koul

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=CABQgh9GHPLFDkdo+5DNhDynFj9LEJXOpMAQEQDVm_fCCW2512w@mail.gmail.com \
    --to=zhangfei.gao@linaro.org \
    --cc=dan.j.williams@intel.com \
    --cc=dmaengine@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vinod.koul@intel.com \
    --cc=zhouqiao@marvell.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.