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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 38DE3C433E6 for ; Wed, 3 Feb 2021 13:35:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E37F364F9A for ; Wed, 3 Feb 2021 13:35:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232050AbhBCNex (ORCPT ); Wed, 3 Feb 2021 08:34:53 -0500 Received: from mx0b-0016f401.pphosted.com ([67.231.156.173]:61038 "EHLO mx0b-0016f401.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231493AbhBCNdK (ORCPT ); Wed, 3 Feb 2021 08:33:10 -0500 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 113DQFAr011143; Wed, 3 Feb 2021 05:32:19 -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=5XCTbd4sxWv6UofxYI0B+SHB9sRlx1P1yl8YzOz2sBA=; b=fDTtvypWVnulK14XaHEhyYNson5pVr2p/ktJIsKQRWmrjq21V3QuOBITyht0NXQyV8nd jMksKaZlQiHBQUklBHKOBMTqJVegA/y1BhVrSEqvPZ8nmmSJiRBRgfPdvJgXSqOuVmCx eopx4rW8N5YuHe3j4sm9HnzUY4jT4gMTbCSbwQZ7TFjgEffFql/92OJCoYqjazP10Mdk N7eorQhz1zfkOwSaZTRpixfULiHvgHlt6DdW2ZfEKNrYXoLqo79b7dTQaLWgRuhRBE09 yn9JtdQXFsqgH6VsZ68IqAVAy4F8lon87ijfnSJTaKEVdMQM4LTD125YSoUpGb4NHXp+ dQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com with ESMTP id 36fnr61558-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 03 Feb 2021 05:32:19 -0800 Received: from SC-EXCH03.marvell.com (10.93.176.83) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 3 Feb 2021 05:32:17 -0800 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 3 Feb 2021 05:32:16 -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, 3 Feb 2021 05:32:17 -0800 Received: from octopus.marvell.com (octopus.marvell.com [10.5.24.3]) by maili.marvell.com (Postfix) with ESMTP id 085903F703F; Wed, 3 Feb 2021 05:32:13 -0800 (PST) From: To: , , CC: , , , , , , , , , , "Konstantin Porotchkin" Subject: [PATCH 09/11] dts: a3700: enable dma coherence for PCIE interface Date: Wed, 3 Feb 2021 15:31:36 +0200 Message-ID: <20210203133138.10754-10-kostap@marvell.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210203133138.10754-1-kostap@marvell.com> References: <20210203133138.10754-1-kostap@marvell.com> MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369,18.0.737 definitions=2021-02-03_05:2021-02-03,2021-02-03 signatures=0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Stefan Chulski Enavble PCIe dma coherence for A3700 platform Signed-off-by: Stefan Chulski Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi index d5b6c0a1c54a..5c0df06bc707 100644 --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi @@ -486,6 +486,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 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 E83A2C433E0 for ; Wed, 3 Feb 2021 13:34:07 +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 84A9564F7E for ; Wed, 3 Feb 2021 13:34:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 84A9564F7E 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=jPq6rZRGKURh1LQRKpoMI5FeLu1CX37dR5tGOi1pu0A=; b=ExQJAp+NzaHn6ZsAacSeAZzTq u6usKDnd7Q1RvkCwYB5Bng2k4m4rfPOrE8fFcm7p2JXZiDfI38K4+9jSKVcWg47rIvIYaxjSt081M 7KNBGK2xI9NXou/sYhUqF2xTKJ/IG3slREvDY/0HeTGmIo3Ro2NE6ngKRKjX5P2QRP7viOgTTdaOg w686qfR7VfIAZYLtjQ0Xc2OWCF3VHfOLF6xVKA/9erNWXaO0uE6Gdj0ugpEPvyWjcs755oHjJ7GmT aO6GGwdsdr3NPJXeSfm46ShXaNB+dcZGmx7lffTVzPjVxQUV6XHh2fV7/aR3SoUFf6CtoqeNSCqIZ 03oBe5RjQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l7IH8-0003L1-Og; Wed, 03 Feb 2021 13:32:54 +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 1l7IGf-00036q-GB for linux-arm-kernel@lists.infradead.org; Wed, 03 Feb 2021 13:32:26 +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 113DQFAr011143; Wed, 3 Feb 2021 05:32:19 -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=5XCTbd4sxWv6UofxYI0B+SHB9sRlx1P1yl8YzOz2sBA=; b=fDTtvypWVnulK14XaHEhyYNson5pVr2p/ktJIsKQRWmrjq21V3QuOBITyht0NXQyV8nd jMksKaZlQiHBQUklBHKOBMTqJVegA/y1BhVrSEqvPZ8nmmSJiRBRgfPdvJgXSqOuVmCx eopx4rW8N5YuHe3j4sm9HnzUY4jT4gMTbCSbwQZ7TFjgEffFql/92OJCoYqjazP10Mdk N7eorQhz1zfkOwSaZTRpixfULiHvgHlt6DdW2ZfEKNrYXoLqo79b7dTQaLWgRuhRBE09 yn9JtdQXFsqgH6VsZ68IqAVAy4F8lon87ijfnSJTaKEVdMQM4LTD125YSoUpGb4NHXp+ dQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com with ESMTP id 36fnr61558-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 03 Feb 2021 05:32:19 -0800 Received: from SC-EXCH03.marvell.com (10.93.176.83) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 3 Feb 2021 05:32:17 -0800 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 3 Feb 2021 05:32:16 -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, 3 Feb 2021 05:32:17 -0800 Received: from octopus.marvell.com (octopus.marvell.com [10.5.24.3]) by maili.marvell.com (Postfix) with ESMTP id 085903F703F; Wed, 3 Feb 2021 05:32:13 -0800 (PST) From: To: , , Subject: [PATCH 09/11] dts: a3700: enable dma coherence for PCIE interface Date: Wed, 3 Feb 2021 15:31:36 +0200 Message-ID: <20210203133138.10754-10-kostap@marvell.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210203133138.10754-1-kostap@marvell.com> References: <20210203133138.10754-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-03_05:2021-02-03, 2021-02-03 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210203_083225_755043_F2E49C88 X-CRM114-Status: GOOD ( 12.93 ) 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 Enavble PCIe dma coherence for A3700 platform Signed-off-by: Stefan Chulski Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi index d5b6c0a1c54a..5c0df06bc707 100644 --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi @@ -486,6 +486,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