Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1963715rwl; Wed, 12 Apr 2023 22:59:00 -0700 (PDT) X-Google-Smtp-Source: AKy350aJccoVENztmq7OsnL87kN5rNZQrX9kNxup6LMn7cAYpF0ZG5eH0f65v2HQN71DcC9iVuV+ X-Received: by 2002:a05:6402:26c4:b0:4fc:97d9:18ec with SMTP id x4-20020a05640226c400b004fc97d918ecmr4399045edd.21.1681365540345; Wed, 12 Apr 2023 22:59:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681365540; cv=none; d=google.com; s=arc-20160816; b=Hpq4K23rwp9MRsPZNyrqgPgnwfLaeMhqsDebwR5NMn3Pv/7Hg1G9NbYFBrqNyYnMLT PGm01wuPhUB4ULBvSdy5l80ULKO/LvIySNf3iXCibWfv0/ANTxaTo5wWqWIkGmLIZLZO 6QwBS61zNavWD5rQbgtM0UB5aZ4gJQY5C4tF9XELaBWnHJzpNSsiexrbVoeT+b1yfObB MLySmwD77u2+4UbaOUFsC469XRu/0Ge60UY/BYcmYam1R3pO6ZAHYwjhCndjLtit0Gr9 tX+HHIpzPtaWB85uSMBnzzehfPnQ3//xtr+nwq+FCEoTwzF/nDs0K5MXkcChPODukwbz 6ISQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=JXn0CUcuMWb4wkleuP5EkTzadTX5cRASyBFA/zDBBgU=; b=Njdg0x+PdQypRA6ene/aAl1M3gIXyFNcSNf1Z71c2MUVREh/NCnRt3A8SjdUB45rjk fAyrsDoeB6bLYKdsD3sb/uK1LZmzuaok5WPRNqUwDoxHcpWDVczcVMCtg4xQm0JrUDpg qz7Ut7P/isEZbh13X4uRYo/m3YCNIUNRJOqbRwdOARjY7aqlzYJ1bokyvJ/wZQCl5+cI Pxk1vDgfq18fMt9J+yN7OAZCWcvbfr+IJFTcfO651C+H+J09jVaClP+PmlaLqvb61wmL G8C9bieYsko/LKHgftst/DL8rK7uM19oDVCq0ZwsrwnbaUS427swnvmM/XooP8DkpyrH nV/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=BNm7Oygn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l5-20020a056402028500b005066aeee6ccsi1001189edv.231.2023.04.12.22.58.35; Wed, 12 Apr 2023 22:59:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=BNm7Oygn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229818AbjDMFmM (ORCPT + 99 others); Thu, 13 Apr 2023 01:42:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbjDMFmL (ORCPT ); Thu, 13 Apr 2023 01:42:11 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80C0E2688; Wed, 12 Apr 2023 22:42:10 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33D5FfAe057595; Thu, 13 Apr 2023 00:15:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1681362941; bh=JXn0CUcuMWb4wkleuP5EkTzadTX5cRASyBFA/zDBBgU=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=BNm7Oygn58bWXT7zTzOToBxUXtaToq4EP/a/tH4fKcnkbayEJXTS24gpuo1imzXpP nXMfYACz2rElsq77xnlEv0/w4Ws4upFVmkreCRuQvW9T4iXUWBAMbV9v8B2E5G8Kl9 U/9xxBQXJgrAU+B+ROhk8nJI4vnZb+Ttqy2REr5s= Received: from DFLE110.ent.ti.com (dfle110.ent.ti.com [10.64.6.31]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33D5FfBd109985 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 13 Apr 2023 00:15:41 -0500 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Thu, 13 Apr 2023 00:15:40 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Thu, 13 Apr 2023 00:15:40 -0500 Received: from [172.24.145.109] (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33D5Fbrg028761; Thu, 13 Apr 2023 00:15:37 -0500 Message-ID: <36fc3872-96ba-e503-cfff-754036e561e1@ti.com> Date: Thu, 13 Apr 2023 10:45:36 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH] arm64: dts: ti: k3-j721s2-main: fix msmc node Content-Language: en-US To: Nishanth Menon CC: , , , , , , , , , References: <20230412173609.1307837-1-u-kumar1@ti.com> <20230412195656.a53nalvjuhelniz4@populace> From: Udit Kumar In-Reply-To: <20230412195656.a53nalvjuhelniz4@populace> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Nishanth, On 13/04/23 01:26, Nishanth Menon wrote: > On 23:06-20230412, Udit Kumar wrote: >> On J721S2 SOC, l3cache-sram size is configured as zero by >> system firmware. >> Also top 64K of msmc_ram (0x703F_0000 to 0x703F_FFFF) is used by system >> firmware tifs-sram. >> >> This patch removes l3cache-sram node and update range for tifs-sram. >> >> Fixes: b8545f9d3a54 ("arm64: dts: ti: Add initial support for J721S2 SoC") >> >> Signed-off-by: Udit Kumar >> --- >> arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 7 ++----- >> 1 file changed, 2 insertions(+), 5 deletions(-) >> >> diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi >> index 2dd7865f7654..cbc784f915a9 100644 >> --- a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi >> +++ b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi >> @@ -17,13 +17,10 @@ atf-sram@0 { >> reg = <0x0 0x20000>; >> }; >> >> - tifs-sram@1f0000 { >> - reg = <0x1f0000 0x10000>; >> + tifs-sram@3f0000 { >> + reg = <0x3f0000 0x10000>; >> }; >> >> - l3cache-sram@200000 { >> - reg = <0x200000 0x200000>; >> - }; >> }; >> >> gic500: interrupt-controller@1800000 { >> -- >> 2.34.1 >> > Are you saying that j721s2 is incapable of l3 cache? say some level 1 > errata? No > or is it because, the chip is really capable of l3 cache and we are > really setting it to 0? > > https://git.ti.com/cgit/k3-image-gen/k3-image-gen/tree/soc/j721s2/evm/board-cfg.c#n71 This is because, l3 cache size is set to zero. > unless the chip has an errata, you are supposed to fix it up based on > configuration by using the API and this patch is a NAK > https://software-dl.ti.com/tisci/esd/latest/2_tisci_msgs/general/core.html#tisci-query-msmc ok