Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp655334rdh; Thu, 26 Oct 2023 11:53:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE8Md+xQJusNRGtCUyBbvsKku4RqJdtniXwG8gYP5x8bSwH8uCFaTaZeqanIj0Wt1yZ4r0d X-Received: by 2002:a81:c50a:0:b0:5a7:d986:a9bb with SMTP id k10-20020a81c50a000000b005a7d986a9bbmr393002ywi.3.1698346403551; Thu, 26 Oct 2023 11:53:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698346403; cv=none; d=google.com; s=arc-20160816; b=Kcn1WPPj9D4Nzv0Fs0lj8opWa3AByKtF8K13cXBVzmS18KLRTUwN7PSV9xQj49LdIH l5JgU8KGBRYk9vSN9FdGQxRqw8EoXe+NGGtLzuGFjgq5MwvE50zM2SMzcH4R/J2ctw2e ebntOLhRCpXh5XVMZjerd4WMYH18JrG61bGaUrACdPKMVMlb5ys7xucs6W4lfSRZGUGJ EPLF9aQ0zO6S2HxJK6uekWbFOC7g9vl2yBS+KkI4g/3FAUHGakpZeZqboBSGMuuh04nP /9F/CtGBgt2B8znEtEKMsUWjsYm53xuTjIcbE98HgC79gqjAg9s3XF3MXAdtEqc1HMDO tT/g== 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=cGBbFnVPmOFrjTHoEzH5J6H2Hqy+10FpHLwr0vLtfI4=; fh=pABYak936yv9CES8NpQk4NYSL9js3llN3mxvSFKWuqc=; b=aA7o1mjFUvjJRi55kimNYbmKFj7xf0PMwkZk/7RSkcSUA8e6PvyeQwJWLvL0yu0Vkd kJxLohzDVJxv6zq5NDi9f+kgADJhgEQeI0wdRlMRxoYSr0fptSf1XOwO3wR6Zw8HpKM4 zQ/rxKqIm936BIvrPXAir8dDjyPujekg5CVe4WeUGVTnkSn0CNFYKt9d9GRnN/Wjcqgl vzP9cmvPrZSKZOR4NYVGKUrxJs3VdT69raEudFCCYsyGSWfSE0EuJlKDHBmcr+dbf6MR x6zeBzrVTKetUAxubs/FCItUJXJtK5UQMoDOuCHVclGhx0HECU+qlHmMa4bUdPuE241y JN7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ws76dRbc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id d129-20020a814f87000000b005a22a113fc4si14967263ywb.143.2023.10.26.11.53.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 11:53:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ws76dRbc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 0F4C281BDA6F; Thu, 26 Oct 2023 11:53:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231318AbjJZSxE (ORCPT + 99 others); Thu, 26 Oct 2023 14:53:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231178AbjJZSxC (ORCPT ); Thu, 26 Oct 2023 14:53:02 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F8B21A5 for ; Thu, 26 Oct 2023 11:53:00 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-507b9408c61so1782690e87.0 for ; Thu, 26 Oct 2023 11:53:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698346378; x=1698951178; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=cGBbFnVPmOFrjTHoEzH5J6H2Hqy+10FpHLwr0vLtfI4=; b=ws76dRbcGrbVidpvwTMGfTv0Po8XM4dqUElpcxliVp67dzzMjAh34iXtxwN8MWm4hA Gb9r1OUzihI3fvCzmDxwQ58kt37b+8/6RSCQXXj34+aZKrIluy+1311MlSL0JizPnQgb pc0/KlbnQ8plP3G1yOpsWw+suqki/bicemffPMIkgDn8U9kLaZIRzppaRAmVnjtI8Sf5 b7VZYfS/D90nhaqBiAWqZFyTuo4taTlA5hv/OExEXSzNlmGFo+1R4llSzzGX07Fe/iyq +49HgzA2ZMr6nPPT3fo1HGH2N49TQ3jDAII8MNrXAY9ZlT2dd4/TeQkUZ8rSvCYa3QF8 fP4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698346378; x=1698951178; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=cGBbFnVPmOFrjTHoEzH5J6H2Hqy+10FpHLwr0vLtfI4=; b=qQBEqpGDiPBXGOGGbsGzmOq2rBeqtX1EkokS+XljBnxa00Ish2EOyc1v79cGAvoovY y3pjcwY1/sf/yKya7kJvD0vNK8L0VFDFgpiDAmhqARieWbzPvCMrdBXA+RF+J2Ay4Ejf heqF6eT2l3c2whSmUqeCr9uKnSKkqRCjJRMlBp+4ykYb7sBCaeZZmm0yVYE1AJNLJvpV rjLk8yvMQIh0UFMOcNeLcMG+jDX4U8iRyBGupq8cmNsr6wAEsgz+6iel8Ux7Cv2UGyAF n1nPEeAFN5c5sahm/zo3O/FOFHRW7kbhjzR4cPXlBshqdd8kXuN3yRsitCKIu5Me9rRP cb2A== X-Gm-Message-State: AOJu0YyAyjpBGzlspWb5xvme48i7EZe6xCbEDhXSo4CFCw1a8hu7RF1/ AiAVhyWqPTJd6ZZVGMmcWAUfrw== X-Received: by 2002:ac2:5a4d:0:b0:507:a6e9:fbba with SMTP id r13-20020ac25a4d000000b00507a6e9fbbamr159161lfn.63.1698346378301; Thu, 26 Oct 2023 11:52:58 -0700 (PDT) Received: from [172.30.205.8] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id h28-20020a0565123c9c00b00507a96d17b3sm3057580lfv.237.2023.10.26.11.52.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 Oct 2023 11:52:57 -0700 (PDT) Message-ID: <0f4b901a-d907-4a10-aaa5-06eb9cb5eb32@linaro.org> Date: Thu, 26 Oct 2023 20:52:56 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] arm64: dts: qcom: ipq5018: add few more reserved memory regions Content-Language: en-US To: Kathiravan Thirumoorthy , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231025-ipq5018-misc-v1-1-7d14fde97fe7@quicinc.com> From: Konrad Dybcio In-Reply-To: <20231025-ipq5018-misc-v1-1-7d14fde97fe7@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 26 Oct 2023 11:53:21 -0700 (PDT) On 10/25/23 18:42, Kathiravan Thirumoorthy wrote: > Like all other IPQ SoCs, bootloader will collect the system RAM contents > upon crash for the post morterm analysis. If we don't reserve the memory > region used by bootloader, obviously linux will consume it and upon next > boot on crash, bootloader will be loaded in the same region, which will > lead to loose some of the data, sometimes we may miss out critical > information. So lets reserve the region used by the bootloader. > > Similarly SBL copies some data into the reserved region and it will be > used in the crash scenario. So reserve 1MB for SBL as well. > > While at it, enable the SMEM support along with TCSR mutex. > > Signed-off-by: Kathiravan Thirumoorthy > --- Bit of a "many things at once" but okay Reviewed-by: Konrad Dybcio Konrad