Skip to content

[PW_SID:1126020] Failed to reinit phy of spacemit-dwmac when reset-gpio is present#2264

Closed
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw1126020
Closed

[PW_SID:1126020] Failed to reinit phy of spacemit-dwmac when reset-gpio is present#2264
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw1126020

Conversation

@linux-riscv-bot

Copy link
Copy Markdown

PR for series 1126020 applied to workflow__riscv__fixes

Name: Failed to reinit phy of spacemit-dwmac when reset-gpio is present
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1126020
Version: 1

Linux RISC-V bot and others added 2 commits July 11, 2026 01:54
TL;DR:

The DWMAC on Spacemit K3 is failled to register phy after the reload
the driver module (rmmod then insmod). Because the reset-gpio is
asserted while unloading the driver and is not desserted before reading
the c22 id, which leads to a fault.

Description

In a few days ago, E Shattow reports he has sufferred the a weird issue,
when unloading the spacemit-dwmac driver and then reloading it, he got
the following error:

[   60.713071] mdio_bus stmmac-0: MDIO device at address 1 is missing.

This only occurs when reloading the driver but the first initialization
successed. After some function tracking, I found it is failed at reading
c22 id. The call graph is as the follows:

stmmac_mdio_register
	mdiobus_alloc
	of_mdiobus_register
		__of_mdiobus_register
		__mdiobus_register
		__of_mdiobus_parse_phys
			of_mdiobus_child_is_phy
			of_mdiobus_register_phy
				fwnode_mdiobus_register_phy
					get_phy_device
						get_phy_c22_id

By checking the difference between the initialization process and the
reloading process, I found the reset gpio is asserted in the function
mdiobus_unregister(). And there is no any function desserted this reset
gpio in the loading stage. And in the initialization process, the reset
goio is deasserted.

This bug report is sent as I found it is hard to solve this problem
and ask for help to fix this issue as it is related to the framework
instead of a specific driver.

The possible workaround I found is as the following, just use the phy
id in the compatible string (Confirmed by dlan):

Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "Failed to reinit phy of spacemit-dwmac when reset-gpio is present"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 121.08 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "Failed to reinit phy of spacemit-dwmac when reset-gpio is present"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1353.92 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "Failed to reinit phy of spacemit-dwmac when reset-gpio is present"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1528.25 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "Failed to reinit phy of spacemit-dwmac when reset-gpio is present"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 20.57 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "Failed to reinit phy of spacemit-dwmac when reset-gpio is present"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 22.07 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "Failed to reinit phy of spacemit-dwmac when reset-gpio is present"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 1.72 seconds
Result: WARNING
Output:

WARNING: 'successed' may be misspelled - perhaps 'succeeded'?
#23: 
successed. After some function tracking, I found it is failed at reading
^^^^^^^^^

total: 0 errors, 1 warnings, 0 checks, 9 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

Commit e816b2f3b101 ("Failed to reinit phy of spacemit-dwmac when reset-gpio is present") has style problems, please review.

NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.
total: 0 errors, 1 warnings, 0 checks, 9 lines checked
WARNING: 'successed' may be misspelled - perhaps 'succeeded'?


@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "Failed to reinit phy of spacemit-dwmac when reset-gpio is present"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 84.25 seconds
Result: ERROR
Output:

Redirect to /build/tmp.UMhieKbrJt and /build/tmp.9CsCC2Oa1b
Tree base:
da477a687fa00 ("Adding CI files")
Building the tree before the patch
make: Entering directory '/build/tmp21sd79_z'
make[1]: Entering directory '/build/tmp.pPUU95t3Bo'
  UPD     Makefile
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/confdata.o
  HOSTCC  scripts/kconfig/expr.o
  LEX     scripts/kconfig/lexer.lex.c
  YACC    scripts/kconfig/parser.tab.[ch]
  HOSTCC  scripts/kconfig/lexer.lex.o
  HOSTCC  scripts/kconfig/menu.o
  HOSTCC  scripts/kconfig/parser.tab.o
  HOSTCC  scripts/kconfig/preprocess.o
  HOSTCC  scripts/kconfig/symbol.o
  HOSTCC  scripts/kconfig/util.o
  HOSTLD  scripts/kconfig/conf
