From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C18FDC433DB for ; Wed, 10 Feb 2021 14:12:34 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4386664EA6 for ; Wed, 10 Feb 2021 14:12:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4386664EA6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=marvell.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=aRtZg+aYZv2cisEfBoWJ9XQkUkaDRYiKFPeGS/vFOWw=; b=UHmmbE0GoI1w/bvqAxatopypa xIeHkhHxYE1GyH9dzPxt9xibs7c6q1OJ14XcbO4aOlIm2ze9QZzAxy9Y8Yu/MyHysSVSm2/yiRZfc n5xcd+vSg3zwtG5eBQul6CaknUSRyTgdc784iqJBGar++HfVEnXN6w2PohmGM4xU9nt14Qq73KXg2 pybZiu+AksUsVSJv9NLCCnAzmNBJKDTdrGkoGeEZGWDaRojl2snPBf0uvoQ0QLo7BvjhKAljTQFUZ co1o446okVYty6VSTC5lUMs3ZIYcDH3s1ZNAxGIVM3J3cfr3lTZSqGiDU3EZHaBoKnzXDxNM/mhsB ldgHl2qSg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l9qCx-0006mh-Lo; Wed, 10 Feb 2021 14:11:07 +0000 Received: from mx0b-0016f401.pphosted.com ([67.231.156.173]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l9qCT-0006a8-9R for linux-arm-kernel@lists.infradead.org; Wed, 10 Feb 2021 14:10:38 +0000 Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 11AEARKB031428; Wed, 10 Feb 2021 06:10:32 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=pfpt0220; bh=H0+Bw27E1hsV4tlWBk+MNu+1qDVP41OkePVjzvrQDc4=; b=DU6Vpmc5YfZi86/TwdK0MeUnaXVsHLI96yvcM+WD7HR1tERZIblvyEQsNP62kQpbcuHS Z+uR6yS1mnAdYe11nO5c3jQDwHDGNYvNEElMWFEWWw8VkeXeXJK3+6N7wJBNKa9DqMwA UKZ3v6p536KBrxgCk2iTPJlV2HJB+tJNWxyCZQp/tfVMMVpO+Ny8x2FsYdtjjnUfsH9A RvVf57H4YB2nbS83lkXyvOKs/OAndy2s+X2AjomElzAq3uZ+tAE1rnnkeUdVTRUHm0lb 8nll9wFePPPTJ4yXpHJBpYNSeZXH69uScM+r+lws8oWicGuC6599z2rPR18b5l3clXRl Ng== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com with ESMTP id 36hugqbs0f-4 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 10 Feb 2021 06:10:32 -0800 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 10 Feb 2021 06:10:27 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 10 Feb 2021 06:10:27 -0800 Received: from octopus.marvell.com (octopus.marvell.com [10.5.24.3]) by maili.marvell.com (Postfix) with ESMTP id 9FD2F3F704E; Wed, 10 Feb 2021 06:10:24 -0800 (PST) From: To: , , Subject: [PATCH v2 09/12] dts: a3700: enable dma coherence Date: Wed, 10 Feb 2021 16:09:46 +0200 Message-ID: <20210210140949.32515-10-kostap@marvell.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210210140949.32515-1-kostap@marvell.com> References: <20210210140949.32515-1-kostap@marvell.com> MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.737 definitions=2021-02-10_05:2021-02-10, 2021-02-10 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210210_091037_442505_6E0F7FAE X-CRM114-Status: GOOD ( 13.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: andrew@lunn.ch, jaz@semihalf.com, gregory.clement@bootlin.com, linux@armlinux.org.uk, nadavh@marvell.com, robh+dt@kernel.org, Konstantin Porotchkin , stefanc@marvell.com, mw@semihalf.com, bpeled@marvell.com, sebastian.hesselbarth@gmail.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Stefan Chulski Enable dma coherence for PCIe and memory-mapped devices on A3700 platform Signed-off-by: Stefan Chulski Signed-off-by: Marcin Wojtas Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi index d5b6c0a1c54a..c01351172875 100644 --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi @@ -71,6 +71,7 @@ compatible = "simple-bus"; #address-cells = <2>; #size-cells = <2>; + dma-coherent; ranges; internal-regs@d0000000 { @@ -486,6 +487,7 @@ #interrupt-cells = <1>; msi-parent = <&pcie0>; msi-controller; + dma-coherent; ranges = <0x82000000 0 0xe8000000 0 0xe8000000 0 0x1000000 /* Port 0 MEM */ 0x81000000 0 0xe9000000 0 0xe9000000 0 0x10000>; /* Port 0 IO*/ interrupt-map-mask = <0 0 0 7>; -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel