Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7378534rwd; Mon, 19 Jun 2023 23:56:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6jE4Vt3bKcg66jA8ykMNemRa20qR4P9COM08vahu7n9Zed74+etYi/1vyxfXSCdFIuuvQ9 X-Received: by 2002:a17:90a:eb18:b0:25e:c876:26e9 with SMTP id j24-20020a17090aeb1800b0025ec87626e9mr12658864pjz.22.1687244159872; Mon, 19 Jun 2023 23:55:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687244159; cv=none; d=google.com; s=arc-20160816; b=Lx+qheDfkbe7I1i288rnU0wXqBQQ8KuRUEwDUKFJ6FFceHGCCU2qpqNFabc69fAlhO L5j/Sh37EbRajKQ+EWx4uKDKtGpelyZjKBtcHTIKvK5vV6HFikhQMvogiEGqKl0fMx0Y esiBfx7lSVkJUYZOsVQ1z2yQtFtj/cBEoTDnIW9h3MQJ+hfThe7a0dxq2vdSTZJ3eXMZ 6eODgwXanLnAnmPKRIY0JzI375Nh1HZj1jWoP99i7cmuzmKkGV7LLz4UZ4EkxRJeKaBd YP/jTjY2VAeqEcJLzhfreMw2IUAauJ3hkZwFLlTUbk2RBuWZ5FuLLKWCLtlk6btN4mON i3MQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:content-transfer-encoding :in-reply-to:subject:from:references:cc:to:content-language :user-agent:mime-version:date:message-id:dkim-signature; bh=DHFPM2v3b8+Pte2qMF0BE/YbJXCDE4FBM7Oh+mGwTYM=; b=ASubhAW9JqmMVJM2/8kPLVwa6NJFnWGbwmMxhNrUEGJpBgghkhm7kkfHmgeVm7+s3s iOpBGdA2f9quOgtwZCf6kGuseceeweo9vaBmg4Xt5OGMk5scVwZTkAUpQJJF6ZSLF0oV 33ZLI5H+i9W18M/UKmuHgA+zf9cNg7FlUF2rdW5IWFh0V0bXcPGBb3x//vWhSrG31EDA LMPPTPoOv/XmamJh+md52qSsLg66aFb5U7NHGnISdakSLXcNqspxQ2m7KesM12xJ5yhU WADXE3s+jNcKBDLVMVdaIoJK5UsIEkHihOcpLpiDeeRRzD5APFkPwnBRme0cZyfCAJHU FstA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=hEfNUGv4; 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=gmx.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w9-20020a17090a8a0900b0025bb4a1c12esi1292612pjn.148.2023.06.19.23.55.47; Mon, 19 Jun 2023 23:55:59 -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=@gmx.de header.s=s31663417 header.b=hEfNUGv4; 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=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229746AbjFTGY6 (ORCPT + 99 others); Tue, 20 Jun 2023 02:24:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231171AbjFTGY4 (ORCPT ); Tue, 20 Jun 2023 02:24:56 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0EB3E2; Mon, 19 Jun 2023 23:24:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1687242275; x=1687847075; i=deller@gmx.de; bh=P4yET/ii6laUO0c0nA2w7JL4IyFthpA/vzXPBsUXChM=; h=X-UI-Sender-Class:Date:To:Cc:References:From:Subject:In-Reply-To; b=hEfNUGv4oZFo6i7NeRr66V8+HC0Z19w49eyJegnYHUaTis3VcK+QjCzm+nxZIARZybq5iz1 E2brAqU4PyV11XT8w/2ofjvNvlpPCS4FOh6ilx2VTUCYYYZbHNGkqulblBDBZfLxVRhFcTK7B oIMUzsgLqTjDzFde63HcfJdgSahV4I4F2cDi82he1WBLKot5r3sgNB1GMQ25Dsm1wa0Hz3jZz kg0v5NHrrU4wWOq0AXG7YQuLdN1rRb9rwI+Y7qc1x1Qp+bTCCguNJidtuRxxBkyDpY6nxxZWi iseO8qo1qex/MTeK1HCZptluKskuwvN/FM2DGJCSpNA7LLTbc/OQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.20.60] ([94.134.157.8]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MpUYu-1pkBv518uK-00ps7o; Tue, 20 Jun 2023 08:24:35 +0200 Message-ID: <3d8c3a8c-68be-422a-c4ff-6d2e99c3f01b@gmx.de> Date: Tue, 20 Jun 2023 08:24:34 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Content-Language: en-US To: Cyril Brulebois , Rob Herring Cc: =?UTF-8?Q?Michal_Such=c3=a1nek?= , Thomas Zimmermann , Linux regressions mailing list , Salvatore Bonaccorso , linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, stable@vger.kernel.org References: <20230412095509.2196162-1-cyril@debamax.com> <20230412095509.2196162-2-cyril@debamax.com> <11b342dc-1a46-d1be-5fdd-c6eee661e15a@leemhuis.info> <20230615132107.GA9196@kitsune.suse.cz> <20230615200901.GA1572644-robh@kernel.org> <20230615211924.cf2qs52cfaf7m3f7@debamax.com> From: Helge Deller Subject: Re: [PATCH 1/2] fbdev/offb: Update expected device name In-Reply-To: <20230615211924.cf2qs52cfaf7m3f7@debamax.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:/5EbFHqdTR5VZsqWRgQuO1B3pFhNypJeYz67/Gfk+zk8oU7VQHh +VZIjwowX5PZ3z2zjHqKgFfyQGf8bdNU9PEU7PzE3mCVgiKu5kTkeUxVi7c1Bvp5pOoxEwF 3BCkiWoE7TRt3R514QqSXbDTf0vyL2jyRzqdymHfNt2l8YdEAYAiOyQKzzEmymdGqa0m8mY SNP16ZtzRxLCfHo3AYECg== UI-OutboundReport: notjunk:1;M01:P0:zbmZ87N98Vw=;mfvc1cgsO73dUvNLnQLh1n/hqru ji2qD0q7adNzvSs2na/gU8PIC28GNHDnx4Gy+NZgMC8n5dQenxQz9nkoKM/2RQXMQTZDpbBN6 AIPFsSouYdTtry00NaNzIqPz4blCvHHsUA52OOkrk+OimQ4eZd0DebT9+e1fUUmdcRg8YtbHy pF2S9PXcNKeQs+p/4wNGuUptSi+CE5+AG6dKYqVMJLJWiwF0yhf2EKqdceS7zl4YP2t9QPake NNZpU9qann2QCr4BoAAyjCakXodNYUQmltm8jNbEYpjwY6HtuLBzI4QSLrfdUwHGqQwEkViRc RpIKXO0ii+pBneR7zu5u7sGY95DotNxUGHbu5s/jbZgsIGFDWxPAJeD+aMi8qBw4QtbO/oTh7 1zjS/l201UCQPN3ryMPiERbCgOHuAdDwUcnX4MPx0Rhu0UyTcNgk4gjZ+RyQIyjprFccFSE+b v0pXLiAueJ1A1FsQVoQ3lUFcAFUqJrrvYrbCnsfWIsceoUMu1fC5xzkfXL2+MmrTNOH2L9CgO PUs5Lw57XmZ1HKSN/lreKvucnVnBBJHW4EMhOgRVTZGczltM6hILr0AcH7seNBq7xW7p92Nqz HWpgTnAQVPBC1cDpJS443BRaoG+RclTS9WVVxgR18kDJA74rlB0cR/aYAsY3aF6bE9a6J+cc4 3viGZN6VgPBv+SPmNzd4oEEszvoLo3biHhvHAas9PK4Z6Z7s81Gz51lafN8c0TQPMEnY2XLuo 3XLBro8r9GAaOJ3VpWnH57Z9pt6Lah2Jr44KNKIlm6HRF2UbcGepYwHgd43UoJQP3BrKyuo29 DrnEN6v4nnxAFStVj19KK4Jjd8r4cLWCjLJm/9/ByRlcuUMgm0yuFg35ioAC0+UqC2oRv41/e 1tmR4rxD9hnrleliemSKb9itdhUSIOqA9tBp1PezLz/NDcatUgZHPcltOCD5mCJ9ULa2kugiU PxYbSmWZbRu5W6tZibZAgSNNYDQ= X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,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 6/15/23 23:19, Cyril Brulebois wrote: > Hi Rob, > > Rob Herring (2023-06-15): >> On Thu, Jun 15, 2023 at 03:21:07PM +0200, Michal Such=C3=A1nek wrote: >>> At the time this was proposed it was said that "of-display", is wrong, >>> and that "of-display.0" must be used for the first device instead, and >>> if something breaks an alias can be provided. >>> >>> So how does one provide an alias so that offb can find "of-display.0" >>> as "of-display"? >> >> I'm not aware of any way. There isn't because device names and paths ar= e >> not considered ABI. There are mechanisms for getting stable class devic= e >> indices (e.g. i2c0, mmcblk0, fb0, fb1, etc.) though not implemented for >> fbN (and please don't add it). >> >> In any case, this should be an easy fix. Though if "linux,opened" or >> "linux,boot-display" is not set, then you'd still get "of-display.0": >> >> diff --git a/drivers/of/platform.c b/drivers/of/platform.c >> index 78ae84187449..e46482cef9c7 100644 >> --- a/drivers/of/platform.c >> +++ b/drivers/of/platform.c >> @@ -553,7 +553,7 @@ static int __init of_platform_default_populate_init= (void) >> if (!of_get_property(node, "linux,opened", NUL= L) || >> !of_get_property(node, "linux,boot-display= ", NULL)) >> continue; >> - dev =3D of_platform_device_create(node, "of-dis= play.0", NULL); >> + dev =3D of_platform_device_create(node, "of-dis= play", NULL); >> of_node_put(node); >> if (WARN_ON(!dev)) >> return -ENOMEM; Michal, does that patch look correct? I don't have that hardware, but that way the boot-display gets named "of-display" while all others get "of-display.x".... > I've just replaced my clueless workaround with this patch on top of the > kernel found in Debian 12 (Bookworm), i.e. 6.1.27 at this point, and it > indeed fixes the black screen problem in the installer's context. ... at least it fixes the issue. > I didn't run a full installation to check whether this kernel is also fi= ne > after rebooting into the installed system, but as far as I understood fo= r > the original bug report[1], it wasn't affected in the first place. > > 1. https://bugs.debian.org/1033058 > > Will somebody else pick up the torch from here, and submit that for > inclusion in master? Or should I re-submit the above patch on my own? It would be good to get some more feedback, but in general if you or Rob send me a patch I can include it in the fbdev git tree for futher testing (and if nobody else disagrees). Helge