*** Default configuration is based on 'defconfig'
#
# configuration written to .config
#
make[1]: Leaving directory '/build/tmp.pPUU95t3Bo'
make: Leaving directory '/build/tmp21sd79_z'
make: Entering directory '/build/tmp21sd79_z'
make[1]: Entering directory '/build/tmp.pPUU95t3Bo'
  HOSTCC  scripts/dtc/dtc.o
  HOSTCC  scripts/dtc/flattree.o
  HOSTCC  scripts/dtc/fstree.o
  HOSTCC  scripts/dtc/data.o
  HOSTCC  scripts/dtc/livetree.o
  HOSTCC  scripts/dtc/treesource.o
  HOSTCC  scripts/dtc/srcpos.o
  HOSTCC  scripts/dtc/checks.o
  HOSTCC  scripts/dtc/util.o
  LEX     scripts/dtc/dtc-lexer.lex.c
  YACC    scripts/dtc/dtc-parser.tab.[ch]
  HOSTCC  scripts/dtc/libfdt/fdt.o
  HOSTCC  scripts/dtc/libfdt/fdt_ro.o
  HOSTCC  scripts/dtc/libfdt/fdt_wip.o
  HOSTCC  scripts/dtc/libfdt/fdt_sw.o
  HOSTCC  scripts/dtc/libfdt/fdt_rw.o
  HOSTCC  scripts/dtc/libfdt/fdt_strerror.o
  HOSTCC  scripts/dtc/libfdt/fdt_empty_tree.o
  HOSTCC  scripts/dtc/libfdt/fdt_addresses.o
  HOSTCC  scripts/dtc/libfdt/fdt_overlay.o
  HOSTCC  scripts/dtc/fdtoverlay.o
  UPD     include/config/kernel.release
  HOSTCC  scripts/dtc/dtc-lexer.lex.o
  HOSTCC  scripts/dtc/dtc-parser.tab.o
  HOSTLD  scripts/dtc/fdtoverlay
  HOSTLD  scripts/dtc/dtc
  SCHEMA  Documentation/devicetree/bindings/processed-schema.json
/build/tmp21sd79_z/Documentation/devicetree/bindings/iio/amplifiers/adi,adl8113.yaml: adi,external-bypass-a-gain-db: missing type definition
/build/tmp21sd79_z/Documentation/devicetree/bindings/iio/amplifiers/adi,adl8113.yaml: adi,external-bypass-b-gain-db: missing type definition
/build/tmp21sd79_z/Documentation/devicetree/bindings/net/nfc/ti,trf7970a.yaml: ti,rx-gain-reduction-db: missing type definition
/build/tmp21sd79_z/Documentation/devicetree/bindings/leds/issi,is31fl319x.yaml: audio-gain-db: missing type definition
/build/tmp21sd79_z/Documentation/devicetree/bindings/phy/fsl,imx8mq-usb-phy.yaml: fsl,phy-pcs-tx-deemph-3p5db-attenuation-db: missing type definition
/build/tmp21sd79_z/Documentation/devicetree/bindings/interrupt-controller/ti,irq-crossbar.yaml: ti,irqs-reserved: multiple incompatible types: uint32-array
/build/tmp21sd79_z/Documentation/devicetree/bindings/interrupt-controller/ti,pruss-intc.yaml: ti,irqs-reserved: multiple incompatible types: uint8
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-clockworkpi-v3.14.dtb
  DTC [C] arch/riscv/boot/dts/andes/qilai-voyager.dtb
  DTC [C] arch/riscv/boot/dts/anlogic/dr1v90-mlkpai-fs01.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-devterm-v3.14.dtb
  DTC [C] arch/riscv/boot/dts/canaan/canaan_kd233.dtb
  DTC [C] arch/riscv/boot/dts/eswin/eic7700-hifive-premier-p550.dtb
  DTC [C] arch/riscv/boot/dts/canaan/k210_generic.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-dongshan-nezha-stu.dtb
  DTC [C] arch/riscv/boot/dts/microchip/mpfs-beaglev-fire.dtb
  DTC [C] arch/riscv/boot/dts/canaan/sipeed_maix_bit.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv-86-panel-480p.dtb
  DTC [C] arch/riscv/boot/dts/microchip/mpfs-disco-kit.dtb
  DTC [C] arch/riscv/boot/dts/canaan/sipeed_maix_dock.dtb
  DTC [C] arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv-86-panel-720p.dtb
  DTC [C] arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dtb
  DTC [C] arch/riscv/boot/dts/canaan/sipeed_maix_go.dtb
  DTC [C] arch/riscv/boot/dts/sophgo/cv1800b-milkv-duo.dtb
  DTC [C] arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dtb
  DTC [C] arch/riscv/boot/dts/canaan/sipeed_maixduino.dtb
  DTC [C] arch/riscv/boot/dts/microchip/mpfs-icicle-kit-prod.dtb
  DTC [C] arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv-dock.dtb
  DTC [C] arch/riscv/boot/dts/microchip/mpfs-m100pfsevp.dtb
  DTC [C] arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv.dtb
  DTC [C] arch/riscv/boot/dts/microchip/mpfs-polarberry.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-mangopi-mq-pro.dtb
  DTC [C] arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dtb
  DTC [C] arch/riscv/boot/dts/microchip/mpfs-sev-kit.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-nezha.dtb
  DTC [C] arch/riscv/boot/dts/sophgo/sg2042-evb-v1.dtb
  DTC [C] arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1s-mangopi-mq.dtb
  DTC [C] arch/riscv/boot/dts/sophgo/sg2042-evb-v2.dtb
  DTC [C] arch/riscv/boot/dts/microchip/mpfs-tysom-m.dtb
  DTC [C] arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dtb
  DTC [C] arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dtb
  DTC [C] arch/riscv/boot/dts/microchip/pic64gx-curiosity-kit.dtb
  DTC [C] arch/riscv/boot/dts/tenstorrent/blackhole-card.dtb
  DTC [C] arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dtb
  DTC [C] arch/riscv/boot/dts/spacemit/k1-musepi-pro.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7100-starfive-visionfive-v1.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-deepcomputing-fml13v01.dtb
  DTC [C] arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dtb
  DTC [C] arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-milkv-mars.dtb
