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=-10.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_NONE,USER_AGENT_SANE_1 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 5301AC48BE0 for ; Fri, 11 Jun 2021 18:31:30 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 22DCD608FE for ; Fri, 11 Jun 2021 18:31:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 22DCD608FE 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=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:From:References:CC:To:Subject:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=a7kKDViTYNB3V9ssTyXN4PNkHqt4wNkYWHzlRszP9CM=; b=KsEs2jZFWGOYAAkxZo3dZxnCS5 e96VXk4anvx7ezJKKd9bZjp1BDP+J8QTmNZryl2hVLVq8vssU39X9wdtw22dvL5YXoZ0aXfaWkApy 3egKlXrV4fnayfNRHx/p4CY5BMG3GXaf6Y3x+zCtoWt9Qj50za59BxBofayAQbzZpw7pYKS9xUyBI 8PHIfl/VKfg/j0Hlg1tNm+F9f/yf2+zjl4HgNG29bLQSgi8mXm+Xa6oXBR1PilN4DkskS8tB0MesS zUN30Y5jCBFbcC49J61S8MJ1DisP8Kdo0bRME31BrfZdS1i21lXBE84NtUF02VC3WX6SrBc8Alhwn fc54BvSA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lrluC-006THc-Pt; Fri, 11 Jun 2021 18:29:20 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lrlu9-006TH6-8N for linux-arm-kernel@lists.infradead.org; Fri, 11 Jun 2021 18:29:18 +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 15BITCv2038947; Fri, 11 Jun 2021 13:29:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1623436152; bh=vtJi8HBsHLPlK+HgyQZECoQroPA7sQr/5MsATuQ6VT8=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=tvXsxuiypwI1mKUZgFlSV2ibW0k+ur2OjjmcXfRZRp8GA8Yq9zwZu/AfXRkgPE6TN 30eacINmO9pgNEYy1evo6z7iRBqyRxqv+LmS4DhQbzF3cU+DATYEWqWne75WThj/7C ulnfChs15UbJoYd8WF70vk/0Nr3MO4BgI6SM9IRY= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 15BITCNs085869 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 11 Jun 2021 13:29:12 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Fri, 11 Jun 2021 13:29:11 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE107.ent.ti.com (157.170.170.37) 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; Fri, 11 Jun 2021 13:29:12 -0500 Received: from [10.250.234.148] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 15BIT9UB014916; Fri, 11 Jun 2021 13:29:09 -0500 Subject: Re: [PATCH] arm64: dts: ti: k3-am64-main: Add SYSFW reserved ranges in OCRAM To: Lokesh Vutla , Nishanth Menon CC: Rob Herring , , , Linux ARM Mailing List References: <20210609140604.9490-1-vigneshr@ti.com> <81e61d1a-efde-0bff-719c-607752bfdbc1@ti.com> From: Vignesh Raghavendra Message-ID: Date: Fri, 11 Jun 2021 23:59:08 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <81e61d1a-efde-0bff-719c-607752bfdbc1@ti.com> Content-Language: en-US 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-20210611_112917_414619_521D99C2 X-CRM114-Status: GOOD ( 13.04 ) 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: , 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 On 6/9/21 8:56 PM, Lokesh Vutla wrote: > > > On 09/06/21 7:36 pm, Vignesh Raghavendra wrote: >> Last 256K of OCRAM (256K@0x701c0000) is reserved for SYSFW usage. Hence >> add an entry in DT so that its not used for generic pool memory >> allocation. >> >> Without this certain drivers using SRAM as generic shared memory pool >> may end up being allocated memory from this range and will lead to boot >> time crash when the reserved range is accessed (due to firewall >> violation). >> >> Signed-off-by: Vignesh Raghavendra > > You might want to re-base on top of Aswath's patch updating ATF address. Otherwise: > > Reviewed-by: Lokesh Vutla > Actually, this patch should go in before Aswath's patch as moving ATF location around exposed issue of drivers getting memory allocations overlapping SYSFW reserved ranges Regards Vignesh _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel