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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 66C6FC25B6B for ; Thu, 26 Oct 2023 18:53:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230008AbjJZSxG (ORCPT ); Thu, 26 Oct 2023 14:53:06 -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-Google-Smtp-Source: AGHT+IEaensjbTbZ95CdUwbV/cQYQV+gNN+JsxWtfhZGK66ZooXahenjpHcQYV4syUFfh6gXkr//ig== 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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