Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5344151rwr; Mon, 24 Apr 2023 02:41:05 -0700 (PDT) X-Google-Smtp-Source: AKy350ZlkI5CFkhXxHfUjsoUo/zNqSW3uEc3m9IwHNTlEOvxfSKJpC8Dkmro07kkcGyvQq+sTptU X-Received: by 2002:a05:6a20:748c:b0:f1:c0a1:803c with SMTP id p12-20020a056a20748c00b000f1c0a1803cmr16273712pzd.3.1682329265503; Mon, 24 Apr 2023 02:41:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682329265; cv=none; d=google.com; s=arc-20160816; b=FXGRa2pW9ZGgyB0bQ5UAmZv3uKxy4rsSxR8Shq/RMo8xt9R10rWdqoBPcKSi5pi1xw 1k74C/w9T3JFuyXSj8Ixml7suMJ9ZSC+dpG4Z8sg8ENThAEKu8hs/oF4brxnn2b/RNxL mIXPbnNK1fe3gvC9RCfeRzYLLEqDRPoxPq0bBcGlD/DAhfGRc5mQ5YRuS1fvMLhss/ni mGnXStfmGwRCrzBu4eJcHm/rBL1EjHSGdtMZ/iBVNA93AwP7Odu2wHavr+BivDIG4mvn 1C4tAG3mMhN4Ik6BBrM4lSbscButTxBdxwJAlW3rV5fkRhd5hJOaDg5m+vcYfRxDjKFy X3/w== 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:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=yTHDRa5GrOM5P/U7F/tlSANNP9N/Y9bFvN20rrCdkPQ=; b=urkXBaMpG6sRrEg6982i2PbmOhSLdKVLOTGM/xtRFU2pv3EGYFjVtqMx2enyn7fsXz VCKyQVMp9epehdDZCb8+wY5Rdx6503zEhbDhEWrVHLRY2OyJJR3IfYZppNwbqpUFAci7 ayrQhdSVt5VJiNgU2FQgU9nPn+2cZD1wQ5dZOfVTvx6mFE4pcC22T+mZXmSwMIwqKML9 tMGXQ356jJokLBeBHcgcz5jrFvb9r6/Gj5rkUck1CyEZAbfKTq30+smiEZ5AxRTpdsxO oTjdDC5+r5cu/nQPZf1w89VB+MbiwIvFctp4/JpFt13c5ahtiFBIGJUCd7hZ+bcW3tol 9oEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=F3rPQi1+; 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 w8-20020a63f508000000b0052084c5a87esi11018259pgh.181.2023.04.24.02.40.52; Mon, 24 Apr 2023 02:41:05 -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=F3rPQi1+; 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 S230358AbjDXJgA (ORCPT + 99 others); Mon, 24 Apr 2023 05:36:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229610AbjDXJf6 (ORCPT ); Mon, 24 Apr 2023 05:35:58 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DEA5A9; Mon, 24 Apr 2023 02:35:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1682328942; i=deller@gmx.de; bh=yTHDRa5GrOM5P/U7F/tlSANNP9N/Y9bFvN20rrCdkPQ=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=F3rPQi1+I4gmF+pOG2S0LNoxKXTRzShZijkV9aqCVuXR6vpFa8DHkPNxKNVmwwWYJ QTDRlVPZO7JxFI9UnQSkbVlmAXwnpJxqSUJsxTjaCSwyViL9f7BuwsBpKdc8gRyRnR F4TZX/Y+9vKbeJTK84gmHE50nFPgRMcbz+y27c/5K/LMq41MS4Ew+upmZ1QRVnplBo UM5oHwUGD+LhVtlUuwCxhNSxbya7JK8XeRxNlaQ0geYUiCinJZCRkHkU7IlS+eRIKu ZOXARPnQ8hZFOsUYbwUNgukki9HTC9yNvdbocwMoa+t8WPXDTftrgA7y1F/eHdy77A oHB6gf+F58uDA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.20.60] ([94.134.153.242]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MmlXK-1qXOga2qn8-00jovs; Mon, 24 Apr 2023 11:35:42 +0200 Message-ID: <10077a22-3055-75dd-2168-310468618f99@gmx.de> Date: Mon, 24 Apr 2023 11:35:41 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH 2/2] drm/ofdrm: Update expected device name Content-Language: en-US To: Thomas Zimmermann , Geert Uytterhoeven , Cyril Brulebois Cc: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Rob Herring , Michal Suchanek , linux-kernel@vger.kernel.org, stable@vger.kernel.org, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" References: <20230412095509.2196162-1-cyril@debamax.com> <20230412095509.2196162-3-cyril@debamax.com> <5694a9ab-d474-c101-9398-eea55aab29df@suse.de> From: Helge Deller In-Reply-To: <5694a9ab-d474-c101-9398-eea55aab29df@suse.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:3kP7ktou073M4fKwqgFVglqpXsTOVkudI9TiAb2jmS61p79Utkj bfKy597ABOj5a6ia0vbIHLBRiCPzRO3TO4d8iV7ihpFva7jJulDIVLkHIhpab/XObR5Izkb mgQfkyaFnCx9VGQABpm9RG9LFkRBEhZhZUJux+Bmo1XmparDwkl0Z45YcHxCliiT2VpfBoE cpM1B5JUmxQk9WZ5qX9Tg== UI-OutboundReport: notjunk:1;M01:P0:efosCe5Ci2I=;fSTK6kN/XxzU8cnmLNXQ8yrbYW9 bIuYXFo/RQFlNaXx2v+Cs3VzcUlxdioipOp8IoCiyur5pCgM0ejBNU++WZ9jm18gx4S+DiZtF A9z2pxIyP2UYptCogM3hOTzD4sbMCLLWn6tNPAuxrupIaRVQQUGjdP3LW1BPVp2H5QEFXEk7j qp3doz4Zu+E+VD7l+7m9wAWFsridFWVvk0Fbu87zKM7lEfsyO/zzdnbQJlCNZEDjHDI7Khcfw wI7pCLtjk8K5Uc4SzTvIfPL1bus6D1GzkVBP/IqVMy79sScMiAYAat9UyoFgtPEEYW7O7IBS6 9XhF2luW4u+zULDATwMQ+3FNBPSgyFmeFIBUro9KrvNWTvKlbgvrd4pZXYjQ5iXUx+aARFOXD wcohb4sUCZg8jZST2ISbtbnxiBlAtmDyDj1PNi57CtdeaWW0rZE8whJ91ucwlB037WB1HyiZv ChEIT49J+n7JSvG5FZf5t/dmdHk7rK6iTjxZfzLwiD41NMS8rN6aeLu/rXsLJZ0PbKwGxwODw 0avi1Go6Pt0Vh4S7U+au6mIwL7LxBgcFyP7+fFw5VXo9zU2/E0EtNDN3QQmgiN1y6EwyphFiT gRaP/vM2hdUjNQRseJsOP6NxCpgKQ5AHGK5JFi3w+EKddp3Ch2VMIjxWKACBJvB6FJpDsaDvN CeAW5cG8Avhj1x8dGT+pgMXLvhav7GvLlWFKhwQcjp2pV91wittAgxzzixr7y+jusEwlFM0ZI /B5WylxOR94G2LONBhSOas8v6/8v78IgVrlb/15/V23Q3wq5mjVoABQXz9DFR7HiH9t2lRgOD menH8eLaeHnQHaAqQR+6XYiC1RhAsV6GOquabipihSAvGi3aFh35PHrwpVUqOzUfLawkQ4NCp sl8NziNDVkv/YMB1W8axAtcuIUKJmldg4qEuSC5AKnnfMqO2xTgJWqECVBMzF/Fr4iNTEDMVo bBcX7VmIYqL5gwxFuGg7mNIHSWE= X-Spam-Status: No, score=-4.0 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_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 4/24/23 11:07, Thomas Zimmermann wrote: > Hi > > Am 24.04.23 um 09:33 schrieb Geert Uytterhoeven: >> Hi Cyril, >> >> CC DT >> >> On Wed, Apr 12, 2023 at 12:05=E2=80=AFPM Cyril Brulebois wrote: >>> Since commit 241d2fb56a18 ("of: Make OF framebuffer device names uniqu= e"), >>> as spotted by Fr=C3=A9d=C3=A9ric Bonnard, the historical "of-display" = device is >>> gone: the updated logic creates "of-display.0" instead, then as many >>> "of-display.N" as required. >>> >>> This means that offb no longer finds the expected device, which preven= ts >>> the Debian Installer from setting up its interface, at least on ppc64e= l. >>> >>> Given the code similarity it is likely to affect ofdrm in the same way= . >>> >>> It might be better to iterate on all possible nodes, but updating the >>> hardcoded device from "of-display" to "of-display.0" is likely to help >>> as a first step. >>> >>> Link: https://bugzilla.kernel.org/show_bug.cgi?id=3D217328 >>> Link: https://bugs.debian.org/1033058 >>> Fixes: 241d2fb56a18 ("of: Make OF framebuffer device names unique") >>> Cc: stable@vger.kernel.org # v6.2+ >>> Signed-off-by: Cyril Brulebois >> >> Thanks for your patch, which is now commit 3a9d8ea2539ebebd >> ("drm/ofdrm: Update expected device name") in fbdev/for-next. >> >>> --- a/drivers/gpu/drm/tiny/ofdrm.c >>> +++ b/drivers/gpu/drm/tiny/ofdrm.c >>> @@ -1390,7 +1390,7 @@ MODULE_DEVICE_TABLE(of, ofdrm_of_match_display); >>> >>> =C2=A0 static struct platform_driver ofdrm_platform_driver =3D { >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 .driver =3D { >>> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 .name =3D "of-display", >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 .name =3D "of-display.0", >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 .of_match_table =3D ofdrm_of_match_display, >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 }, >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 .probe =3D ofdrm_prob= e, >> >> Same comment as for "[PATCH 1/2] fbdev/offb: Update expected device >> name". >> >> https://lore.kernel.org/r/CAMuHMdVGEeAsmb4tAuuqqGJ-4+BBETwEwYJA+M9NyJv0= BJ_hNg@mail.gmail.com > > Sorry that I missed this patch. I agree that it's probably not > correct. At least in ofdrm, we want to be able to use multiple > framebuffers at the same time; a feature that has been broken by this > change. Geert & Thomas, thanks for the review! I've dropped both patches from fbdev tree for now. Would be great to find another good solution though, as it breaks the debi= an installer. Helge