/build/tmp.pPUU95t3Bo/arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dtb: syscon@3000000: dma-router@154:dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/soc/sophgo/sophgo,cv1800b-top-syscon.yaml#
/build/tmp.pPUU95t3Bo/arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dtb: syscon@3000000: dma-router@154:dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/soc/sophgo/sophgo,cv1800b-top-syscon.yaml#
/build/tmp.pPUU95t3Bo/arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/dma/sophgo,cv1800b-dmamux.yaml#
/build/tmp.pPUU95t3Bo/arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/dma/sophgo,cv1800b-dmamux.yaml#
/build/tmp.pPUU95t3Bo/arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/dma/dma-router.yaml#
/build/tmp.pPUU95t3Bo/arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/dma/dma-router.yaml#
/build/tmp.pPUU95t3Bo/arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.dtb: syscon@3000000: dma-router@154:dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/soc/sophgo/sophgo,cv1800b-top-syscon.yaml#
/build/tmp.pPUU95t3Bo/arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.dtb: syscon@3000000: dma-router@154:dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/soc/sophgo/sophgo,cv1800b-top-syscon.yaml#
/build/tmp.pPUU95t3Bo/arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/dma/sophgo,cv1800b-dmamux.yaml#
/build/tmp.pPUU95t3Bo/arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/dma/sophgo,cv1800b-dmamux.yaml#
/build/tmp.pPUU95t3Bo/arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/dma/dma-router.yaml#
/build/tmp.pPUU95t3Bo/arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/dma/dma-router.yaml#
/build/tmp.pPUU95t3Bo/arch/riscv/boot/dts/sophgo/cv1800b-milkv-duo.dtb: syscon@3000000: dma-router@154:dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/soc/sophgo/sophgo,cv1800b-top-syscon.yaml#
/build/tmp.pPUU95t3Bo/arch/riscv/boot/dts/sophgo/cv1800b-milkv-duo.dtb: syscon@3000000: dma-router@154:dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/soc/sophgo/sophgo,cv1800b-top-syscon.yaml#
/build/tmp.pPUU95t3Bo/arch/riscv/boot/dts/sophgo/cv1800b-milkv-duo.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/dma/sophgo,cv1800b-dmamux.yaml#
/build/tmp.pPUU95t3Bo/arch/riscv/boot/dts/sophgo/cv1800b-milkv-duo.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/dma/sophgo,cv1800b-dmamux.yaml#
/build/tmp.pPUU95t3Bo/arch/riscv/boot/dts/sophgo/cv1800b-milkv-duo.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/dma/dma-router.yaml#
/build/tmp.pPUU95t3Bo/arch/riscv/boot/dts/sophgo/cv1800b-milkv-duo.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/dma/dma-router.yaml#
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-milkv-marscm-emmc.dtb
  DTC [C] arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dtb
  DTC [C] arch/riscv/boot/dts/spacemit/k3-com260-ifx.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-milkv-marscm-lite.dtb
  DTC [C] arch/riscv/boot/dts/spacemit/k3-deepcomputing-fml13v05.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-orangepi-rv.dtb
  DTC [C] arch/riscv/boot/dts/spacemit/k3-pico-itx.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-pine64-star64.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-lite.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-lite-emmc.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-v1.2a.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-v1.3b.dtb
