Re: [PATCH] MIPS: CI20: Update defconfig for EFUSE.

From: Zhou Yanjie
Date: Sat Jul 25 2020 - 04:02:11 EST

Hi Paul,

å 2020/7/23 äå4:47, Paul Cercueil åé:
Hi Zhou,

Le jeu. 23 juil. 2020 Ã 15:19, åçæ (Zhou Yanjie) <zhouyanjie@xxxxxxxxxxxxxx> a Ãcrit :
The commit 19c968222934 ("MIPS: DTS: CI20: make DM9000 Ethernet
controller use NVMEM to find the default MAC address") add EFUSE
node for DM9000 in CI20, however, the EFUSE driver is not selected,
which will cause the DM9000 to fail to read the MAC address from
EFUSE, causing the following issue:

[FAILED] Failed to start Raise network interfaces.

Fix this problem by select CONFIG_JZ4780_EFUSE by default in the

Does it actually fix it on a clean 5.8-rc kernel?

From what I know, the efuse driver cannot probe, because the nemc driver requests the complete memory resource, so the efuse driver's devm_platform_ioremap_resource() fails.

I did send a patch to fix this (,
but it's hard to have somebody merge it, because nobody maintains drivers/memory/.

You are right, I cleaned up the changes made to support X1000's EFUSE and rebase to clean 5.8-RC6, it still does not work properly, I think we should drop this fix patch.

Fixes: 19c968222934 ("MIPS: DTS: CI20: make DM9000 Ethernet
controller use NVMEM to find the default MAC address").

That shouldn't be a fix IMHO - the devicetree was updated in one commit, the config should be updated in another. The "bug" here is that it wasn't done right away.

Signed-off-by: åçæ (Zhou Yanjie) <zhouyanjie@xxxxxxxxxxxxxx>

Btw - when you add a Fixes: tag to fix a commit that is not for the kernel currently in RC phase, you need to Cc linux-stable as well.

Sure, I will pay attention next time.

Thanks and best regards!


Âarch/mips/configs/ci20_defconfig | 1 +
Â1 file changed, 1 insertion(+)

diff --git a/arch/mips/configs/ci20_defconfig b/arch/mips/configs/ci20_defconfig
index f433fad16073..ba26ba4de09a 100644
--- a/arch/mips/configs/ci20_defconfig
+++ b/arch/mips/configs/ci20_defconfig
@@ -140,6 +140,7 @@ CONFIG_INGENIC_OST=y
Â# CONFIG_DNOTIFY is not set