Re: commit c2fe0480cd77 leads to hang on boot
From: Thomas Weißschuh
Date: Fri Aug 30 2024 - 01:22:46 EST
Hi Bert,
thanks for the report.
On 2024-08-30 01:04:37+0000, Bert Karwatzki wrote:
> To look into the issue I applied the following patch to next-20240829:
>
> diff --git a/drivers/video/fbdev/efifb.c b/drivers/video/fbdev/efifb.c
> index 20517448487e..ba2b0d4b1bd3 100644
> --- a/drivers/video/fbdev/efifb.c
> +++ b/drivers/video/fbdev/efifb.c
> @@ -573,6 +573,8 @@ static int efifb_probe(struct platform_device *dev)
> pr_err("efifb: cannot acquire aperture\n");
> goto err_fb_dealloc_cmap;
> }
> + printk(KERN_INFO "%s: not calling devm_register_framebuffer\n", __func__);
> + goto err_fb_dealloc_cmap;
> err = devm_register_framebuffer(&dev->dev, info);
> if (err < 0) {
> pr_err("efifb: cannot register framebuffer\n");
>
> Now booting works again so the problem seems to be in devm_register_framebuffer().
What happens if you replace devm_register_framebuffer() with a plain
register_framebuffer() again?
Thomas