DMA Engine development
 help / color / mirror / Atom feed
From: Kelvin Cao <kelvin.cao@microchip.com>
To: <vkoul@kernel.org>, <dmaengine@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>
Cc: <logang@deltatee.com>, <george.ge@microchip.com>,
	<christophe.jaillet@wanadoo.fr>
Subject: [PATCH v3 0/1] Switchtec Switch DMA Engine Driver
Date: Thu, 6 Apr 2023 14:03:22 -0700	[thread overview]
Message-ID: <20230406210323.1018163-1-kelvin.cao@microchip.com> (raw)

Hi,

This is v3 of the Switchtec Switch DMA Engine Driver, incorporating
changes for the v2 review comments.

v3 changes:
  - Remove some unnecessary memory/variable zeroing

v2 changes:
  - Move put_device(dma_dev->dev) before kfree(swdma_dev) as dma_dev is
    part of swdma_dev.
  - Convert dev_ print calls to pci_ print calls to make the use of
    print functions consistent within switchtec_dma_create().
  - Remove some dev_ print calls, which use device pointer as handles,
    to ensure there's no reference issue when the device is unbound.
  - Remove unused .driver_data from pci_device_id structure.

v1:
The following patch implements a DMAEngine driver to use the DMA
controller in Switchtec PSX/PFX switchtes. The DMA controller appears as
a PCI function on the switch upstream port. The DMA function can include
one or more DMA channels.

This patchset is based off of v6.3-rc1.

Kelvin Cao (1):
  dmaengine: switchtec-dma: Introduce Switchtec DMA engine PCI driver

 MAINTAINERS                 |    5 +
 drivers/dma/Kconfig         |    9 +
 drivers/dma/Makefile        |    1 +
 drivers/dma/switchtec_dma.c | 1730 +++++++++++++++++++++++++++++++++++
 4 files changed, 1745 insertions(+)
 create mode 100644 drivers/dma/switchtec_dma.c

-- 
2.25.1


             reply	other threads:[~2023-04-06 22:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-06 21:03 Kelvin Cao [this message]
2023-04-06 21:03 ` [PATCH v3 1/1] dmaengine: switchtec-dma: Introduce Switchtec DMA engine PCI driver Kelvin Cao
2023-04-12 17:03   ` Vinod Koul
2023-04-14 23:33     ` Kelvin.Cao

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=20230406210323.1018163-1-kelvin.cao@microchip.com \
    --to=kelvin.cao@microchip.com \
    --cc=christophe.jaillet@wanadoo.fr \
    --cc=dmaengine@vger.kernel.org \
    --cc=george.ge@microchip.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=logang@deltatee.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