From patchwork Mon May 10 18:06:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vignesh Raghavendra X-Patchwork-Id: 12249203 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.4 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,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 A8C51C433B4 for ; Mon, 10 May 2021 18:09:34 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 2F990611BF for ; Mon, 10 May 2021 18:09:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2F990611BF Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=fIrDTvTbQAs8Z14fpMY9EhavFBI6L1Y11ILO2BmHsyY=; b=nw2lQ0GB8Agol1Gmv6JljC8c1C 81nZHV0krkZVcS4tTwLu+Tnj4EprQ2l2xP6QI7FSCxCDr9opZkKPyuOwFCsKdf+s/HdxDtsJz+TqS /g6tOD/tGyghibLzbnYmnhoKo+BzEE3QQUuz542FFhENsvmYMrVv7tIhRtX8S/fAvhejDRq+L2SUb xqQsiKBth6gOxTArFE9/L808Uapb8B9ciNcNdd2x2cIJ/OdH+huTAMUuGAcuQEXtkQGxAontkrpNz ZIGj/IEIuzEau5u1wQcvegVKVZloLQvwLYorKLfuHqFLZ/60u5ouwvQo3X5Q8BVxl8ZXwCwsOmbC3 veoOrW2Q==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lgAK8-00FNKC-CO; Mon, 10 May 2021 18:08:10 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgAIL-00FMgh-6G for linux-arm-kernel@desiato.infradead.org; Mon, 10 May 2021 18:06:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type: Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:CC:To:From: Sender:Reply-To:Content-ID:Content-Description:In-Reply-To:References; bh=+ymKHzTttndT+GEoa/+WOh5EyYjEL3llmrmJjo9sJG4=; b=I2p2vlPaTXCzcWRmsVWytt12TI x0dQus3tfwPWnbcIcYgAJ4CTDSLYnDGvJ5jCSu8PzdleiJUz9b5eJ7e7ZWArTf+eX7sf0e40yecSn BQsvNSsqjX0Ehi28D1cHhi0k4JzwdayLMZajdfGXoHvW7hDMrMXektDIHf8pcyNHnkfXjwcshCmhX rJG3BqMYgF+I7yn0Bx6BhSOOiiPl6XHyBSRM9tWGRfCGzy9NRgsi+roJbpxAI9gZJmtjrrhNa3Nkh x9sjDUY585LJ/7Y13LA6/ru3RzzWMkxJ6ds1hfKL1bZyxcahWnYAe/QRurS7ByV6xcRmjWnq9+feG UIvHjKmA==; Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgAII-0091I8-9x for linux-arm-kernel@lists.infradead.org; Mon, 10 May 2021 18:06:15 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 14AI6AhD126158; Mon, 10 May 2021 13:06:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1620669970; bh=+ymKHzTttndT+GEoa/+WOh5EyYjEL3llmrmJjo9sJG4=; h=From:To:CC:Subject:Date; b=cFv4+DPMH6WNLBF+4CT0fVK8vALHVHAnWqJWilcv6yTgTWdNOpmC/MUX72woLKaEs K30nRtRIGRj1L8c7EBcVgaOu59PhdEX/cXg+cqvKeFapdu/N65NI3zGTiya6pNwVRY HG8SgfoGxJ2K2D6vVfFPH9bxtF54pZLa2x9mTHYI= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 14AI6Aq3066625 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 10 May 2021 13:06:10 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Mon, 10 May 2021 13:06:09 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Mon, 10 May 2021 13:06:09 -0500 Received: from ula0132425.ent.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 14AI66K3001704; Mon, 10 May 2021 13:06:07 -0500 From: Vignesh Raghavendra To: Nishanth Menon , Tero Kristo CC: Rob Herring , =?utf-8?q?P=C3=A9ter_Ujfalusi?= , , Linux ARM Mailing List , , Vignesh Raghavendra Subject: [PATCH v2] arm64: dts: ti: j7200-main: Mark Main NAVSS as dma-coherent Date: Mon, 10 May 2021 23:36:01 +0530 Message-ID: <20210510180601.19458-1-vigneshr@ti.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210510_110614_403533_C2D5A65D X-CRM114-Status: UNSURE ( 9.69 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Traffic through main NAVSS interconnect is coherent wrt ARM caches on J7200 SoC. Add missing dma-coherent property to main_navss node. Also add dma-ranges to be consistent with mcu_navss node and with AM65/J721e main_navss and mcu_navss nodes. Fixes: d361ed88455fe ("arm64: dts: ti: Add support for J7200 SoC") Signed-off-by: Vignesh Raghavendra Reviewed-by: Peter Ujfalusi --- v2: Pick up Reviewed-by and update commit msg as suggested by Peter v1: https://lore.kernel.org/r/20210427175130.29451-1-vigneshr@ti.com arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi index f86c493a44f1..a6826f1888ef 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi @@ -85,6 +85,8 @@ main_navss: bus@30000000 { #size-cells = <2>; ranges = <0x00 0x30000000 0x00 0x30000000 0x00 0x0c400000>; ti,sci-dev-id = <199>; + dma-coherent; + dma-ranges; main_navss_intr: interrupt-controller1 { compatible = "ti,sci-intr";