Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2221782rwd; Fri, 16 Jun 2023 00:30:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4GeWATNM3AZW2eB77KWSZd5fznrsoSQd5AmFN2cP5d8asV2VMjh0hCb07NPqzA3jI3pvcK X-Received: by 2002:a17:902:ab5c:b0:1b4:5697:d9a8 with SMTP id ij28-20020a170902ab5c00b001b45697d9a8mr968670plb.24.1686900633485; Fri, 16 Jun 2023 00:30:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686900633; cv=none; d=google.com; s=arc-20160816; b=rCW4aSKi4f3Y2xBNWuEtcpZ9rXqnhofJgUfulWgMEb66ygRPGQfSeGyMPPfwkG9qLt LAO5Jtu6+SyUqqziZPB+5WzRR4H98jgb43x5/Xnv75XumzSQtis+T32Cb9gVNupodHRU rZ4XMSGX/FQhNEKcelLbWJ93UITWs2lLHg28D6TCY1yB6a8Es1+BQzzmliabyicQ8pjF tV4Y+qV44ZHy9f5schJZlu69r/PxQvQibsZOZs46LzV9vFPVyOxIs8GJ2QsT3GDuMjrx xetWZwMx+PxzS8yz2xTJRjC5TOIiRJihmSIoZOwRwOIneXMraYnt9i12h4sJ57rTFACq Lofw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Tpze9TUVJHynLjdP+GtnzdEuwJI6Rj8PjtY5Ob++aYY=; b=0mba0T1AJeU+3JPPTDzNoQj3FgVotOz+T0+g8fTQRfDK7CycfHnKYPihy5eWJVfyMO EVDRED910/HB7nE88fhhEztCcwuke6me3bkNfLIKa77RCxVM92s5wU6uS+aSporjA861 7SqrbEH4re+fPV3xIe2wK6/WqjzfEO8BKChPKrxkoMXeEYKOiNkcJzA9UKF+rurPfyYJ 1h/WUijWshbpFscsyaSJsAt7GvfZUMszYUEf1vUc4vgRQ1nAWWb6kK+565tDcM7minQV heyiNXVCqUZbzI54Vqhen0f3x0ySmwVAIY62XRLY5hEGXAErJ0P3JNzPuUggAU5AyKuN cGCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nUWwe8XL; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l2-20020a170902f68200b001b3be6856dasi838716plg.628.2023.06.16.00.30.20; Fri, 16 Jun 2023 00:30:33 -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=@linaro.org header.s=google header.b=nUWwe8XL; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233027AbjFPGxZ (ORCPT + 99 others); Fri, 16 Jun 2023 02:53:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242175AbjFPGxX (ORCPT ); Fri, 16 Jun 2023 02:53:23 -0400 Received: from mail-qv1-xf31.google.com (mail-qv1-xf31.google.com [IPv6:2607:f8b0:4864:20::f31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9F11296C for ; Thu, 15 Jun 2023 23:53:20 -0700 (PDT) Received: by mail-qv1-xf31.google.com with SMTP id 6a1803df08f44-62de668852dso4072206d6.2 for ; Thu, 15 Jun 2023 23:53:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686898400; x=1689490400; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Tpze9TUVJHynLjdP+GtnzdEuwJI6Rj8PjtY5Ob++aYY=; b=nUWwe8XLNUTVjVmjtZcUK9ryHZEt9qKqWQotbbpaSVmZfPQeZ4NxV6uAeE75T7W+9I MReEMq81h+brjHnv2impeAk4hhI/f2JrrUUl2s9TojKjg0UDnJJDaq4aZS5QRIRaFja8 Ve0D7kNWVfRSNbdEGRZqwDJtRvbZme3q/oVY9FB8/7kdFEYYm7sIrVDTjZ0nKMRFViFZ WQNvQea/T4VLZmAhkhF4Ad4kbA/gHpycn757WQ/35Y848VXoUQ8kcq7UF8f/h72c5rhG W+D8lhHNLxf6vJkIGOYEW5m5co0+8IwGCTKKJXiaOFeIep4MRP1AmjGG48xLOW5iccjN sPrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686898400; x=1689490400; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Tpze9TUVJHynLjdP+GtnzdEuwJI6Rj8PjtY5Ob++aYY=; b=aeaS4gixeAzsseQlvM+eNM19BtCeV0GWnnx+K13B3MxsI2ujlRvGBko2AG5kuAiehV 1JlbOJKNbbR5C2W+DnuvOx+8fTfcSKGnWX32+Mj5AiIJSJ0/trmhdu4sjYZ7/t2+VTm3 R3N4twdQr+KXWicflGzfJlJF0+5uVID/EHGpc4eW5Jo1Apy5dP4epUJizXCvPrYWqdLi JwcCOkbWt2HCXiesD/r+LD+vtB4Pi/LIqA7L2eT5aUy5LFxPm/tPv2MEeASMFEpnV/jW lr5AHIN4V1MBSA4V74bx8eoudzpuzGALTtlsniVADtVnTGna+MeC9VgY5dQS9rqhNLMc vm6g== X-Gm-Message-State: AC+VfDzs8D9UWvqp9eed9aH8lM6QwZAZbhxCBVvbdwxg8VD+z3w7dR2I evRCIZ9BsphqVpY5GgwJFViA9Bk1XBP61C5WAWbuhA== X-Received: by 2002:a05:6214:1304:b0:61b:6fcd:34b7 with SMTP id pn4-20020a056214130400b0061b6fcd34b7mr1655550qvb.17.1686898399978; Thu, 15 Jun 2023 23:53:19 -0700 (PDT) MIME-Version: 1.0 References: <20230615142711.2994811-1-amit.pundir@linaro.org> <5377c938-10df-20ce-2bdb-dad41e472041@linaro.org> In-Reply-To: <5377c938-10df-20ce-2bdb-dad41e472041@linaro.org> From: Amit Pundir Date: Fri, 16 Jun 2023 12:22:43 +0530 Message-ID: Subject: Re: [PATCH v2] arm64: dts: qcom: sdm845-db845c: Mark cont splash memory region as reserved To: Konrad Dybcio Cc: Bjorn Andersson , Andy Gross , Dmitry Baryshkov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Caleb Connolly , linux-arm-msm , dt , lkml Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,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 On Thu, 15 Jun 2023 at 22:56, Konrad Dybcio wrote: > > On 15.06.2023 16:27, Amit Pundir wrote: > > Adding a reserved memory region for the framebuffer memory > > (the splash memory region set up by the bootloader). > > > > Signed-off-by: Amit Pundir > > --- > > v2: Updated commit message. > > > > There was some dicussion on v1 but it didn't go anywhere, > > https://lore.kernel.org/linux-kernel/20230124182857.1524912-1-amit.pundir@linaro.org/T/#u. > > The general consensus is that this memory should be freed and be > > made resuable but that (releasing this piece of memory) has been > > tried before and it is not trivial to return the reserved memory > > node to the system RAM pool in this case. > > > > arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 8 ++++++++ > > 1 file changed, 8 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts > > index e14fe9bbb386..10a06ee8e262 100644 > > --- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts > > +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts > > @@ -101,6 +101,14 @@ hdmi_con: endpoint { > > }; > > }; > > > > + reserved-memory { > > + /* Cont splash region set up by the bootloader */ > > + cont_splash_mem: framebuffer@9d400000 { > > + reg = <0x0 0x9d400000 0x0 0x2400000>; > > + no-map; > > + }; > > + }; > &mdss { > memory-region = <&cont_splash_mem>; > }; > > ? Thank you. Updated in v3. > > Konrad > > + > > lt9611_1v8: lt9611-vdd18-regulator { > > compatible = "regulator-fixed"; > > regulator-name = "LT9611_1V8";