make[1]: Leaving directory '/build/tmp.pPUU95t3Bo'
make: Leaving directory '/build/tmp21sd79_z'
Building the tree with the patch
make: Entering directory '/build/tmp21sd79_z'
make[1]: Entering directory '/build/tmp.CFAHdIhvaf'
  UPD     Makefile
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/confdata.o
  HOSTCC  scripts/kconfig/expr.o
  LEX     scripts/kconfig/lexer.lex.c
  YACC    scripts/kconfig/parser.tab.[ch]
  HOSTCC  scripts/kconfig/lexer.lex.o
  HOSTCC  scripts/kconfig/menu.o
  HOSTCC  scripts/kconfig/parser.tab.o
  HOSTCC  scripts/kconfig/preprocess.o
  HOSTCC  scripts/kconfig/symbol.o
  HOSTCC  scripts/kconfig/util.o
  HOSTLD  scripts/kconfig/conf
*** Default configuration is based on 'defconfig'
#
# configuration written to .config
#
make[1]: Leaving directory '/build/tmp.CFAHdIhvaf'
make: Leaving directory '/build/tmp21sd79_z'
make: Entering directory '/build/tmp21sd79_z'
make[1]: Entering directory '/build/tmp.CFAHdIhvaf'
  HOSTCC  scripts/dtc/dtc.o
  HOSTCC  scripts/dtc/flattree.o
  HOSTCC  scripts/dtc/fstree.o
  HOSTCC  scripts/dtc/data.o
  HOSTCC  scripts/dtc/livetree.o
  HOSTCC  scripts/dtc/treesource.o
  HOSTCC  scripts/dtc/srcpos.o
  HOSTCC  scripts/dtc/checks.o
  HOSTCC  scripts/dtc/util.o
  LEX     scripts/dtc/dtc-lexer.lex.c
  YACC    scripts/dtc/dtc-parser.tab.[ch]
  HOSTCC  scripts/dtc/libfdt/fdt.o
  HOSTCC  scripts/dtc/libfdt/fdt_ro.o
  HOSTCC  scripts/dtc/libfdt/fdt_wip.o
  HOSTCC  scripts/dtc/libfdt/fdt_sw.o
  HOSTCC  scripts/dtc/libfdt/fdt_rw.o
  HOSTCC  scripts/dtc/libfdt/fdt_strerror.o
  HOSTCC  scripts/dtc/libfdt/fdt_empty_tree.o
  HOSTCC  scripts/dtc/libfdt/fdt_addresses.o
  HOSTCC  scripts/dtc/libfdt/fdt_overlay.o
  HOSTCC  scripts/dtc/fdtoverlay.o
  UPD     include/config/kernel.release
  HOSTCC  scripts/dtc/dtc-lexer.lex.o
  HOSTCC  scripts/dtc/dtc-parser.tab.o
  HOSTLD  scripts/dtc/fdtoverlay
  HOSTLD  scripts/dtc/dtc
  SCHEMA  Documentation/devicetree/bindings/processed-schema.json
