dmaengine.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Barry Song <song.bao.hua@hisilicon.com>
To: <vkoul@kernel.org>, <dmaengine@vger.kernel.org>
Cc: <linuxarm@huawei.com>, Barry Song <song.bao.hua@hisilicon.com>
Subject: [PATCH v2 00/10] dmaengine: a bundle of cleanup on spin_lock_irqsave/irqrestore
Date: Wed, 28 Oct 2020 10:52:42 +1300	[thread overview]
Message-ID: <20201027215252.25820-1-song.bao.hua@hisilicon.com> (raw)

Running in hardIRQ, disabling IRQ is redundant since hardIRQ has disabled
IRQ. This patch removes the irqsave and irqstore to save some instruction
cycles.

-v2:
  add acked-by;
  refine commit log;

Barry Song (10):
  dmaengine: ipu_idmac: remove redundant irqsave and restore in hardIRQ
  dmaengine: ti: k3-udma: remove redundant irqsave and irqrestore in
    hardIRQ
  dmaengine: sf-pdma: remove redundant irqsave and irqrestore in hardIRQ
  dmaengine: tegra210-adma: remove redundant irqsave and irqrestore in
    hardIRQ
  dmaengine: milbeaut-xdmac: remove redundant irqsave and irqrestore in
    hardIRQ
  dmaengine: k3dma: remove redundant irqsave and irqrestore in hardIRQ
  dmaengine: hisi_dma: remove redundant irqsave and irqrestore in
    hardIRQ
  dmaengine: moxart-dma: remove redundant irqsave and irqrestore in
    hardIRQ
  dmaengine: ste_dma40: remove redundant irqsave and irqrestore in
    hardIRQ
  dmaengine: pxa_dma: remove redundant irqsave and irqrestore in hardIRQ

 drivers/dma/hisi_dma.c        |  5 ++---
 drivers/dma/ipu/ipu_idmac.c   | 11 +++++------
 drivers/dma/k3dma.c           |  9 ++++-----
 drivers/dma/milbeaut-xdmac.c  |  5 ++---
 drivers/dma/moxart-dma.c      |  5 ++---
 drivers/dma/pxa_dma.c         |  5 ++---
 drivers/dma/sf-pdma/sf-pdma.c | 10 ++++------
 drivers/dma/ste_dma40.c       |  5 ++---
 drivers/dma/tegra210-adma.c   |  7 +++----
 drivers/dma/ti/k3-udma.c      | 10 ++++------
 10 files changed, 30 insertions(+), 42 deletions(-)

-- 
2.25.1


             reply	other threads:[~2020-10-27 21:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-27 21:52 Barry Song [this message]
2020-10-27 21:52 ` [PATCH v2 01/10] dmaengine: ipu_idmac: remove redundant irqsave and restore in hardIRQ Barry Song
2020-10-27 21:52 ` [PATCH v2 02/10] dmaengine: ti: k3-udma: remove redundant irqsave and irqrestore " Barry Song
2020-10-27 21:52 ` [PATCH v2 03/10] dmaengine: sf-pdma: " Barry Song
2020-10-27 21:52 ` [PATCH v2 04/10] dmaengine: tegra210-adma: " Barry Song
2020-10-27 21:52 ` [PATCH v2 05/10] dmaengine: milbeaut-xdmac: " Barry Song
2020-10-27 21:52 ` [PATCH v2 06/10] dmaengine: k3dma: " Barry Song
2020-10-27 21:52 ` [PATCH v2 07/10] dmaengine: hisi_dma: " Barry Song
2020-10-27 21:52 ` [PATCH v2 08/10] dmaengine: moxart-dma: " Barry Song
2020-10-27 21:52 ` [PATCH v2 09/10] dmaengine: ste_dma40: " Barry Song
2020-11-05 13:48   ` Linus Walleij
2020-10-27 21:52 ` [PATCH v2 10/10] dmaengine: pxa_dma: " Barry Song
2020-11-09 11:56 ` [PATCH v2 00/10] dmaengine: a bundle of cleanup on spin_lock_irqsave/irqrestore 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=20201027215252.25820-1-song.bao.hua@hisilicon.com \
    --to=song.bao.hua@hisilicon.com \
    --cc=dmaengine@vger.kernel.org \
    --cc=linuxarm@huawei.com \
    --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;
as well as URLs for NNTP newsgroup(s).