From: Bagas Sanjaya <bagasdotme@gmail.com>
To: Mirsad Todorovac <mirsad.todorovac@alu.unizg.hr>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: "Sui Jingfeng" <suijingfeng@loongson.cn>,
linux-parisc@vger.kernel.org, "Arnd Bergmann" <arnd@arndb.de>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Helge Deller" <deller@gmx.de>,
"Huacai Chen" <chenhuacai@kernel.org>,
"Javier Martinez Canillas" <javierm@redhat.com>,
dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org,
"James E.J. Bottomley" <James.Bottomley@hansenpartnership.com>,
"Hans de Goede" <hdegoede@redhat.com>,
"Prathu Baronia" <prathubaronia2011@gmail.com>,
"Thomas Zimmermann" <tzimmermann@suse.de>,
"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
"Sam Ravnborg" <sam@ravnborg.org>,
"Ard Biesheuvel" <ardb@kernel.org>
Subject: Re: [BUG][BISECTED] Freeze at loading init ramdisk
Date: Sat, 20 Jan 2024 18:25:36 +0700 [thread overview]
Message-ID: <ZautsJ6a7_YjW5aQ@archie.me> (raw)
In-Reply-To: <cc813525-5484-443e-a40a-cb98f2ed4e1f@alu.unizg.hr>
[-- Attachment #1: Type: text/plain, Size: 8676 bytes --]
On Wed, Jan 17, 2024 at 07:47:49PM +0100, Mirsad Todorovac wrote:
> On 1/16/24 01:32, Mirsad Todorovac wrote:
> > Hi,
> >
> > On the Ubuntu 22.04 LTS Jammy platform, on a mainline vanilla torvalds tree kernel, the boot
> > freezes upon first two lines and before any systemd messages.
> >
> > (Please find the config attached.)
> >
> > Bisecting the bug led to this result:
> >
> > marvin@defiant:~/linux/kernel/linux_torvalds$ git bisect good
> > d97a78423c33f68ca6543de510a409167baed6f5 is the first bad commit
> > commit d97a78423c33f68ca6543de510a409167baed6f5
> > Merge: 61da593f4458 689237ab37c5
> > Author: Linus Torvalds <torvalds@linux-foundation.org>
> > Date: Fri Jan 12 14:38:08 2024 -0800
> >
> > Merge tag 'fbdev-for-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev
> > Pull fbdev updates from Helge Deller:
> > "Three fbdev drivers (~8500 lines of code) removed. The Carillo Ranch
> > fbdev driver is for an Intel product which was never shipped, and for
> > the intelfb and the amba-clcd drivers the drm drivers can be used
> > instead.
> > The other code changes are minor: some fb_deferred_io flushing fixes,
> > imxfb margin fixes and stifb cleanups.
> > Summary:
> > - Remove intelfb fbdev driver (Thomas Zimmermann)
> > - Remove amba-clcd fbdev driver (Linus Walleij)
> > - Remove vmlfb Carillo Ranch fbdev driver (Matthew Wilcox)
> > - fb_deferred_io flushing fixes (Nam Cao)
> > - imxfb code fixes and cleanups (Dario Binacchi)
> > - stifb primary screen detection cleanups (Thomas Zimmermann)"
> > * tag 'fbdev-for-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev: (28 commits)
> > fbdev/intelfb: Remove driver
> > fbdev/hyperv_fb: Do not clear global screen_info
> > firmware/sysfb: Clear screen_info state after consuming it
> > fbdev/hyperv_fb: Remove firmware framebuffers with aperture helpers
> > drm/hyperv: Remove firmware framebuffers with aperture helper
> > fbdev/sis: Remove dependency on screen_info
> > video/logo: use %u format specifier for unsigned int values
> > video/sticore: Remove info field from STI struct
> > arch/parisc: Detect primary video device from device instance
> > fbdev/stifb: Allocate fb_info instance with framebuffer_alloc()
> > video/sticore: Store ROM device in STI struct
> > fbdev: flush deferred IO before closing
> > fbdev: flush deferred work in fb_deferred_io_fsync()
> > fbdev: amba-clcd: Delete the old CLCD driver
> > fbdev: Remove support for Carillo Ranch driver
> > fbdev: hgafb: fix kernel-doc comments
> > fbdev: mmp: Fix typo and wording in code comment
> > fbdev: fsl-diu-fb: Fix sparse warning due to virt_to_phys() prototype change
> > fbdev: imxfb: add '*/' on a separate line in block comment
> > fbdev: imxfb: use __func__ for function name
> > ...
> >
> > Documentation/fb/index.rst | 1 -
> > Documentation/fb/intelfb.rst | 155 --
> > Documentation/userspace-api/ioctl/ioctl-number.rst | 1 -
> > MAINTAINERS | 12 -
> > arch/parisc/video/fbdev.c | 2 +-
> > drivers/Makefile | 3 +-
> > drivers/firmware/sysfb.c | 14 +-
> > drivers/gpu/drm/hyperv/hyperv_drm_drv.c | 8 +-
> > drivers/video/backlight/Kconfig | 7 -
> > drivers/video/backlight/Makefile | 1 -
> > drivers/video/backlight/cr_bllcd.c | 264 ---
> > drivers/video/fbdev/Kconfig | 72 -
> > drivers/video/fbdev/Makefile | 2 -
> > drivers/video/fbdev/amba-clcd.c | 986 ---------
> > drivers/video/fbdev/core/fb_defio.c | 8 +-
> > drivers/video/fbdev/fsl-diu-fb.c | 2 +-
> > drivers/video/fbdev/hgafb.c | 13 +-
> > drivers/video/fbdev/hyperv_fb.c | 20 +-
> > drivers/video/fbdev/imxfb.c | 179 +-
> > drivers/video/fbdev/intelfb/Makefile | 8 -
> > drivers/video/fbdev/intelfb/intelfb.h | 382 ----
> > drivers/video/fbdev/intelfb/intelfb_i2c.c | 209 --
> > drivers/video/fbdev/intelfb/intelfbdrv.c | 1680 ----------------
> > drivers/video/fbdev/intelfb/intelfbhw.c | 2115 --------------------
> > drivers/video/fbdev/intelfb/intelfbhw.h | 609 ------
> > drivers/video/fbdev/mmp/hw/mmp_spi.c | 2 +-
> > drivers/video/fbdev/sis/sis_main.c | 37 -
> > drivers/video/fbdev/stifb.c | 109 +-
> > drivers/video/fbdev/vermilion/Makefile | 6 -
> > drivers/video/fbdev/vermilion/cr_pll.c | 195 --
> > drivers/video/fbdev/vermilion/vermilion.c | 1175 -----------
> > drivers/video/fbdev/vermilion/vermilion.h | 245 ---
> > drivers/video/logo/pnmtologo.c | 6 +-
> > drivers/video/sticore.c | 5 +
> > include/linux/amba/clcd-regs.h | 87 -
> > include/linux/amba/clcd.h | 290 ---
> > include/video/sticore.h | 6 +-
> > 37 files changed, 208 insertions(+), 8708 deletions(-)
> > delete mode 100644 Documentation/fb/intelfb.rst
> > delete mode 100644 drivers/video/backlight/cr_bllcd.c
> > delete mode 100644 drivers/video/fbdev/amba-clcd.c
> > delete mode 100644 drivers/video/fbdev/intelfb/Makefile
> > delete mode 100644 drivers/video/fbdev/intelfb/intelfb.h
> > delete mode 100644 drivers/video/fbdev/intelfb/intelfb_i2c.c
> > delete mode 100644 drivers/video/fbdev/intelfb/intelfbdrv.c
> > delete mode 100644 drivers/video/fbdev/intelfb/intelfbhw.c
> > delete mode 100644 drivers/video/fbdev/intelfb/intelfbhw.h
> > delete mode 100644 drivers/video/fbdev/vermilion/Makefile
> > delete mode 100644 drivers/video/fbdev/vermilion/cr_pll.c
> > delete mode 100644 drivers/video/fbdev/vermilion/vermilion.c
> > delete mode 100644 drivers/video/fbdev/vermilion/vermilion.h
> > delete mode 100644 include/linux/amba/clcd-regs.h
> > delete mode 100644 include/linux/amba/clcd.h
> > marvin@defiant:~/linux/kernel/linux_torvalds$
> >
> > Hope this helps.
>
> P.S.
>
> As I see that this is a larger merge commit, with 5K+ lines changed, I don't think I can
> bisect further to determine the culprit.
>
> But I thought later that it would be interesting to see why my hardware triggered the freeze
> and probably others did not, or someone would complain already.
>
> Both of the boxes were AMD Ryzen: Ryzen 7 5700G and Ryzen 9 7950X.
>
> FWIW, I am attaching both hardware listings and the config used, so anyone knowledgeable with
> fbdev could possibly narrow down the search.
>
Hi Mirsad,
There is another report from Jens with similar symptom [1]. Can you check if
reverting df67699c9cb0ce ("firmware/sysfb: Clear screen_info state after
consuming it") fixes your regression?
Thanks.
[1]: https://lore.kernel.org/regressions/93ffd2ee-fa83-4469-96fb-fb263c26bb3c@kernel.dk/T/#t
--
An old man doll... just what I always wanted! - Clara
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2024-01-20 11:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <8a6aa228-f2da-4dcd-93c1-e34614cd6471@alu.unizg.hr>
2024-01-17 18:47 ` [BUG][BISECTED] Freeze at loading init ramdisk Mirsad Todorovac
2024-01-18 7:45 ` Uwe Kleine-König
2024-01-18 20:04 ` Mirsad Todorovac
2024-01-18 21:14 ` Uwe Kleine-König
2024-01-18 21:44 ` Mirsad Todorovac
2024-01-22 10:20 ` Uwe Kleine-König
2024-01-22 22:06 ` Mirsad Todorovac
2024-01-20 11:25 ` Bagas Sanjaya [this message]
2024-01-20 18:15 ` Mirsad Todorovac
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZautsJ6a7_YjW5aQ@archie.me \
--to=bagasdotme@gmail.com \
--cc=James.Bottomley@hansenpartnership.com \
--cc=ardb@kernel.org \
--cc=arnd@arndb.de \
--cc=chenhuacai@kernel.org \
--cc=deller@gmx.de \
--cc=dri-devel@lists.freedesktop.org \
--cc=gregkh@linuxfoundation.org \
--cc=hdegoede@redhat.com \
--cc=javierm@redhat.com \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-parisc@vger.kernel.org \
--cc=mirsad.todorovac@alu.unizg.hr \
--cc=prathubaronia2011@gmail.com \
--cc=sam@ravnborg.org \
--cc=suijingfeng@loongson.cn \
--cc=tzimmermann@suse.de \
--cc=u.kleine-koenig@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).