Message ID | 1398447254-18527-2-git-send-email-catalin.marinas@arm.com |
---|---|
State | Accepted |
Commit | c7a4a7658d689f664050c45493d79adf053f226e |
Headers | show
Return-Path: <patchwork-forward+bncBDZ6PXELJIIMXOXKTICRUBENWSU3Q@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f197.google.com (mail-pd0-f197.google.com [209.85.192.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 43124202E6 for <linaro@patches.linaro.org>; Fri, 25 Apr 2014 17:37:16 +0000 (UTC) Received: by mail-pd0-f197.google.com with SMTP id r10sf7646906pdi.0 for <linaro@patches.linaro.org>; Fri, 25 Apr 2014 10:37:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=86SO9P06kNi61aHgnrwHki6yRbPRrqK4Inn9MwwNMQ4=; b=DITg2Lvq7VEFiJlLcYJ0goPzgSYYmhY4aM/Tbgb4Se3pACrHzk4nV/9EuUhBuSEhOt wJarNsNQT15zVMALQjCNth6JoUXm2fyRDNIUypbuoRnTNwQOPyWHExXpyjA5zbec3LYl OctpwiBHctQPaGIYuBR4cvOxomX6t2PJ5DYirQj3YS35NSrxSeduCVTyhl8ndbq+pyCp F2LHh1prOBdGL7Wo9dJ5rVgaJf/DBkC6D0LiLzpMk14QEHOAp5Op22A7zDHL7z/49PyX FEgGq2QMDbyNlFNDY549GxifTwxuGKVBAo793BEnbADO/YXfQ22qDS5PZD523tt2tPvm qcMA== X-Gm-Message-State: ALoCoQmnTaKq8V1HwRx5upXe9cfstBJD6jtNwGKEWVlscGHheXhGBXI6J9smLwQ9L/PMu6QEj4Y1 X-Received: by 10.67.30.168 with SMTP id kf8mr1806438pad.13.1398447435273; Fri, 25 Apr 2014 10:37:15 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.46.52 with SMTP id j49ls1668467qga.67.gmail; Fri, 25 Apr 2014 10:37:15 -0700 (PDT) X-Received: by 10.52.183.228 with SMTP id ep4mr6353503vdc.30.1398447435025; Fri, 25 Apr 2014 10:37:15 -0700 (PDT) Received: from mail-ve0-f178.google.com (mail-ve0-f178.google.com [209.85.128.178]) by mx.google.com with ESMTPS id rl1si1860087vcb.182.2014.04.25.10.37.15 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 25 Apr 2014 10:37:15 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.128.178; Received: by mail-ve0-f178.google.com with SMTP id jw12so5237010veb.9 for <patchwork-forward@linaro.org>; Fri, 25 Apr 2014 10:37:14 -0700 (PDT) X-Received: by 10.58.107.65 with SMTP id ha1mr7747911veb.1.1398447434944; Fri, 25 Apr 2014 10:37:14 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp115443vcb; Fri, 25 Apr 2014 10:37:14 -0700 (PDT) X-Received: by 10.140.82.229 with SMTP id h92mr10184529qgd.51.1398447434334; Fri, 25 Apr 2014 10:37:14 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id c4si4188001qad.164.2014.04.25.10.37.13 for <patch@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Apr 2014 10:37:14 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; 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 1Wdk1s-0006Lj-Me; Fri, 25 Apr 2014 17:35:16 +0000 Received: from fw-tnat.cambridge.arm.com ([217.140.96.21] helo=cam-smtp0.cambridge.arm.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wdk1p-0005CR-O1 for linux-arm-kernel@lists.infradead.org; Fri, 25 Apr 2014 17:35:15 +0000 Received: from e102109-lin.cambridge.arm.com (e102109-lin.cambridge.arm.com [10.1.203.182]) by cam-smtp0.cambridge.arm.com (8.13.8/8.13.8) with ESMTP id s3PHYgMB023866; Fri, 25 Apr 2014 18:34:43 +0100 From: Catalin Marinas <catalin.marinas@arm.com> To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/3] arm64: Make default dma_ops to be noncoherent Date: Fri, 25 Apr 2014 18:34:12 +0100 Message-Id: <1398447254-18527-2-git-send-email-catalin.marinas@arm.com> X-Mailer: git-send-email 1.7.12.3 In-Reply-To: <1398447254-18527-1-git-send-email-catalin.marinas@arm.com> References: <1398447254-18527-1-git-send-email-catalin.marinas@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140425_103514_163942_FF3F8192 X-CRM114-Status: UNSURE ( 9.25 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.4 (-) X-Spam-Report: SpamAssassin version 3.3.2 on bombadil.infradead.org summary: Content analysis details: (-1.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [217.140.96.21 listed in list.dnswl.org] Cc: Loc Ho <lho@apm.com>, Ritesh Harjani <ritesh.harjani@gmail.com> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: catalin.marinas@arm.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
diff --git a/arch/arm64/mm/dma-mapping.c b/arch/arm64/mm/dma-mapping.c index 0ba347e59f06..1f65963a9c04 100644 --- a/arch/arm64/mm/dma-mapping.c +++ b/arch/arm64/mm/dma-mapping.c @@ -311,7 +311,7 @@ static int __init swiotlb_late_init(void) { size_t swiotlb_size = min(SZ_64M, MAX_ORDER_NR_PAGES << PAGE_SHIFT); - dma_ops = &coherent_swiotlb_dma_ops; + dma_ops = &noncoherent_swiotlb_dma_ops; return swiotlb_late_init_with_default_size(swiotlb_size); }