mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Regression: firmware/sysfb.c device path
@ 2024-07-13 17:20 Tj
  2024-07-14 19:46 ` Thomas Zimmermann
  2024-07-15  6:44 ` Thomas Zimmermann
  0 siblings, 2 replies; 7+ messages in thread
From: Tj @ 2024-07-13 17:20 UTC (permalink / raw)
  To: Thomas Zimmermann; +Cc: linux-kernel, 1075713

The recent commits to add the parent device path broke Debian's kvm based QA workers for testing installer ISOs after a kernel upgrade from v6.8.12 to v6.9.7. For the details:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075713

It took some time to  track it down since the superficial symptom appeared to involve the QXL driver. It turned out however to be the fbdev driver; specifically the change in the parent device path in sysfs reported between the two kernels:

6.8.12: 

/sys/class/graphics/fb0 -> ../../devices/platform/vesa-framebuffer.0/graphics/fb0

6.9.7:

/sys/class/graphics/fb0 -> ../../devices/pci0000:00/0000:00:01.0/vesa-framebuffer.0/graphics/fb0

This breaks xserver-xorg-core's libfbdevhw.so because it differentiates code-paths based on whether "devices/pci" is matched in the symlink.

See hw/xfree86/fbdevhw/fbdevhw.c::fbdev_open()

https://gitlab.freedesktop.org/xorg/xserver/-/blob/master/hw/xfree86/fbdevhw/fbdevhw.c?ref_type=heads#L381

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-07-29  7:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-13 17:20 Regression: firmware/sysfb.c device path Tj
2024-07-14 19:46 ` Thomas Zimmermann
2024-07-15  6:44 ` Thomas Zimmermann
2024-07-15  9:03   ` Tj
2024-07-15  9:22     ` Thomas Zimmermann
2024-07-15  9:29       ` Tj
     [not found]         ` <DM6PR12MB473145875C16DFDC5B0DE65FF9A92@DM6PR12MB4731.namprd12.prod.outlook.com>
2024-07-29  7:00           ` Thomas Zimmermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®