/build/tmp21sd79_z/Documentation/devicetree/bindings/iio/amplifiers/adi,adl8113.yaml: adi,external-bypass-a-gain-db: missing type definition
/build/tmp21sd79_z/Documentation/devicetree/bindings/iio/amplifiers/adi,adl8113.yaml: adi,external-bypass-b-gain-db: missing type definition
/build/tmp21sd79_z/Documentation/devicetree/bindings/net/nfc/ti,trf7970a.yaml: ti,rx-gain-reduction-db: missing type definition
/build/tmp21sd79_z/Documentation/devicetree/bindings/leds/issi,is31fl319x.yaml: audio-gain-db: missing type definition
/build/tmp21sd79_z/Documentation/devicetree/bindings/phy/fsl,imx8mq-usb-phy.yaml: fsl,phy-pcs-tx-deemph-3p5db-attenuation-db: missing type definition
/build/tmp21sd79_z/Documentation/devicetree/bindings/interrupt-controller/ti,irq-crossbar.yaml: ti,irqs-reserved: multiple incompatible types: uint32-array
/build/tmp21sd79_z/Documentation/devicetree/bindings/interrupt-controller/ti,pruss-intc.yaml: ti,irqs-reserved: multiple incompatible types: uint8
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-clockworkpi-v3.14.dtb
  DTC [C] arch/riscv/boot/dts/andes/qilai-voyager.dtb
  DTC [C] arch/riscv/boot/dts/anlogic/dr1v90-mlkpai-fs01.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-devterm-v3.14.dtb
  DTC [C] arch/riscv/boot/dts/canaan/canaan_kd233.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-dongshan-nezha-stu.dtb
  DTC [C] arch/riscv/boot/dts/eswin/eic7700-hifive-premier-p550.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv-86-panel-480p.dtb
  DTC [C] arch/riscv/boot/dts/canaan/k210_generic.dtb
  DTC [C] arch/riscv/boot/dts/microchip/mpfs-beaglev-fire.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv-86-panel-720p.dtb
  DTC [C] arch/riscv/boot/dts/microchip/mpfs-disco-kit.dtb
  DTC [C] arch/riscv/boot/dts/canaan/sipeed_maix_bit.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv-dock.dtb
  DTC [C] arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dtb
  DTC [C] arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dtb
  DTC [C] arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dtb
  DTC [C] arch/riscv/boot/dts/sophgo/cv1800b-milkv-duo.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dtb
  DTC [C] arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dtb
  DTC [C] arch/riscv/boot/dts/tenstorrent/blackhole-card.dtb
  DTC [C] arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dtb
  DTC [C] arch/riscv/boot/dts/canaan/sipeed_maix_dock.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-mangopi-mq-pro.dtb
  DTC [C] arch/riscv/boot/dts/microchip/mpfs-icicle-kit-prod.dtb
  DTC [C] arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dtb
  DTC [C] arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dtb
  DTC [C] arch/riscv/boot/dts/canaan/sipeed_maix_go.dtb
  DTC [C] arch/riscv/boot/dts/microchip/mpfs-m100pfsevp.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7100-starfive-visionfive-v1.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-nezha.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-deepcomputing-fml13v01.dtb
  DTC [C] arch/riscv/boot/dts/spacemit/k1-musepi-pro.dtb
  DTC [C] arch/riscv/boot/dts/microchip/mpfs-polarberry.dtb
  DTC [C] arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.dtb
  DTC [C] arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dtb
  DTC [C] arch/riscv/boot/dts/canaan/sipeed_maixduino.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-milkv-mars.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1s-mangopi-mq.dtb
  DTC [C] arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dtb
  DTC [C] arch/riscv/boot/dts/microchip/mpfs-sev-kit.dtb
  DTC [C] arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-milkv-marscm-emmc.dtb
  DTC [C] arch/riscv/boot/dts/sophgo/sg2042-evb-v1.dtb
  DTC [C] arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-milkv-marscm-lite.dtb
  DTC [C] arch/riscv/boot/dts/microchip/mpfs-tysom-m.dtb
