Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp713967rwl; Wed, 12 Apr 2023 03:06:07 -0700 (PDT) X-Google-Smtp-Source: AKy350biDY46Yw/UU7GWq9297tGM7I5WgBQWcqxCpp0g/tSjgLPjoBGyFdZYnun3+EtyuP35xWdb X-Received: by 2002:a17:906:4a96:b0:94a:785e:6a50 with SMTP id x22-20020a1709064a9600b0094a785e6a50mr1484006eju.23.1681293967123; Wed, 12 Apr 2023 03:06:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681293967; cv=none; d=google.com; s=arc-20160816; b=N0SDSr3q1My9+3i5KTVFhKEVc4PV2J4N3sBqc3DNY47bTXc1YHi5bdzyJf3P1gRZJi NnpVtnIzUqzdKt1Y0zk++Stzmf8k66gBeMgMgfBL8q9DhFKHVILgZ6I4G6BQJ6JIEF5u 5Pp+e0BvOuOTmcsA5KGXqFje9APln2NiAueExCaTz3NBmGTh75Fj+3FcZewksSUt5xob vowwp4r00Q7Kf/4W0t6iUWZZx0bIYTgCwtmma/fp7EhMX1Zav1oUidRvIflli0nqpMqn KWi+hp8WsiA/d4mxucl/6FdPsMqXcPJcMACyvOlwKWTXvgKQDko81MDdaPXLcthMyrmz PZaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=FcPNWDi3BcxvtPHMjyK3bKH5kg7Dp9k35r71+TUXATE=; b=t3NslxpG8rZW2WyLvFErtuvcv2/gPLyaRc0p5mIbc8watCiUPbXgyS+OqFy7rLtkyS bKrUFQyOaIvJbXaxV0xNeR5/H99I5kXGiAoefmuJ82B/Ip06WokEUI5IKOZA8iZdGzSt N737SyDK2/sIYaN3UHGmebPNUonG0IiiExnpdOpWGRN7c3fUh4A34rk38LKEYM15TU+M zYtzqP11BZ7Bz10d0I0FEYt7mReWxpwgijcbK9qfKLgB+AlVd4apSc65FhrtwLtd/1lx 7nih49X9MXNLNZ4QyCiwR/lQlEY6nIRf/8t5SlVblbLnVSfsaxoF/gXaJCd9CW4qjnxO RTNw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kl11-20020a170907994b00b0092554df06ffsi1749209ejc.286.2023.04.12.03.05.42; Wed, 12 Apr 2023 03:06:07 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230179AbjDLJz5 (ORCPT + 99 others); Wed, 12 Apr 2023 05:55:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230186AbjDLJzz (ORCPT ); Wed, 12 Apr 2023 05:55:55 -0400 Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CF0C7DA4; Wed, 12 Apr 2023 02:55:51 -0700 (PDT) Received: (Authenticated sender: cyril@debamax.com) by mail.gandi.net (Postfix) with ESMTPA id 954CF1C000B; Wed, 12 Apr 2023 09:55:48 +0000 (UTC) From: Cyril Brulebois To: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org Cc: Thomas Zimmermann , Rob Herring , Michal Suchanek , linux-kernel@vger.kernel.org, Cyril Brulebois , stable@vger.kernel.org Subject: [PATCH 1/2] fbdev/offb: Update expected device name Date: Wed, 12 Apr 2023 11:55:08 +0200 Message-Id: <20230412095509.2196162-2-cyril@debamax.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230412095509.2196162-1-cyril@debamax.com> References: <20230412095509.2196162-1-cyril@debamax.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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 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 --- 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