From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: dma-mapping: highbank: Restrict DMA to 32-bit addresses
Date: Thu, 1 Aug 2013 21:45:52 +0100 [thread overview]
Message-ID: <20130801204552.GI23006@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <20130801204047.GY20842@alberich>
On Thu, Aug 01, 2013 at 10:40:47PM +0200, Andreas Herrmann wrote:
>
> Some devices on Calxeda ECX-2000 are restricted to 32-bit DMA. Thus
> the platform needs to set dma_zone_size, otherwise dma-mapping code is
> complaining, e.g.
>
> calxedaxgmac fff50000.ethernet: coherent DMA mask 0xffffffff is smaller than system
> GFP_DMA mask 0xffffffffffffffff
>
> Same is true for sata_highbank. For the latter dma_coherent_mask could
> be increased but due to the lack of DMA32 zone we need to adapt
> arm_dma_limit in general.
Please wait until I post my dma mask patches. Thanks.
WARNING: multiple messages have this Message-ID (diff)
From: Russell King - ARM Linux <linux@arm.linux.org.uk>
To: Andreas Herrmann <andreas.herrmann@calxeda.com>
Cc: Rob Herring <rob.herring@calxeda.com>,
Marek Szyprowski <m.szyprowski@samsung.com>,
Hiroshi Doyu <hdoyu@nvidia.com>,
Will Deacon <will.deacon@arm.com>,
Nicolas Pitre <nicolas.pitre@linaro.org>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ARM: dma-mapping: highbank: Restrict DMA to 32-bit addresses
Date: Thu, 1 Aug 2013 21:45:52 +0100 [thread overview]
Message-ID: <20130801204552.GI23006@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <20130801204047.GY20842@alberich>
On Thu, Aug 01, 2013 at 10:40:47PM +0200, Andreas Herrmann wrote:
>
> Some devices on Calxeda ECX-2000 are restricted to 32-bit DMA. Thus
> the platform needs to set dma_zone_size, otherwise dma-mapping code is
> complaining, e.g.
>
> calxedaxgmac fff50000.ethernet: coherent DMA mask 0xffffffff is smaller than system
> GFP_DMA mask 0xffffffffffffffff
>
> Same is true for sata_highbank. For the latter dma_coherent_mask could
> be increased but due to the lack of DMA32 zone we need to adapt
> arm_dma_limit in general.
Please wait until I post my dma mask patches. Thanks.
next prev parent reply other threads:[~2013-08-01 20:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-01 20:40 [PATCH] ARM: dma-mapping: highbank: Restrict DMA to 32-bit addresses Andreas Herrmann
2013-08-01 20:40 ` Andreas Herrmann
2013-08-01 20:45 ` Russell King - ARM Linux [this message]
2013-08-01 20:45 ` 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=20130801204552.GI23006@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=linux-arm-kernel@lists.infradead.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 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.