From: k.kozlowski@samsung.com (Krzysztof Kozlowski)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/3] ARM: s3c24xx: add dma_coherent_mask for DMA devices
Date: Mon, 4 May 2015 12:42:56 +0900 [thread overview]
Message-ID: <CAJKOXPfbF0RDPisY-PvKKKVT1kHDrR60b7VmcjTkco5UPm-WTg@mail.gmail.com> (raw)
In-Reply-To: <1430676910-30657-1-git-send-email-anarsoul@gmail.com>
2015-05-04 3:15 GMT+09:00 Vasily Khoruzhick <anarsoul@gmail.com>:
> Otherwise dma_alloc_coherent() fails.
Could you say few more words about the failure?
Also the patch looks like a candidate for CC-stable along with Fixes tag.
>
> Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
> ---
> arch/arm/mach-s3c24xx/common.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/mach-s3c24xx/common.c b/arch/arm/mach-s3c24xx/common.c
> index bf50328..7ed0853 100644
> --- a/arch/arm/mach-s3c24xx/common.c
> +++ b/arch/arm/mach-s3c24xx/common.c
> @@ -355,6 +355,7 @@ struct platform_device s3c2410_device_dma = {
> .resource = s3c2410_dma_resource,
> .dev = {
> .platform_data = &s3c2410_dma_platdata,
> + .coherent_dma_mask = ~0,
DMA_BIT_MASK(32)?
> },
> };
> #endif
> @@ -452,6 +453,7 @@ struct platform_device s3c2440_device_dma = {
> .resource = s3c2410_dma_resource,
> .dev = {
> .platform_data = &s3c2440_dma_platdata,
> + .coherent_dma_mask = ~0,
Ditto.
Best regards,
Krzysztof
next prev parent reply other threads:[~2015-05-04 3:42 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-03 18:15 [PATCH 1/3] ARM: s3c24xx: add dma_coherent_mask for DMA devices Vasily Khoruzhick
2015-05-03 18:15 ` [PATCH 2/3] ARM: s3c24xx: Add DMA resources for SDI and I2S Vasily Khoruzhick
2015-05-04 3:45 ` Krzysztof Kozlowski
2015-05-04 18:10 ` Vasily Khoruzhick
2015-05-05 3:39 ` Krzysztof Kozlowski
2015-05-03 18:15 ` [PATCH 3/3] ARM: s3c24xx: H1940: Move gpiochip_add call into core_init() callback Vasily Khoruzhick
2015-05-04 3:23 ` Krzysztof Kozlowski
2015-05-04 18:27 ` Vasily Khoruzhick
2015-05-05 3:51 ` Krzysztof Kozlowski
2015-05-04 3:42 ` Krzysztof Kozlowski [this message]
2015-05-04 17:54 ` [PATCH 1/3] ARM: s3c24xx: add dma_coherent_mask for DMA devices Vasily Khoruzhick
2015-05-05 3:38 ` Krzysztof Kozlowski
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=CAJKOXPfbF0RDPisY-PvKKKVT1kHDrR60b7VmcjTkco5UPm-WTg@mail.gmail.com \
--to=k.kozlowski@samsung.com \
--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 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).