Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp789220pxj; Fri, 11 Jun 2021 11:30:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxMHhrHQ+g6QobiNK/+PpzaFx8EXOn4pUfG7g2Q8nKBy6KdLzs7pVBe5WI+8GijCRzhZJlE X-Received: by 2002:a17:906:388b:: with SMTP id q11mr4867548ejd.43.1623436243448; Fri, 11 Jun 2021 11:30:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623436243; cv=none; d=google.com; s=arc-20160816; b=uVu9ZzAmUlv8qXN5f3p6eMS8yCWNL2iOYRM1ZLIe+Ccq5B8tvRJeZml7dThMl5rUIH P2mxlDKLB32bJ03dG/zltLBqcYK0342QeqOJCNcc2fyl/8PPQwS+K1hj+VfsQnHIxt5j LOKweuvf9+moR30A2CPx4WpuVD1k2xu6a/HpbpbPoD3cRqTZ/Yvm1DSszkbfHG9xwMZh nVWNpFBJKVydGyJb9klo8yf5mcjPTrAWLdv1Bfo3Rhcp1ELWCWgVJiIjdajgm8f/P79M kjI0ut2fJ9R5ROFq4nL7ejQuKkihu6wNvCFtmtWcPchyeDIsgxNy8hA79kwmIxKJ0Jg3 UwaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=vtJi8HBsHLPlK+HgyQZECoQroPA7sQr/5MsATuQ6VT8=; b=a0ZMlEhG2f4s6jGE31TMxb3VzpdRBwMctrkEAEPmf0c9shVRhf5x1gpgLNDZ/dWzgP toOizbBF/wN7lc6FTH+KQWup++g2rCVCpjo2FAIVpo05fhAXuYTv+DekyK4kiUGLzjrQ gOSPqNOj6CIvzhAstqSQKxwMbWJFZrEBVOWfJHqNPdzG9kMVSfrCNSR8R7myC92m43sJ 92GoTFwe5Oss8LqmkTK8F1gjEc/vfT7nY84cOAryskcwpGHf2ggJC8EZbFjiuq0ipBFL WBClpQJtvLYxZP6LcujcWlgza4mPCQOlSpeyQ19oSnG/T30BaAFP7e3WvqSbmbu7xJaS wybA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=tvXsxuiy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h3si5685933ede.590.2021.06.11.11.30.20; Fri, 11 Jun 2021 11:30:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=tvXsxuiy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S230017AbhFKSbW (ORCPT + 99 others); Fri, 11 Jun 2021 14:31:22 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:47916 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229753AbhFKSbR (ORCPT ); Fri, 11 Jun 2021 14:31:17 -0400 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-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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