Re: [Bug 206175] Fedora >= 5.4 kernels instantly freeze on boot without producing any display output

From: Christoph Hellwig
Date: Wed Mar 11 2020 - 11:24:57 EST


As you seem to have a mfd based usb card reader per bugzilla, can you
try the patch form Robin below? This ensures mfd doesn't mess with the
dma mask and thus entangling it with the parent. And please try to
reply to the actual mail. I found some updates in bugzilla when
I checked it after I haven't seen any reply for a while, but that isn't
a very efficient way to communicate.

--- a/drivers/mfd/mfd-core.c
+++ b/drivers/mfd/mfd-core.c
@@ -138,7 +138,7 @@ static int mfd_add_device(struct device *parent, int id,

pdev->dev.parent = parent;
pdev->dev.type = &mfd_dev_type;
- pdev->dev.dma_mask = parent->dma_mask;
+ pdev->dma_mask = parent->dma_mask ? *parent->dma_mask : 0;
pdev->dev.dma_parms = parent->dma_parms;
pdev->dev.coherent_dma_mask = parent->coherent_dma_mask;