Subject: [Bug 205201] Booting halts if Dawicontrol DC-2976 UW SCSI board installed, unless RAM size limited to 3500M

From: [email-masked]
Date: Mon, 11 Nov 2019 07:38:01 +0000

https://bugzilla.kernel.org/show_bug.cgi?id=205201

--- Comment #12 from Christian Zigotzky ([email-masked]) ---
Hi Christoph,

I have seen that I have activated the kernel config option
CONFIG_ARCH_DMA_ADDR_T_64BIT. That means your code in your patch won't work if
this kernel option is enabled.

+#ifndef CONFIG_ARCH_DMA_ADDR_T_64BIT
+    /* Check if DMA address overflowed */
+    if (min(addr, addr + size - 1) <
+        __phys_to_dma(dev, (phys_addr_t)(min_low_pfn << PAGE_SHIFT)))
+        return false;
+#endif

I will delete the lines with ifndef and endif and will try it again.

Cheers,
Christian

-- 
You are receiving this mail because:
You are watching the assignee of the bug.