/build/tmp.CFAHdIhvaf/arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dtb: syscon@3000000: dma-router@154:dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/soc/sophgo/sophgo,cv1800b-top-syscon.yaml#
/build/tmp.CFAHdIhvaf/arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dtb: syscon@3000000: dma-router@154:dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/soc/sophgo/sophgo,cv1800b-top-syscon.yaml#
/build/tmp.CFAHdIhvaf/arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/dma/sophgo,cv1800b-dmamux.yaml#
/build/tmp.CFAHdIhvaf/arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/dma/sophgo,cv1800b-dmamux.yaml#
/build/tmp.CFAHdIhvaf/arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/dma/dma-router.yaml#
/build/tmp.CFAHdIhvaf/arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/dma/dma-router.yaml#
/build/tmp.CFAHdIhvaf/arch/riscv/boot/dts/sophgo/cv1800b-milkv-duo.dtb: syscon@3000000: dma-router@154:dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/soc/sophgo/sophgo,cv1800b-top-syscon.yaml#
/build/tmp.CFAHdIhvaf/arch/riscv/boot/dts/sophgo/cv1800b-milkv-duo.dtb: syscon@3000000: dma-router@154:dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/soc/sophgo/sophgo,cv1800b-top-syscon.yaml#
/build/tmp.CFAHdIhvaf/arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.dtb: syscon@3000000: dma-router@154:dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/soc/sophgo/sophgo,cv1800b-top-syscon.yaml#
/build/tmp.CFAHdIhvaf/arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.dtb: syscon@3000000: dma-router@154:dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/soc/sophgo/sophgo,cv1800b-top-syscon.yaml#
/build/tmp.CFAHdIhvaf/arch/riscv/boot/dts/sophgo/cv1800b-milkv-duo.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/dma/sophgo,cv1800b-dmamux.yaml#
/build/tmp.CFAHdIhvaf/arch/riscv/boot/dts/sophgo/cv1800b-milkv-duo.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/dma/sophgo,cv1800b-dmamux.yaml#
/build/tmp.CFAHdIhvaf/arch/riscv/boot/dts/sophgo/cv1800b-milkv-duo.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/dma/dma-router.yaml#
/build/tmp.CFAHdIhvaf/arch/riscv/boot/dts/sophgo/cv1800b-milkv-duo.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/dma/dma-router.yaml#
/build/tmp.CFAHdIhvaf/arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/dma/sophgo,cv1800b-dmamux.yaml#
/build/tmp.CFAHdIhvaf/arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/dma/sophgo,cv1800b-dmamux.yaml#
/build/tmp.CFAHdIhvaf/arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/dma/dma-router.yaml#
/build/tmp.CFAHdIhvaf/arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
	from schema $id: http://devicetree.org/schemas/dma/dma-router.yaml#
  DTC [C] arch/riscv/boot/dts/microchip/pic64gx-curiosity-kit.dtb
  DTC [C] arch/riscv/boot/dts/sophgo/sg2042-evb-v2.dtb
  DTC [C] arch/riscv/boot/dts/spacemit/k3-com260-ifx.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-orangepi-rv.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-pine64-star64.dtb
  DTC [C] arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dtb
  DTC [C] arch/riscv/boot/dts/spacemit/k3-deepcomputing-fml13v05.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-lite.dtb
  DTC [C] arch/riscv/boot/dts/spacemit/k3-pico-itx.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-lite-emmc.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-v1.2a.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-v1.3b.dtb
/build/tmp.CFAHdIhvaf/arch/riscv/boot/dts/spacemit/k3-pico-itx.dtb: phy@1: compatible: ['ethernet-phy-id001c.c916', 'ethernet-phy-ieee802.3-c22'] is too long
	from schema $id: http://devicetree.org/schemas/net/realtek,rtl82xx.yaml#
/build/tmp.CFAHdIhvaf/arch/riscv/boot/dts/spacemit/k3-pico-itx.dtb: phy@1: Unevaluated properties are not allowed ('compatible', 'reg', 'reset-assert-us', 'reset-deassert-us', 'reset-gpios' were unexpected)
	from schema $id: http://devicetree.org/schemas/net/realtek,rtl82xx.yaml#
/build/tmp.CFAHdIhvaf/arch/riscv/boot/dts/spacemit/k3-pico-itx.dtb: phy@1: $nodename:0: 'phy@1' does not match '^ethernet-phy(@[a-f0-9]+)?$'
	from schema $id: http://devicetree.org/schemas/net/realtek,rtl82xx.yaml#
