From nobody Thu Oct 2 21:48:13 2025 Received: from bregans-1.gladserv.net (bregans-1.gladserv.net [185.128.211.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9B9D0265609; Wed, 10 Sep 2025 09:52:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.128.211.58 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757497957; cv=none; b=NKJ18wo7Bk7UOqzocG65Kh81xJhMrQ/z6NLIjuNapMxesxzQeBmTMdDBZ5t8s0qqI8Y9nLo3JpUkV+HG23koLCUsXcXQ2oNmuheJ9YpGHStJLKFVX7NCQUbn/EWpxJ1oBmpl/LCxdSAVh1av/8GhDiYdQpU/7Bka57pDH//McxA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757497957; c=relaxed/simple; bh=gSQlvxsR6uNM6GEheU7y6b4i42meAgCJ79Zi6uyxkhs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=p5stYZh/+JAg5cwzRgPZd6owuO2vonES0RDnEtsDHG+XcIVgbqn2ohMHR7YdOk5PL0T8W3qgy/J50jjijCzadc20YokIwttD9iFxx3LuG+a1NvVKnGIK1cNLgT7L9k25DvWrzG5S6ZHE2WmlPYXdP/RezN+cqomb8QPeWTsbNBo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=librecast.net; spf=pass smtp.mailfrom=librecast.net; arc=none smtp.client-ip=185.128.211.58 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=librecast.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=librecast.net From: Brett A C Sheffield To: stable@vger.kernel.org Cc: regressions@lists.linux.dev, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Javier Martinez Canillas , Simona Vetter , Helge Deller , Thomas Zimmermann , Lee Jones , Murad Masimov , Yongzhen Zhang , Greg Kroah-Hartman , Sasha Levin , Brett A C Sheffield Subject: [PATCH 1/1] Revert "fbdev: Disable sysfb device registration when removing conflicting FBs" Date: Wed, 10 Sep 2025 09:38:03 +0000 Message-ID: <20250910095124.6213-5-bacs@librecast.net> X-Mailer: git-send-email 2.49.1 In-Reply-To: <20250910095124.6213-3-bacs@librecast.net> References: <20250910095124.6213-3-bacs@librecast.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This reverts commit 13d28e0c79cbf69fc6f145767af66905586c1249. Commit ee7a69aa38d8 ("fbdev: Disable sysfb device registration when removing conflicting FBs") was backported to 5.15.y LTS. This causes a regression where all virtual consoles stop responding during boot at: "Populating /dev with existing devices through uevents ..." Reverting the commit fixes the regression. Signed-off-by: Brett A C Sheffield --- drivers/video/fbdev/core/fbmem.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/drivers/video/fbdev/core/fbmem.c b/drivers/video/fbdev/core/fb= mem.c index d938c31e8f90..3b52ddfe0350 100644 --- a/drivers/video/fbdev/core/fbmem.c +++ b/drivers/video/fbdev/core/fbmem.c @@ -19,7 +19,6 @@ #include #include #include -#include #include #include #include @@ -1795,17 +1794,6 @@ int remove_conflicting_framebuffers(struct apertures= _struct *a, do_free =3D true; } =20 - /* - * If a driver asked to unregister a platform device registered by - * sysfb, then can be assumed that this is a driver for a display - * that is set up by the system firmware and has a generic driver. - * - * Drivers for devices that don't have a generic driver will never - * ask for this, so let's assume that a real driver for the display - * was already probed and prevent sysfb to register devices later. - */ - sysfb_disable(); - mutex_lock(®istration_lock); do_remove_conflicting_framebuffers(a, name, primary); mutex_unlock(®istration_lock); --=20 2.49.1