Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35640295rwd; Mon, 10 Jul 2023 10:13:45 -0700 (PDT) X-Google-Smtp-Source: APBJJlGTLQU15SZTvY9dynDfgLoRFJQPADBevIVf5C3gt81KKVD3Av0HhwODeQKa7hk98PDd9Jg3 X-Received: by 2002:a05:6512:2255:b0:4fb:8fe3:9266 with SMTP id i21-20020a056512225500b004fb8fe39266mr15133448lfu.0.1689009224945; Mon, 10 Jul 2023 10:13:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689009224; cv=none; d=google.com; s=arc-20160816; b=rQD3I3Oy7ucfMB2xxSSY+GiV5rrWSg7ZXF+3qZrZcykEJYTMxewOB+JS2tr7Pobo35 X3Qj582BgoW+l3WykuKofRlnOU4Q+m/WDs/jkyhTiDu2APjhBeicUasJ/7E46X2WfAGo AusLGkXzp0kg9S66pFXSVxRrFVbDav6PrOHCAmBLW5L646+sitLGYSOHw0mfPkeNWQmD CgMhnXuqPa2zf1SNHiQLM/n2wBiA6Nr9nKF7Xj2zHIgD0MjHhIq5chP3VVRVT3V/5jU2 0uPvz7by+bTTY8gdyXNoM28pIKhFE/N7qDF8jg6IwmLrywHWyAANlprARAC8qfYh4ltV FAMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature; bh=2sfvjB1A0AwpI2PjUSmQqejHy2/OmMjxbXGDG72naLk=; fh=P4o7O7a90UnjfbW43sIoTD565MgA03mIhJTAE5Xfuzk=; b=JPJixO0990vhOihBZlrnJCeSwdIL7xaMS+Hwv0o+4AggRvB4GVjz3LWaFrLOwWN5iU TPSr/L5cdEci4H21rI/SFqVQnyGwp3QiC8ifDQiFEBnswFrNRNaH/0IC4pqagKluJFOY yhpYZc2mPNlPtRuEh6wbvmzUnehxtK2fDxfk7F9TtC7WI+kacPfD1ThGXUI03k40FRQZ 4rQ9k3im3yTZUWRPXHv6oT7A0Bt/GlpJrevY9j37Az/qaM+GNtI1qHYyRyrz2y4gQuOc 9T+ZWCwoT5k0wd/QV5SfsQYWBptwdf/CsFVjQocj6dEhoAZ9sxO4sEvsMy2/Ox9TXGcW xtpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=GEK+HflR; dkim=neutral (no key) header.i=@suse.de header.b="9VrmsvD/"; 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=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u6-20020a05640207c600b0051e19aae8d1si9285333edy.378.2023.07.10.10.13.21; Mon, 10 Jul 2023 10:13:44 -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=@suse.de header.s=susede2_rsa header.b=GEK+HflR; dkim=neutral (no key) header.i=@suse.de header.b="9VrmsvD/"; 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=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230033AbjGJQgN (ORCPT + 99 others); Mon, 10 Jul 2023 12:36:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229538AbjGJQgM (ORCPT ); Mon, 10 Jul 2023 12:36:12 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 736C8120; Mon, 10 Jul 2023 09:36:10 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 21C0D223A4; Mon, 10 Jul 2023 16:36:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1689006969; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2sfvjB1A0AwpI2PjUSmQqejHy2/OmMjxbXGDG72naLk=; b=GEK+HflRi+8JRKXTGL4bcon//yAy5Xaor34VtkrcUwUihWquru0JnCG4Vu0xxgqVaq2fg9 WxPHdp43SP/IJbJVub65YX01wcWv5lVQNq2xP0ijAsPiFsbJsl0PT6TJQrnQXwc6FJ8GJ1 dQaY8sNALWhmC5dz/HI2NDZ0kQJCpCM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1689006969; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2sfvjB1A0AwpI2PjUSmQqejHy2/OmMjxbXGDG72naLk=; b=9VrmsvD/Z4OdIWNqzeHAomfyR/ln8VG8+XfSo0NbCYtcifnCwQLKnBGFaAV4Z9yp4gDW75 WIc6murT70bi0tAA== Received: from kitsune.suse.cz (kitsune.suse.cz [10.100.12.127]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id EB2542C142; Mon, 10 Jul 2023 16:36:08 +0000 (UTC) Date: Mon, 10 Jul 2023 18:36:07 +0200 From: Michal =?iso-8859-1?Q?Such=E1nek?= To: Cyril Brulebois Cc: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Thomas Zimmermann , Rob Herring , linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH 1/2] fbdev/offb: Update expected device name Message-ID: <20230710163607.GZ9196@kitsune.suse.cz> References: <20230412095509.2196162-1-cyril@debamax.com> <20230412095509.2196162-2-cyril@debamax.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230412095509.2196162-2-cyril@debamax.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 Wed, Apr 12, 2023 at 11:55:08AM +0200, Cyril Brulebois wrote: > Since commit 241d2fb56a18 ("of: Make OF framebuffer device names unique"), > as spotted by Fr?d?ric 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 prevents > the Debian Installer from setting up its interface, at least on ppc64el. > > It might be better to iterate on all possible nodes, but updating the > hardcoded device from "of-display" to "of-display.0" is confirmed to fix > the Debian Installer at the very least. > > Link: https://bugzilla.kernel.org/show_bug.cgi?id=217328 > Link: https://bugs.debian.org/1033058 > Fixes: 241d2fb56a18 ("of: Make OF framebuffer device names unique") > Cc: stable@vger.kernel.org > Signed-off-by: Cyril Brulebois Reviewed-by: Michal Such?nek Thanks Michal > --- > drivers/video/fbdev/offb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/video/fbdev/offb.c b/drivers/video/fbdev/offb.c > index b97d251d894b..6264c7184457 100644 > --- a/drivers/video/fbdev/offb.c > +++ b/drivers/video/fbdev/offb.c > @@ -698,7 +698,7 @@ MODULE_DEVICE_TABLE(of, offb_of_match_display); > > static struct platform_driver offb_driver_display = { > .driver = { > - .name = "of-display", > + .name = "of-display.0", > .of_match_table = offb_of_match_display, > }, > .probe = offb_probe_display, > -- > 2.30.2 >