Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp37095930rwd; Tue, 11 Jul 2023 09:21:06 -0700 (PDT) X-Google-Smtp-Source: APBJJlH0QMvrUxX/4YsLhSV4nCgWtAx76JJpawGxbYRqVNKzCyLOAqdHTanG5xAoCIt/VUI3GTfO X-Received: by 2002:a05:6a00:3920:b0:66a:5e6f:8b21 with SMTP id fh32-20020a056a00392000b0066a5e6f8b21mr14071115pfb.2.1689092466366; Tue, 11 Jul 2023 09:21:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689092466; cv=none; d=google.com; s=arc-20160816; b=zhO9hgqTjTShNU3wB5R2lohm025cs83LKnqcLpmBc3tIHvSnIAIUajY26pOydBheLQ QqaS7sliDoryN1N2elE9KcRmCyZD3gB/O8NJBjDuSbUq3bkqqDfPkL/EFwL8RQV1Y3d2 ZJYpqy2QvYUXJyQq2BIFErzynlUlrGbscgwQiBUTKkoorUpQKZjZH3C0kXwB+DFang5Z CPOfjXDmQL7whp+cPl74+LeyhTBE67lQtO0TepRvxCk//cgCIDl1QEpjDyczwVLN0/P/ CrJrbPUxkBXVa3PCit7qG0jVpJgiJieOSm9qthlNs8ulR9nxJACbm3XVW3bvpWmq0N4B xqkg== 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=10xMRkjlDtxZS9LQyRHHnsW87xAMUprLN04Jvmm+ctI=; fh=CjWgM52/PCqKorcQqFJbaVeqe2ab/qrwNsad19NP2OA=; b=UaKTUVw2Go+CftMBOoZwSZejbKODzJHRGp6AvPhpAZvM6Pn2is7lXgdyifN4tYZpiF qlN1mMS5rXfBGsECXJKsMTWsubmANUwZBnAv8e67T0FseRbiR7z/EvHAJb8Q/onQBXs/ iDxPEC0K7d3BsHiDoC624KqPnWgIkepidah3VSt/rGlbzZSsTz3mnrkdFknX/DXSVGrD fbBVaJy4Zua61Bt0ZmKucz7GvsBspc1K7qw/sXRFAWdEjm2p6JjMDM2sv9dTPp4tP2tW euGdwuTTjyfZ6rpMaoVltsp2+CaK2l39TCgfatTwj9umek/rxHX8OaTz88CkYxYsWRoW AtiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=conMbIE+; 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 ct8-20020a056a000f8800b00682399fa4f9si1717462pfb.300.2023.07.11.09.20.53; Tue, 11 Jul 2023 09:21:06 -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=conMbIE+; 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 S232902AbjGKPqd (ORCPT + 99 others); Tue, 11 Jul 2023 11:46:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232825AbjGKPqZ (ORCPT ); Tue, 11 Jul 2023 11:46:25 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B08EE170A; Tue, 11 Jul 2023 08:46:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1689090368; x=1689695168; i=deller@gmx.de; bh=10xMRkjlDtxZS9LQyRHHnsW87xAMUprLN04Jvmm+ctI=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=conMbIE+nxzY1Ihl5gk4rASMagP3eSIKPLkMUeO6/ZvgOZzo7Ab1Bg8ex+Ls7LSn/jXxLDn 8V5X0NbouhxtvH7SQrMG7cXZtcwFYfHLNbtItK46cGi8gZdJtwoN5YGGqJb9Q5kI698pnisuO 37OawNy05VPw42nAUnYZPhtF5w6+vRQcTIk2AanIXP0SfOsmuDvvVDoDTDeLciyUB8dPQwhY4 NNb/oigsZ1YiQaHzRRBVtVe/42Q/08JYqaS58QOf7Uoh5wnvzMHJsmnJKxoA3yolfQuk4UXh1 aMu9avW7Y1+roZIGDxXa1qNCSf4E/VJbhmeSPYmqLHRPFG610nLw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.20.60] ([94.134.149.147]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N7zFZ-1pxXrX15Wd-015041; Tue, 11 Jul 2023 17:46:08 +0200 Message-ID: <4de35c35-c00d-d21a-bcd1-dc878137eb94@gmx.de> Date: Tue, 11 Jul 2023 17:46:07 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH] of: Preserve "of-display" device name for compatibility Content-Language: en-US To: Thomas Zimmermann , Rob Herring , Frank Rowand , Michal Suchanek Cc: devicetree@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Cyril Brulebois , dri-devel@lists.freedesktop.org References: <20230710174007.2291013-1-robh@kernel.org> From: Helge Deller In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags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XC8be8BfAo4xcI0LvC51oJgwNo/q R23YoKr1vm3x3QwssM5zuYL+XeshlwHTBmkGWRdYrcT+QSqFWPawgI6cgcuApesYBAzI61klm g6jGs/FULM7IqHKwHw9lRNzo+Ntvv+JDsWX17ZWFbS/FCIWJBfrcyVIc1Xs8pYG4WidLz8OaM +nOMIKFX5QL15qy+J/1PrsmggL4= X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,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 7/11/23 08:00, Thomas Zimmermann wrote: > > > Am 10.07.23 um 19:40 schrieb Rob Herring: >> Since commit 241d2fb56a18 ("of: Make OF framebuffer device names unique= "), >> as spotted by Fr=C3=A9d=C3=A9ric Bonnard, the historical "of-display" d= evice 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 prevent= s >> the Debian Installer from setting up its interface, at least on ppc64el= . >> >> Fix this by keeping "of-display" for the first device and "of-display.N= " >> for subsequent devices. >> >> 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 >> Cc: Cyril Brulebois >> Cc: Thomas Zimmermann >> Cc: Helge Deller >> Signed-off-by: Rob Herring > > Acked-by: Thomas Zimmermann Acked-by: Helge Deller Who will pick up that patch? Shall I take it via fbdev git tree? Helge > >> --- >> =C2=A0 drivers/of/platform.c | 2 +- >> =C2=A0 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/drivers/of/platform.c b/drivers/of/platform.c >> index 051e29b7ad2b..0c3475e7d2ff 100644 >> --- a/drivers/of/platform.c >> +++ b/drivers/of/platform.c >> @@ -552,7 +552,7 @@ static int __init of_platform_default_populate_init= (void) >> =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 if (!of_get_property(node, "linux,opened", NULL) || >> =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=C2=A0 !of_get_property(node, "linux,boot-displ= ay", NULL)) >> =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=C2=A0 continue; >> -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 dev= =3D of_platform_device_create(node, "of-display.0", NULL); >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 dev= =3D of_platform_device_create(node, "of-display", NULL); >> =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_node_put(node); >> =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 if (WARN_ON(!dev)) >> =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=C2=A0 return -ENOMEM; >