From patchwork Sun May 3 18:15:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasily Khoruzhick X-Patchwork-Id: 6321721 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 74EEBBEEE1 for ; Sun, 3 May 2015 18:18:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A129D20380 for ; Sun, 3 May 2015 18:18:55 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D47062037C for ; Sun, 3 May 2015 18:18:54 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YoyQj-0000IB-Jr; Sun, 03 May 2015 18:15:53 +0000 Received: from mail-lb0-x22b.google.com ([2a00:1450:4010:c04::22b]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YoyQa-0000Eu-Js for linux-arm-kernel@lists.infradead.org; Sun, 03 May 2015 18:15:45 +0000 Received: by lbcga7 with SMTP id ga7so92221835lbc.1 for ; Sun, 03 May 2015 11:15:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=SfB4SrhT05TeLS55nRwenYvdwXwvMPpF0Pe4xMxv9es=; b=DW/W1U5NRbvThP4A9HSu1i4qc+oUMQ7r5nhx9OsrFf5jJGGkllNDz++JIQqJDtoK+o LvcBIUHnQhXFjwgBcuUCXT9u2HTbXVhIaf8ygUyc++O8UdG1nVtXNzwBfd7HIQSufPrV Q6FJAhl3mMAKgPJRRZf/bErRBjYNArcqOilNOebjWXEscUMmCrsF/sYLfvzvy2EVQV3E VJkHWC6EHOyw52oXfLtF8vqfBHytD4AJ3e9i7qieW2XAGFqwLhMZaIWEL3JPx0dx11J4 Bxr1qTsOQuUV9OKh3WtOX5msutFYHHdM5Ne2SEHLi+e9Cq7STC8daAcWKsgI5BGVlQsX +nqA== X-Received: by 10.152.23.163 with SMTP id n3mr16812658laf.34.1430676919789; Sun, 03 May 2015 11:15:19 -0700 (PDT) Received: from anarsoul-thinkpad.localdomain ([212.98.188.148]) by mx.google.com with ESMTPSA id c5sm2836659lac.15.2015.05.03.11.15.17 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 03 May 2015 11:15:18 -0700 (PDT) From: Vasily Khoruzhick To: Kukjin Kim , Russell King , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 1/3] ARM: s3c24xx: add dma_coherent_mask for DMA devices Date: Sun, 3 May 2015 21:15:08 +0300 Message-Id: <1430676910-30657-1-git-send-email-anarsoul@gmail.com> X-Mailer: git-send-email 2.3.7 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150503_111544_887523_6BAFF4F0 X-CRM114-Status: UNSURE ( 8.66 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: Vasily Khoruzhick X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Otherwise dma_alloc_coherent() fails. Signed-off-by: Vasily Khoruzhick --- 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, }, }; #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, }, }; #endif