make[1]: Leaving directory '/build/tmp.CFAHdIhvaf'
make: Leaving directory '/build/tmp21sd79_z'
Errors and warnings before: 43 this patch: 49
New errors added
--- /build/tmp.UMhieKbrJt	2026-07-12 06:22:05.497377520 +0000
+++ /build/tmp.9CsCC2Oa1b	2026-07-12 06:22:05.499377471 +0000
@@ -20,12 +19,0 @@
-arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.dtb: syscon@3000000: dma-router@154:dma-masters: 4 is not of type 'array'
-	from schema $id: http://devicetree.org/schemas/soc/sophgo/sophgo,cv1800b-top-syscon.yaml#
-arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.dtb: syscon@3000000: dma-router@154:dma-masters: 4 is not of type 'array'
-	from schema $id: http://devicetree.org/schemas/soc/sophgo/sophgo,cv1800b-top-syscon.yaml#
-arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
-	from schema $id: http://devicetree.org/schemas/dma/sophgo,cv1800b-dmamux.yaml#
-arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
-	from schema $id: http://devicetree.org/schemas/dma/sophgo,cv1800b-dmamux.yaml#
-arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
-	from schema $id: http://devicetree.org/schemas/dma/dma-router.yaml#
-arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
-	from schema $id: http://devicetree.org/schemas/dma/dma-router.yaml#
@@ -35,0 +24,4 @@
+arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.dtb: syscon@3000000: dma-router@154:dma-masters: 4 is not of type 'array'
+	from schema $id: http://devicetree.org/schemas/soc/sophgo/sophgo,cv1800b-top-syscon.yaml#
+arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.dtb: syscon@3000000: dma-router@154:dma-masters: 4 is not of type 'array'
+	from schema $id: http://devicetree.org/schemas/soc/sophgo/sophgo,cv1800b-top-syscon.yaml#
@@ -43,0 +36,14 @@
+arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
+	from schema $id: http://devicetree.org/schemas/dma/sophgo,cv1800b-dmamux.yaml#
+arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
+	from schema $id: http://devicetree.org/schemas/dma/sophgo,cv1800b-dmamux.yaml#
+arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
+	from schema $id: http://devicetree.org/schemas/dma/dma-router.yaml#
+arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.dtb: dma-router@154: dma-masters: 4 is not of type 'array'
+	from schema $id: http://devicetree.org/schemas/dma/dma-router.yaml#
+arch/riscv/boot/dts/spacemit/k3-pico-itx.dtb: phy@1: compatible: ['ethernet-phy-id001c.c916', 'ethernet-phy-ieee802.3-c22'] is too long
+	from schema $id: http://devicetree.org/schemas/net/realtek,rtl82xx.yaml#
+arch/riscv/boot/dts/spacemit/k3-pico-itx.dtb: phy@1: Unevaluated properties are not allowed ('compatible', 'reg', 'reset-assert-us', 'reset-deassert-us', 'reset-gpios' were unexpected)
+	from schema $id: http://devicetree.org/schemas/net/realtek,rtl82xx.yaml#
+arch/riscv/boot/dts/spacemit/k3-pico-itx.dtb: phy@1: $nodename:0: 'phy@1' does not match '^ethernet-phy(@[a-f0-9]+)?$'
+	from schema $id: http://devicetree.org/schemas/net/realtek,rtl82xx.yaml#


@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "Failed to reinit phy of spacemit-dwmac when reset-gpio is present"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "Failed to reinit phy of spacemit-dwmac when reset-gpio is present"
kdoc
Desc: Detects for kdoc errors
Duration: 0.74 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "Failed to reinit phy of spacemit-dwmac when reset-gpio is present"
module-param
Desc: Detect module_param changes
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "Failed to reinit phy of spacemit-dwmac when reset-gpio is present"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "Failed to reinit phy of spacemit-dwmac when reset-gpio is present"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 1.13 seconds
Result: ERROR
Output:

Commit e816b2f3b101 ("Failed to reinit phy of spacemit-dwmac when reset-gpio is present")
	author Signed-off-by missing
	author email:    inochiama@gmail.com
	committer email: linux.riscv.bot@gmail.com
	Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>

Errors in tree with Signed-off-by, please fix!


@linux-riscv-bot
linux-riscv-bot force-pushed the workflow__riscv__fixes branch from da477a6 to 869345e Compare July 13, 2026 18:24
@linux-riscv-bot
linux-riscv-bot deleted the pw1126020 branch July 13, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants