mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Bolle <pebolle@tiscali.nl>
To: Siva Yerramreddy <yshivakrishna@gmail.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Ashutosh Dixit <ashutosh.dixit@intel.com>,
	Nikhil Rao <nikhil.rao@intel.com>,
	Sudeep Dutt <sudeep.dutt@intel.com>,
	Dan Williams <dan.j.williams@intel.com>,
	linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org
Subject: Re: [PATCH char-misc-next v3 3/8] dma: MIC X100 DMA Driver
Date: Mon, 14 Jul 2014 10:07:23 +0200	[thread overview]
Message-ID: <1405325243.8281.7.camel@x220> (raw)
In-Reply-To: <5ece7b7320491521bbfc167517a50d2620ccc276.1405109402.git.sudeep.dutt@intel.com>

On Fri, 2014-07-11 at 14:04 -0700, Sudeep Dutt wrote:
> From: Siva Yerramreddy <yshivakrishna@gmail.com>
> 
> This patch implements DMA Engine API for DMA controller on MIC X100
> Coprocessors. DMA h/w is shared between host and card s/w.
> Channels 0 to 3 are used by host and 4 to 7 are used by card.
> Since the DMA device doesn't show up as PCIe device, a virtual bus called mic
> bus is created and virtual devices are added on that bus to follow device model.
> Allowed dma transfer directions are host to card, card to host and card to card.
> 
> Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
> Reviewed-by: Nikhil Rao <nikhil.rao@intel.com>
> Reviewed-by: Sudeep Dutt <sudeep.dutt@intel.com>
> Signed-off-by: Siva Yerramreddy <yshivakrishna@gmail.com>
> ---
>  drivers/dma/Kconfig        |  19 ++
>  drivers/dma/Makefile       |   1 +
>  drivers/dma/mic_x100_dma.c | 774 +++++++++++++++++++++++++++++++++++++++++++++
>  drivers/dma/mic_x100_dma.h | 286 +++++++++++++++++
>  4 files changed, 1080 insertions(+)
>  create mode 100644 drivers/dma/mic_x100_dma.c
>  create mode 100644 drivers/dma/mic_x100_dma.h

This patch was first included in linux-next in next-20140714.

> diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
> index 1eca7b9..7c8b8c4 100644
> --- a/drivers/dma/Kconfig
> +++ b/drivers/dma/Kconfig
> @@ -33,6 +33,25 @@ if DMADEVICES
>  
>  comment "DMA Devices"
>  
> +config INTEL_MIC_X100_DMA
> +	tristate "Intel MIC X100 DMA Driver"
> +	depends on 64BIT && X86 && INTEL_MIC_BUS
> +	select DMAENGINE

You probably meant
         select DMA_ENGINE

> +	default N

That should have been "default n". As (lowercase) "n" is the default
anyhow, that line might as well be dropped.

> +	help
> +	  This enables DMA support for the Intel Many Integrated Core
> +	  (MIC) family of PCIe form factor coprocessor X100 devices that
> +	  run a 64 bit Linux OS. This driver will be used by both MIC
> +	  host and card drivers.
> +
> +	  If you are building host kernel with a MIC device or a card
> +	  kernel for a MIC device, then say M (recommended) or Y, else
> +	  say N. If unsure say N.
> +
> +	  More information about the Intel MIC family as well as the Linux
> +	  OS and tools for MIC to use with this driver are available from
> +	  <http://software.intel.com/en-us/mic-developer>.
> +
>  config INTEL_MID_DMAC
>  	tristate "Intel MID DMA support for Peripheral DMA controllers"
>  	depends on PCI && X86

Should I submit the trivial, but untested, patch to fix this or do you
prefer to do that yourself?


Paul Bolle


  reply	other threads:[~2014-07-14  8:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-11 21:04 [PATCH char-misc-next v3 0/8] Enable dma driver for MIC X100 Coprocessors Sudeep Dutt
2014-07-11 21:04 ` [PATCH char-misc-next v3 1/8] misc: mic: Add mic bus and dma driver documentation Sudeep Dutt
2014-07-11 21:04 ` [PATCH char-misc-next v3 2/8] misc: mic: add a bus driver for virtual MIC devices Sudeep Dutt
2014-07-12  1:27   ` Greg Kroah-Hartman
2014-07-12  1:31     ` Greg Kroah-Hartman
2014-07-12  6:49       ` Sudeep Dutt
2014-07-12 16:58         ` Greg Kroah-Hartman
2014-07-11 21:04 ` [PATCH char-misc-next v3 3/8] dma: MIC X100 DMA Driver Sudeep Dutt
2014-07-14  8:07   ` Paul Bolle [this message]
2014-07-14 14:46     ` Greg Kroah-Hartman
2014-07-11 21:04 ` [PATCH char-misc-next v3 4/8] misc: mic: add threaded irq support in host driver Sudeep Dutt
2014-07-11 21:04 ` [PATCH char-misc-next v3 5/8] misc: mic: add dma " Sudeep Dutt
2014-07-11 21:04 ` [PATCH char-misc-next v3 6/8] misc: mic: add threaded irq support in card driver Sudeep Dutt
2014-07-11 21:04 ` [PATCH char-misc-next v3 7/8] misc: mic: add dma " Sudeep Dutt
2014-07-11 21:04 ` [PATCH char-misc-next v3 8/8] misc: mic: add support for loading/unloading dma driver Sudeep Dutt

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=1405325243.8281.7.camel@x220 \
    --to=pebolle@tiscali.nl \
    --cc=ashutosh.dixit@intel.com \
    --cc=dan.j.williams@intel.com \
    --cc=dmaengine@vger.kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nikhil.rao@intel.com \
    --cc=sudeep.dutt@intel.com \
    --cc=yshivakrishna@gmail.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

Powered by JetHome