From: Vinod Koul <vinod.koul@intel.com>
To: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Russell King - ARM Linux <linux@arm.linux.org.uk>,
Andy Shevchenko <andriy.shevchenko@linux.jf.intel.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Viresh Kumar <viresh.linux@gmail.com>,
Dan Williams <dan.j.williams@intel.com>
Subject: Re: [PATCH 30/51] DMA-API: dma: dw_dmac.c: convert to use dma_coerce_mask_and_coherent()
Date: Mon, 23 Sep 2013 16:12:36 +0530 [thread overview]
Message-ID: <20130923104236.GJ17188@intel.com> (raw)
In-Reply-To: <CAHp75VdviE_FpEHub=W=f3reb6Dd2VVxtRkd_kYw5XC3772cTQ@mail.gmail.com>
On Fri, Sep 20, 2013 at 06:26:16PM +0300, Andy Shevchenko wrote:
> On Fri, Sep 20, 2013 at 5:40 PM, Russell King - ARM Linux
> <linux@arm.linux.org.uk> wrote:
> > On Fri, Sep 20, 2013 at 05:26:46PM +0300, Andy Shevchenko wrote:
> >> On Thu, 2013-09-19 at 22:55 +0100, Russell King wrote:
> >> > This code sequence:
> >> > if (!pdev->dev.dma_mask) {
> >> > pdev->dev.dma_mask = &pdev->dev.coherent_dma_mask;
> >> > pdev->dev.coherent_dma_mask = DMA_BIT_MASK(32);
> >> > }
> >> > bypasses the architectures check on the DMA mask. It can be replaced
> >> > with dma_coerce_mask_and_coherent(), avoiding the direct initialization
> >> > of this mask.
> >> >
> >> > Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
> >> > ---
> >> > drivers/dma/dw/platform.c | 8 +++-----
> >> > 1 files changed, 3 insertions(+), 5 deletions(-)
> >> >
> >> > diff --git a/drivers/dma/dw/platform.c b/drivers/dma/dw/platform.c
> >> > index e35d975..453822c 100644
> >> > --- a/drivers/dma/dw/platform.c
> >> > +++ b/drivers/dma/dw/platform.c
> >> > @@ -191,11 +191,9 @@ static int dw_probe(struct platform_device *pdev)
> >> > if (IS_ERR(chip->regs))
> >> > return PTR_ERR(chip->regs);
> >> >
> >> > - /* Apply default dma_mask if needed */
> >> > - if (!dev->dma_mask) {
> >> > - dev->dma_mask = &dev->coherent_dma_mask;
> >> > - dev->coherent_dma_mask = DMA_BIT_MASK(32);
> >> > - }
> >> > + err = dma_coerce_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32));
> >> > + if (err)
> >> > + return err;
> >>
> >> I have at least one question.
> >>
> >> In case of new code you always assign dev->dma_mask.
> >>
> >> static inline int dma_coerce_mask_and_coherent(struct device *dev, u64
> >> mask)
> >> {
> >> dev->dma_mask = &dev->coherent_dma_mask;
> >> return dma_set_mask_and_coherent(dev, mask);
> >> }
> >>
> >> So, the question is how keep the initialized dma_mask (and should we do
> >> so by your opinion)?
> >
> > Well, the way the DMA mask stuff is supposed to operate is:
> >
> > - The device creator initializes the DMA mask to some default value.
> > - The driver then uses dma_set_mask() / dma_set_coherent_mask() /
> > dma_set_mask_and_coherent() to adjust the mask according to the
> > capabilities of the device, *even* if the mask is the same as the
> > default.
> >
> > This is specified in the various DMA API documents.
> >
> > So, in PCI land, it works like this:
> > - When a PCI device is created, it has its mask set to 32-bit.
> > - When a driver comes along
> > - if the device is capable of 64-bit addressing, it tries to set a
> > 64-bit mask. If this fails, it tries to set a 32-bit mask and
> > turns off 64-bit DMA.
> > - if a device is not capable of 32-bit addressing but of a smaller
> > space (there are some PCI devices which can only do 31-bit) then
> > it tries to set that mask.
> > If the driver can't successfully set a mask, it should fail to
> > initialise.
> >
>
> Thanks for explanation.
>
> > This is where we should be headed with all drivers, and I would welcome
> > a patch for this driver to make it conform wrt the DMA API and DMA masks
> > in place of this patch.
>
> I see.
>
> > Think of the coerse stuff as a middle-step to bring these types of issues
> > up to the fore.
>
> I will check your patches on next week, though I think it will neglect
> dma_mask set by PCI part of the code in PCI case of the driver.
>
> Well, there are a lot of drivers that are designed like:
> - core part as library *or* separate driver
> - platform driver
> - pci driver
> - acpi driver
> - ... whatever bus driver for this device
>
> Core part doesn't know what the upper layer (bus layer) sets, and
> approaches to set that may differ from bus to bus (e.g. PCI vs. ACPI
> ).
> So, ACPI could set the proper values from its own guts and in core
> driver we have to respect those values.
>
> Tioday is Friday, and I'm too lazy now to think a bit how this could
> be solved in case of your helper involved.
okay its monday now :)
for dw_dmac where you have core part and platform part, since the capablties of
the *device* are known to the core part, IMO it is the job of core to set the
correct value as Russell described.
The platform or device creator may have set somthing else but when driver loads
in the core part of you understand the device and should reset the values...
~Vinod
--
next prev parent reply other threads:[~2013-09-23 11:33 UTC|newest]
Thread overview: 488+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-19 21:22 [PATCH 00/51] DMA mask changes Russell King - ARM Linux
2013-09-19 21:22 ` Russell King - ARM Linux
2013-09-19 21:22 ` Russell King - ARM Linux
2013-09-19 21:22 ` Russell King - ARM Linux
2013-09-19 21:25 ` [PATCH 01/51] DMA-API: provide a helper to set both DMA and coherent DMA masks Russell King
2013-09-19 21:25 ` Russell King
2013-09-19 21:25 ` Russell King
2013-09-19 21:25 ` Russell King
2013-09-19 21:25 ` Russell King
2013-09-20 1:21 ` Ben Hutchings
2013-09-20 1:21 ` Ben Hutchings
2013-09-20 1:21 ` Ben Hutchings
2013-09-20 1:21 ` Ben Hutchings
2013-09-20 1:21 ` Ben Hutchings
2013-09-20 1:21 ` Ben Hutchings
2013-09-20 1:21 ` Ben Hutchings
2013-09-20 1:21 ` Ben Hutchings
2013-09-20 14:12 ` Russell King - ARM Linux
2013-09-20 14:12 ` Russell King - ARM Linux
2013-09-20 14:12 ` Russell King - ARM Linux
2013-09-20 14:12 ` Russell King - ARM Linux
2013-09-20 14:12 ` Russell King - ARM Linux
2013-09-20 14:12 ` Russell King - ARM Linux
2013-09-20 14:12 ` Russell King - ARM Linux
2013-09-19 21:26 ` [PATCH 02/51] DMA-API: net: brocade/bna/bnad.c: fix 32-bit DMA mask handling Russell King
2013-09-19 21:26 ` Russell King
2013-09-19 21:26 ` Russell King
2013-09-19 21:26 ` Russell King
2013-09-19 21:27 ` [PATCH 03/51] DMA-API: net: intel/e1000e: " Russell King
2013-09-19 21:27 ` Russell King
2013-09-19 21:27 ` Russell King
2013-09-19 21:27 ` Russell King
2013-09-20 19:48 ` Jeff Kirsher
2013-09-20 19:48 ` Jeff Kirsher
2013-09-20 19:48 ` Jeff Kirsher
[not found] ` <20130919212235.GD12758-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2013-09-19 21:28 ` [PATCH 04/51] DMA-API: net: intel/igb: " Russell King
2013-09-19 21:28 ` Russell King
2013-09-19 21:28 ` Russell King
2013-09-19 21:28 ` Russell King
2013-09-19 21:28 ` Russell King
2013-09-20 19:49 ` Jeff Kirsher
2013-09-20 19:49 ` Jeff Kirsher
2013-09-20 19:49 ` Jeff Kirsher
2013-09-19 21:29 ` [PATCH 05/51] DMA-API: net: intel/igbvf: " Russell King
2013-09-19 21:29 ` Russell King
2013-09-19 21:29 ` Russell King
2013-09-19 21:29 ` Russell King
2013-09-19 21:29 ` Russell King
2013-09-20 19:49 ` Jeff Kirsher
2013-09-20 19:49 ` Jeff Kirsher
2013-09-20 19:49 ` Jeff Kirsher
2013-09-19 21:32 ` [PATCH 08/51] DMA-API: net: intel/ixgbevf: " Russell King
2013-09-19 21:32 ` Russell King
2013-09-19 21:32 ` Russell King
2013-09-19 21:32 ` Russell King
2013-09-19 21:32 ` Russell King
2013-09-20 19:51 ` Jeff Kirsher
2013-09-20 19:51 ` Jeff Kirsher
2013-09-20 19:51 ` Jeff Kirsher
2013-09-19 21:30 ` [PATCH 06/51] DMA-API: net: intel/ixgb: " Russell King
2013-09-19 21:30 ` Russell King
2013-09-19 21:30 ` Russell King
2013-09-19 21:30 ` Russell King
2013-09-20 19:50 ` Jeff Kirsher
2013-09-20 19:50 ` Jeff Kirsher
2013-09-20 19:50 ` Jeff Kirsher
2013-09-19 21:31 ` [PATCH 07/51] DMA-API: net: intel/ixgbe: " Russell King
2013-09-19 21:31 ` Russell King
2013-09-19 21:31 ` Russell King
2013-09-19 21:31 ` Russell King
2013-09-20 19:51 ` Jeff Kirsher
2013-09-20 19:51 ` Jeff Kirsher
2013-09-20 19:51 ` Jeff Kirsher
2013-09-19 21:33 ` [PATCH 09/51] DMA-API: net: broadcom/b44: replace dma_set_mask()+dma_set_coherent_mask() with new helper Russell King
2013-09-19 21:33 ` Russell King
2013-09-19 21:33 ` Russell King
2013-09-19 21:33 ` Russell King
2013-09-19 21:33 ` [PATCH 09/51] DMA-API: net: broadcom/b44: replace dma_set_mask()+dma_set_coherent_mask() with new Russell King
2013-09-19 21:33 ` [PATCH 09/51] DMA-API: net: broadcom/b44: replace dma_set_mask()+dma_set_coherent_mask() with new helper Russell King
2013-09-19 21:34 ` [PATCH 10/51] DMA-API: net: broadcom/bnx2x: " Russell King
2013-09-19 21:34 ` Russell King
2013-09-19 21:34 ` Russell King
2013-09-19 21:34 ` [PATCH 10/51] DMA-API: net: broadcom/bnx2x: replace dma_set_mask()+dma_set_coherent_mask() with new Russell King
2013-09-19 21:36 ` [PATCH 11/51] DMA-API: net: emulex/benet: replace dma_set_mask()+dma_set_coherent_mask() with new helper Russell King
2013-09-19 21:36 ` Russell King
2013-09-19 21:36 ` Russell King
2013-09-19 21:36 ` Russell King
2013-09-19 21:36 ` [PATCH 11/51] DMA-API: net: emulex/benet: replace dma_set_mask()+dma_set_coherent_mask() with new Russell King
2013-09-19 21:36 ` [PATCH 11/51] DMA-API: net: emulex/benet: replace dma_set_mask()+dma_set_coherent_mask() with new helper Russell King
2013-09-19 21:37 ` [PATCH 12/51] DMA-API: net: intel/e1000: " Russell King
2013-09-19 21:37 ` Russell King
2013-09-19 21:37 ` Russell King
2013-09-19 21:37 ` [PATCH 12/51] DMA-API: net: intel/e1000: replace dma_set_mask()+dma_set_coherent_mask() with new Russell King
2013-09-20 19:45 ` [PATCH 12/51] DMA-API: net: intel/e1000: replace dma_set_mask()+dma_set_coherent_mask() with new helper Jeff Kirsher
2013-09-20 19:45 ` Jeff Kirsher
2013-09-20 19:45 ` Jeff Kirsher
2013-09-19 21:38 ` [PATCH 13/51] DMA-API: net: sfc/efx.c: " Russell King
2013-09-19 21:38 ` Russell King
2013-09-19 21:38 ` Russell King
2013-09-19 21:38 ` [PATCH 13/51] DMA-API: net: sfc/efx.c: replace dma_set_mask()+dma_set_coherent_mask() with new Russell King
2013-09-20 13:55 ` [PATCH 13/51] DMA-API: net: sfc/efx.c: replace dma_set_mask()+dma_set_coherent_mask() with new helper Ben Hutchings
2013-09-21 19:50 ` Russell King - ARM Linux
2013-09-19 21:39 ` [PATCH 14/51] DMA-API: net: b43: " Russell King
2013-09-19 21:39 ` Russell King
2013-09-19 21:39 ` Russell King
2013-09-19 21:39 ` Russell King
2013-09-19 21:39 ` Russell King
2013-09-19 21:39 ` [PATCH 14/51] DMA-API: net: b43: replace dma_set_mask()+dma_set_coherent_mask() with new Russell King
2013-09-19 21:40 ` [PATCH 15/51] DMA-API: net: b43legacy: replace dma_set_mask()+dma_set_coherent_mask() with new helper Russell King
2013-09-19 21:40 ` Russell King
2013-09-19 21:40 ` Russell King
2013-09-19 21:40 ` Russell King
2013-09-19 21:40 ` Russell King
2013-09-19 21:40 ` [PATCH 15/51] DMA-API: net: b43legacy: replace dma_set_mask()+dma_set_coherent_mask() with new Russell King
2013-09-19 21:41 ` [PATCH 16/51] DMA-API: ppc: vio.c: replace dma_set_mask()+dma_set_coherent_mask() with new helper Russell King
2013-09-19 21:41 ` Russell King
2013-09-19 21:41 ` Russell King
2013-09-19 21:41 ` Russell King
2013-09-19 21:41 ` [PATCH 16/51] DMA-API: ppc: vio.c: replace dma_set_mask()+dma_set_coherent_mask() with new Russell King
2013-11-15 16:16 ` [PATCH 16/51] DMA-API: ppc: vio.c: replace dma_set_mask()+dma_set_coherent_mask() with new helper Cedric Le Goater
2013-11-15 16:16 ` Cedric Le Goater
2013-11-15 16:16 ` Cedric Le Goater
2013-11-15 16:16 ` Cedric Le Goater
2013-11-15 16:16 ` [PATCH 16/51] DMA-API: ppc: vio.c: replace dma_set_mask()+dma_set_coherent_mask() with new helpe Cedric Le Goater
2013-11-15 16:16 ` [PATCH 16/51] DMA-API: ppc: vio.c: replace dma_set_mask()+dma_set_coherent_mask() with new helper Cedric Le Goater
2013-11-16 15:32 ` Russell King - ARM Linux
2013-11-18 10:54 ` Cedric Le Goater
2013-11-18 10:57 ` [PATCH] DMA-API: ppc: vio: use dma_coerce_mask_and_coherent() Cédric Le Goater
2013-09-19 21:42 ` [PATCH 17/51] DMA-API: block: nvme-core: replace dma_set_mask()+dma_set_coherent_mask() with new helper Russell King
2013-09-19 21:42 ` Russell King
2013-09-19 21:42 ` Russell King
2013-09-19 21:42 ` [PATCH 17/51] DMA-API: block: nvme-core: replace dma_set_mask()+dma_set_coherent_mask() with new Russell King
2013-09-19 21:43 ` [PATCH 18/51] DMA-API: staging: et131x: replace dma_set_mask()+dma_set_coherent_mask() with new helper Russell King
2013-09-19 21:43 ` Russell King
2013-09-19 21:43 ` Russell King
2013-09-19 21:43 ` [PATCH 18/51] DMA-API: staging: et131x: replace dma_set_mask()+dma_set_coherent_mask() with new Russell King
2013-09-20 15:42 ` [PATCH 18/51] DMA-API: staging: et131x: replace dma_set_mask()+dma_set_coherent_mask() with new helper Ben Hutchings
2013-09-21 19:55 ` Russell King - ARM Linux
2013-09-23 14:42 ` Mark Einon
2013-09-19 21:44 ` [PATCH 19/51] DMA-API: media: dt3155v4l: " Russell King
2013-09-19 21:44 ` Russell King
2013-09-19 21:44 ` Russell King
2013-09-19 21:44 ` Russell King
2013-09-19 21:44 ` [PATCH 19/51] DMA-API: media: dt3155v4l: replace dma_set_mask()+dma_set_coherent_mask() with new Russell King
2013-09-30 11:57 ` [PATCH 19/51] DMA-API: media: dt3155v4l: replace dma_set_mask()+dma_set_coherent_mask() with new helper Hans Verkuil
2013-09-30 11:57 ` Hans Verkuil
2013-09-30 11:57 ` Hans Verkuil
2013-09-30 11:57 ` Hans Verkuil
2013-09-30 11:57 ` [PATCH 19/51] DMA-API: media: dt3155v4l: replace dma_set_mask()+dma_set_coherent_mask() with new Hans Verkuil
2013-09-30 11:57 ` [PATCH 19/51] DMA-API: media: dt3155v4l: replace dma_set_mask()+dma_set_coherent_mask() with new helper Hans Verkuil
2013-10-31 11:46 ` Mauro Carvalho Chehab
2013-10-31 11:46 ` Mauro Carvalho Chehab
2013-10-31 11:46 ` Mauro Carvalho Chehab
2013-10-31 11:46 ` Mauro Carvalho Chehab
2013-10-31 11:46 ` Mauro Carvalho Chehab
2013-10-31 11:46 ` [PATCH 19/51] DMA-API: media: dt3155v4l: replace dma_set_mask()+dma_set_coherent_mask() with new Mauro Carvalho Chehab
2013-10-31 11:46 ` [PATCH 19/51] DMA-API: media: dt3155v4l: replace dma_set_mask()+dma_set_coherent_mask() with new helper Mauro Carvalho Chehab
2013-10-31 11:46 ` Mauro Carvalho Chehab
2013-10-31 14:49 ` Russell King - ARM Linux
2013-10-31 14:49 ` Russell King - ARM Linux
2013-10-31 14:49 ` Russell King - ARM Linux
2013-10-31 14:49 ` Russell King - ARM Linux
2013-10-31 14:49 ` [PATCH 19/51] DMA-API: media: dt3155v4l: replace dma_set_mask()+dma_set_coherent_mask() with new Russell King - ARM Linux
2013-10-31 14:49 ` [PATCH 19/51] DMA-API: media: dt3155v4l: replace dma_set_mask()+dma_set_coherent_mask() with new helper Russell King - ARM Linux
2013-09-19 21:45 ` [PATCH 20/51] DMA-API: usb: bcma: " Russell King
2013-09-19 21:45 ` Russell King
2013-09-19 21:45 ` Russell King
2013-09-19 21:45 ` [PATCH 20/51] DMA-API: usb: bcma: replace dma_set_mask()+dma_set_coherent_mask() with new Russell King
2013-09-19 21:46 ` [PATCH 21/51] DMA-API: usb: ssb-hcd: replace dma_set_mask()+dma_set_coherent_mask() with new helper Russell King
2013-09-19 21:46 ` Russell King
2013-09-19 21:46 ` Russell King
2013-09-19 21:46 ` [PATCH 21/51] DMA-API: usb: ssb-hcd: replace dma_set_mask()+dma_set_coherent_mask() with new Russell King
2013-09-19 21:47 ` [PATCH 22/51] DMA-API: amba: get rid of separate dma_mask Russell King
2013-09-19 21:47 ` Russell King
2013-09-19 21:47 ` Russell King
2013-09-19 21:47 ` Russell King
2013-09-22 12:18 ` Grant Likely
2013-09-22 12:18 ` Grant Likely
2013-09-22 12:18 ` Grant Likely
2013-09-22 12:18 ` Grant Likely
2013-09-22 12:18 ` Grant Likely
2013-09-19 21:48 ` [PATCH 23/51] DMA-API: dma: pl08x: add dma_set_mask_and_coherent() call Russell King
2013-09-19 21:48 ` Russell King
2013-09-19 21:48 ` Russell King
2013-09-19 21:48 ` Russell King
2013-09-19 21:48 ` Russell King
2013-09-23 10:12 ` [alsa-devel] " Vinod Koul
2013-09-23 10:24 ` Vinod Koul
2013-09-23 10:12 ` Vinod Koul
2013-09-23 10:12 ` Vinod Koul
2013-09-23 10:12 ` Vinod Koul
2013-09-23 10:12 ` Vinod Koul
2013-09-23 10:12 ` Vinod Koul
2013-09-19 21:49 ` [PATCH 24/51] DMA-API: dma: pl330: " Russell King
2013-09-19 21:49 ` Russell King
2013-09-19 21:49 ` Russell King
2013-09-19 21:49 ` Russell King
2013-09-19 21:49 ` Russell King
2013-09-20 17:26 ` Heiko Stübner
2013-09-20 17:26 ` Heiko Stübner
2013-09-20 17:26 ` Heiko Stübner
2013-09-20 17:26 ` Heiko Stübner
2013-09-20 17:26 ` Heiko Stübner
2013-09-20 17:26 ` Heiko Stübner
2013-09-20 17:26 ` Heiko Stübner
2013-09-21 20:00 ` Russell King - ARM Linux
2013-09-21 20:00 ` Russell King - ARM Linux
2013-09-21 20:00 ` Russell King - ARM Linux
2013-09-21 20:00 ` Russell King - ARM Linux
2013-09-21 20:00 ` Russell King - ARM Linux
2013-09-21 20:00 ` Russell King - ARM Linux
2013-09-21 20:00 ` Russell King - ARM Linux
2013-09-23 10:43 ` [alsa-devel] " Vinod Koul
2013-09-23 10:55 ` Vinod Koul
2013-09-23 10:43 ` Vinod Koul
2013-09-23 10:43 ` Vinod Koul
2013-09-23 10:43 ` Vinod Koul
2013-09-23 10:43 ` Vinod Koul
2013-09-23 10:43 ` Vinod Koul
2013-09-19 21:50 ` [PATCH 25/51] DMA-API: video: clcd: " Russell King
2013-09-19 21:50 ` Russell King
2013-09-19 21:50 ` Russell King
2013-09-19 21:50 ` Russell King
2013-09-19 21:50 ` Russell King
2013-09-19 21:51 ` [PATCH 26/51] DMA-API: usb: ohci-sa1111: add a note about DMA masks Russell King
2013-09-19 21:51 ` Russell King
2013-09-19 21:51 ` Russell King
2013-09-19 21:51 ` Russell King
2013-09-19 21:51 ` Russell King
2013-09-19 21:52 ` [PATCH 27/51] DMA-API: provide a helper to setup " Russell King
2013-09-19 21:52 ` Russell King
2013-09-19 21:52 ` Russell King
2013-09-19 21:52 ` Russell King
2013-09-19 21:52 ` Russell King
2013-09-19 21:52 ` Russell King
2013-09-19 21:53 ` [PATCH 28/51] DMA-API: sound: fix dma mask handling in a lot of drivers Russell King
2013-09-19 21:53 ` Russell King
2013-09-19 21:53 ` Russell King
2013-09-19 21:53 ` Russell King
2013-09-20 16:36 ` Mark Brown
2013-09-20 16:36 ` Mark Brown
2013-09-20 16:36 ` Mark Brown
2013-09-20 16:36 ` Mark Brown
2013-09-26 7:51 ` Takashi Iwai
2013-09-26 7:51 ` Takashi Iwai
2013-09-26 7:51 ` Takashi Iwai
2013-09-26 7:51 ` Takashi Iwai
2013-09-26 7:54 ` Russell King - ARM Linux
2013-09-26 7:54 ` Russell King - ARM Linux
2013-09-26 7:54 ` Russell King - ARM Linux
2013-09-26 7:54 ` Russell King - ARM Linux
2013-09-26 8:25 ` Takashi Iwai
2013-09-26 8:25 ` Takashi Iwai
2013-09-26 8:25 ` Takashi Iwai
2013-09-26 8:25 ` Takashi Iwai
2013-09-26 8:29 ` Takashi Iwai
2013-09-26 8:29 ` Takashi Iwai
2013-09-26 8:29 ` Takashi Iwai
2013-09-26 8:29 ` Takashi Iwai
2013-09-19 21:54 ` [PATCH 29/51] DMA-API: ata: pata_octeon_cf: convert to use dma_coerce_mask_and_coherent() Russell King
2013-09-19 21:54 ` Russell King
2013-09-19 21:54 ` Russell King
2013-09-19 21:54 ` Russell King
2013-10-30 19:08 ` Geert Uytterhoeven
2013-10-30 19:08 ` Geert Uytterhoeven
2013-10-30 19:08 ` Geert Uytterhoeven
2013-10-30 19:08 ` Geert Uytterhoeven
2013-10-30 19:08 ` Geert Uytterhoeven
2013-10-30 19:08 ` Geert Uytterhoeven
2013-09-19 21:55 ` [PATCH 30/51] DMA-API: dma: dw_dmac.c: " Russell King
2013-09-19 21:55 ` Russell King
2013-09-19 21:55 ` Russell King
2013-09-19 21:55 ` Russell King
2013-09-19 21:55 ` Russell King
2013-09-20 14:26 ` Andy Shevchenko
2013-09-20 14:40 ` Russell King - ARM Linux
2013-09-20 15:26 ` Andy Shevchenko
2013-09-23 10:42 ` Vinod Koul [this message]
2013-09-19 21:56 ` [PATCH 31/51] DMA-API: media: omap3isp: " Russell King
2013-09-19 21:56 ` Russell King
2013-09-19 21:56 ` Russell King
2013-09-19 21:56 ` Russell King
2013-09-27 1:56 ` Laurent Pinchart
2013-09-27 1:56 ` Laurent Pinchart
2013-09-27 1:56 ` Laurent Pinchart
2013-09-27 1:56 ` Laurent Pinchart
2013-09-27 1:56 ` Laurent Pinchart
2013-09-27 1:56 ` Laurent Pinchart
2013-09-27 1:56 ` Laurent Pinchart
2013-09-19 21:57 ` [PATCH 32/51] DMA-API: mmc: sdhci-acpi: " Russell King
2013-09-19 21:57 ` Russell King
2013-09-19 21:57 ` Russell King
2013-09-19 21:57 ` Russell King
2013-09-19 21:58 ` [PATCH 33/51] DMA-API: net: nxp/lpc_eth: " Russell King
2013-09-19 21:58 ` Russell King
2013-09-19 21:58 ` Russell King
2013-09-19 21:58 ` Russell King
2013-09-19 21:59 ` [PATCH 34/51] DMA-API: net: octeon: " Russell King
2013-09-19 21:59 ` Russell King
2013-09-19 21:59 ` Russell King
2013-09-19 21:59 ` Russell King
2013-09-19 22:00 ` [PATCH 35/51] DMA-API: parport: parport_pc.c: " Russell King
2013-09-19 22:00 ` Russell King
2013-09-19 22:00 ` Russell King
2013-09-19 22:00 ` Russell King
2013-09-19 22:01 ` [PATCH 36/51] DMA-API: usb: use dma_set_coherent_mask() Russell King
2013-09-19 22:01 ` Russell King
2013-09-19 22:01 ` Russell King
2013-09-19 22:01 ` Russell King
2013-09-19 22:01 ` Russell King
2013-09-20 13:08 ` Felipe Balbi
2013-09-20 13:08 ` Felipe Balbi
2013-09-20 13:08 ` Felipe Balbi
2013-09-23 12:30 ` Nicolas Ferre
2013-09-23 12:30 ` Nicolas Ferre
2013-09-23 12:30 ` Nicolas Ferre
2013-09-23 12:30 ` Nicolas Ferre
2013-09-23 18:27 ` Alan Stern
2013-09-23 18:27 ` Alan Stern
2013-09-23 18:27 ` Alan Stern
2013-09-23 18:27 ` Alan Stern
[not found] ` <Pine.LNX.4.44L0.1309231418030.1348-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2013-09-23 18:42 ` Russell King - ARM Linux
2013-09-23 18:42 ` Russell King - ARM Linux
2013-09-23 18:42 ` Russell King - ARM Linux
2013-09-23 18:42 ` Russell King - ARM Linux
2013-09-23 18:42 ` Russell King - ARM Linux
2013-09-23 18:42 ` Russell King - ARM Linux
2013-09-19 22:02 ` [PATCH 37/51] DMA-API: usb: use new dma_coerce_mask_and_coherent() Russell King
2013-09-19 22:02 ` Russell King
2013-09-19 22:02 ` Russell King
2013-09-19 22:02 ` Russell King
2013-09-19 22:02 ` Russell King
2013-09-20 13:10 ` Felipe Balbi
2013-09-20 13:10 ` Felipe Balbi
2013-09-20 13:10 ` Felipe Balbi
[not found] ` <E1VMmIV-0007jw-Gq-eh5Bv4kxaXIANfyc6IWni62ZND6+EDdj@public.gmane.org>
2013-09-23 12:34 ` Nicolas Ferre
2013-09-23 12:34 ` Nicolas Ferre
2013-09-23 12:34 ` Nicolas Ferre
2013-09-23 12:34 ` Nicolas Ferre
2013-09-23 12:34 ` Nicolas Ferre
2013-09-23 12:34 ` Nicolas Ferre
2013-09-19 22:03 ` [PATCH 38/51] DMA-API: staging: use dma_set_coherent_mask() Russell King
2013-09-19 22:03 ` Russell King
2013-09-19 22:03 ` Russell King
2013-09-19 22:03 ` Russell King
2013-09-19 22:03 ` Russell King
2013-09-19 23:11 ` [PATCH 39/51] DMA-API: others: " Russell King
2013-09-19 23:11 ` Russell King
2013-09-19 23:11 ` Russell King
2013-09-19 23:11 ` Russell King
2013-09-20 12:16 ` Tejun Heo
2013-09-20 12:16 ` Tejun Heo
2013-09-20 12:16 ` Tejun Heo
2013-09-20 12:16 ` Tejun Heo
2013-09-20 12:16 ` Tejun Heo
2013-09-20 12:16 ` Tejun Heo
2013-09-20 12:18 ` Tejun Heo
2013-09-20 12:18 ` Tejun Heo
2013-09-20 12:18 ` Tejun Heo
2013-09-20 12:18 ` Tejun Heo
2013-09-20 12:18 ` Tejun Heo
2013-09-20 14:00 ` Russell King - ARM Linux
2013-09-20 14:00 ` Russell King - ARM Linux
2013-09-20 14:00 ` Russell King - ARM Linux
2013-09-20 14:00 ` Russell King - ARM Linux
2013-09-20 14:00 ` Russell King - ARM Linux
2013-09-20 14:00 ` Russell King - ARM Linux
2013-09-20 22:20 ` Tejun Heo
2013-09-20 22:20 ` Tejun Heo
2013-09-20 22:20 ` Tejun Heo
2013-09-20 22:20 ` Tejun Heo
2013-09-20 22:20 ` Tejun Heo
2013-09-26 10:51 ` Archit Taneja
2013-09-26 10:57 ` Archit Taneja
2013-09-26 10:51 ` Archit Taneja
2013-09-26 10:51 ` Archit Taneja
2013-09-26 10:51 ` Archit Taneja
2013-09-26 10:55 ` Russell King - ARM Linux
2013-09-26 10:55 ` Russell King - ARM Linux
2013-09-26 10:59 ` Archit Taneja
2013-09-26 10:59 ` Archit Taneja
2013-09-19 23:12 ` [PATCH 40/51] DMA-API: crypto: fix ixp4xx crypto platform device support Russell King
2013-09-19 23:12 ` Russell King
2013-09-19 23:12 ` Russell King
2013-09-19 23:12 ` Russell King
2013-09-19 23:13 ` [PATCH 41/51] DMA-API: crypto: remove last references to 'static struct device *dev' Russell King
2013-09-19 23:13 ` Russell King
2013-09-19 23:13 ` Russell King
2013-09-19 23:13 ` Russell King
2013-09-19 23:14 ` [PATCH 42/51] DMA-API: usb: musb: use platform_device_register_full() to avoid directly messing with dma masks Russell King
2013-09-19 23:14 ` Russell King
2013-09-19 23:14 ` Russell King
2013-09-19 23:14 ` Russell King
2013-09-19 23:14 ` [PATCH 42/51] DMA-API: usb: musb: use platform_device_register_full() to avoid directly Russell King
2013-09-20 13:11 ` [PATCH 42/51] DMA-API: usb: musb: use platform_device_register_full() to avoid directly messing with dma masks Felipe Balbi
2013-09-20 13:11 ` Felipe Balbi
2013-09-20 13:11 ` Felipe Balbi
2013-09-20 13:11 ` Felipe Balbi
2013-09-20 13:11 ` Felipe Balbi
2013-09-20 13:11 ` [PATCH 42/51] DMA-API: usb: musb: use platform_device_register_full() to avoid directly messing Felipe Balbi
2013-09-20 13:11 ` [PATCH 42/51] DMA-API: usb: musb: use platform_device_register_full() to avoid directly messing with dma masks Felipe Balbi
2013-09-20 13:49 ` Russell King - ARM Linux
2013-09-20 13:49 ` Russell King - ARM Linux
2013-09-20 13:49 ` Russell King - ARM Linux
2013-09-20 13:49 ` Russell King - ARM Linux
2013-09-20 13:49 ` Russell King - ARM Linux
2013-09-20 13:49 ` [PATCH 42/51] DMA-API: usb: musb: use platform_device_register_full() to avoid directly messing Russell King - ARM Linux
2013-09-20 13:49 ` [PATCH 42/51] DMA-API: usb: musb: use platform_device_register_full() to avoid directly messing with dma masks Russell King - ARM Linux
2013-09-20 15:15 ` Felipe Balbi
2013-09-20 15:15 ` Felipe Balbi
2013-09-20 15:15 ` Felipe Balbi
2013-09-20 15:15 ` Felipe Balbi
2013-09-20 15:15 ` Felipe Balbi
2013-09-20 15:15 ` [PATCH 42/51] DMA-API: usb: musb: use platform_device_register_full() to avoid directly messing Felipe Balbi
2013-09-20 15:15 ` [PATCH 42/51] DMA-API: usb: musb: use platform_device_register_full() to avoid directly messing with dma masks Felipe Balbi
2013-09-19 23:15 ` [PATCH 43/51] DMA-API: dma: edma.c: no need to explicitly initialize DMA masks Russell King
2013-09-19 23:15 ` Russell King
2013-09-19 23:15 ` Russell King
2013-09-19 23:15 ` Russell King
2013-09-19 23:15 ` Russell King
2013-09-19 23:15 ` Russell King
2013-09-19 23:15 ` Russell King
2013-09-23 10:25 ` [alsa-devel] " Vinod Koul
2013-09-23 10:37 ` Vinod Koul
2013-09-23 10:25 ` Vinod Koul
2013-09-23 10:25 ` Vinod Koul
2013-09-23 10:25 ` Vinod Koul
2013-09-23 10:25 ` Vinod Koul
2013-09-23 11:37 ` Russell King - ARM Linux
2013-09-23 11:37 ` Russell King - ARM Linux
2013-09-23 11:37 ` Russell King - ARM Linux
2013-09-23 11:37 ` Russell King - ARM Linux
2013-09-23 11:37 ` Russell King - ARM Linux
2013-09-23 11:37 ` Russell King - ARM Linux
2013-09-23 11:37 ` Russell King - ARM Linux
2013-09-19 23:16 ` [PATCH 44/51] DMA-API: dcdbas: update DMA mask handing Russell King
2013-09-19 23:16 ` Russell King
2013-09-19 23:16 ` Russell King
2013-09-19 23:16 ` Russell King
2013-09-19 23:16 ` Russell King
2013-09-19 23:16 ` Russell King
2013-09-19 23:17 ` [PATCH 45/51] DMA-API: firmware/google/gsmi.c: avoid direct access to DMA masks Russell King
2013-09-19 23:17 ` Russell King
2013-09-19 23:17 ` Russell King
2013-09-19 23:17 ` Russell King
2013-09-19 23:39 ` [PATCH 46/51] ARM: DMA-API: better handing of DMA masks for coherent allocations Russell King
2013-09-19 23:39 ` Russell King
2013-09-19 23:39 ` Russell King
2013-09-19 23:39 ` Russell King
2013-09-19 23:40 ` [PATCH 47/51] ARM: 7794/1: block: Rename parameter dma_mask to max_addr for blk_queue_bounce_limit() Russell King
2013-09-19 23:40 ` Russell King
2013-09-19 23:40 ` Russell King
2013-09-19 23:40 ` Russell King
2013-09-19 23:40 ` Russell King
2013-09-19 23:41 ` [PATCH 48/51] ARM: 7795/1: mm: dma-mapping: Add dma_max_pfn(dev) helper function Russell King
2013-09-19 23:41 ` Russell King
2013-09-19 23:41 ` Russell King
2013-09-19 23:41 ` Russell King
2013-09-19 23:41 ` Russell King
2013-09-19 23:42 ` [PATCH 49/51] ARM: 7796/1: scsi: Use dma_max_pfn(dev) helper for bounce_limit calculations Russell King
2013-09-19 23:42 ` Russell King
2013-09-19 23:42 ` Russell King
2013-09-19 23:42 ` Russell King
2013-09-19 23:43 ` [PATCH 50/51] ARM: 7797/1: mmc: " Russell King
2013-09-19 23:43 ` Russell King
2013-09-19 23:43 ` Russell King
2013-09-19 23:43 ` Russell King
2013-09-19 23:43 ` Russell King
2013-09-19 23:44 ` [PATCH 51/51] ARM: 7805/1: mm: change max*pfn to include the physical offset of memory Russell King
2013-09-19 23:44 ` Russell King
2013-09-19 23:44 ` Russell King
2013-09-19 23:44 ` Russell King
2013-09-19 23:44 ` Russell King
2013-09-26 20:23 ` [PATCH 00/51] DMA mask changes Rafał Miłecki
2013-09-26 20:23 ` Rafał Miłecki
2013-09-26 20:23 ` Rafał Miłecki
2013-09-26 20:23 ` Rafał Miłecki
2013-09-26 20:23 ` Rafał Miłecki
2013-09-26 20:23 ` Rafał Miłecki
2013-09-26 20:23 ` Rafał Miłecki
2013-09-26 20:23 ` Rafał Miłecki
2013-09-27 8:27 ` Russell King - ARM Linux
2013-09-27 8:27 ` Russell King - ARM Linux
2013-09-27 8:27 ` Russell King - ARM Linux
2013-09-27 8:27 ` Russell King - ARM Linux
2013-09-27 8:27 ` Russell King - ARM Linux
2013-09-27 8:27 ` Russell King - ARM Linux
2013-09-27 8:27 ` Russell King - ARM Linux
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=20130923104236.GJ17188@intel.com \
--to=vinod.koul@intel.com \
--cc=andriy.shevchenko@linux.jf.intel.com \
--cc=andy.shevchenko@gmail.com \
--cc=dan.j.williams@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=viresh.linux@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 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.