Skip to contentSkip to conversation

riscv: defconfig: add SERIAL_8250_DW

PATCH In review Corentin Labbe 3 participants 3 messages Nov 19, 2022 – Nov 21, 2022 RISC-V

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 riscv: defconfig: add SERIAL_8250_DW

jh7100-starfive-visionfive-v1 DTB was recently added, but all my try to boot it in kernelCI failed.
This is due to a missing serial driver in defconfig.
So let's add CONFIG_SERIAL_8250_DW which is needed.

---
 arch/riscv/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/riscv/configs/defconfig +1 -0
index f7f32448f160..9a35ff88bec2 100644
@@ -123,6 +123,7 @@ CONFIG_MICROSEMI_PHY=y
 CONFIG_INPUT_MOUSEDEV=y
 CONFIG_SERIAL_8250=y
 CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_SERIAL_8250_DW=y
 CONFIG_SERIAL_OF_PLATFORM=y
 CONFIG_SERIAL_SH_SCI=y
 CONFIG_VIRTIO_CONSOLE=y
Signature · 1 line
2.37.4
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Corentin Labbe

jh7100-starfive-visionfive-v1 DTB was recently added, but all my try to boot it in kernelCI failed.
This is due to a missing serial driver in defconfig.
So let's add CONFIG_SERIAL_8250_DW which is needed.

See here also, StarFive guys posted the same patch:
https://lore.kernel.org/linux-riscv/Y3d0tL6UoAbdhHKE@spud/

I'll try to harangue Palmer into picking up one for v6.2 & if it happens to be this one:

Thanks,
Conor.

Quoted 19 lines
---
 arch/riscv/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/riscv/configs/defconfig +1 -0
index f7f32448f160..9a35ff88bec2 100644
@@ -123,6 +123,7 @@ CONFIG_MICROSEMI_PHY=y
 CONFIG_INPUT_MOUSEDEV=y
 CONFIG_SERIAL_8250=y
 CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_SERIAL_8250_DW=y
 CONFIG_SERIAL_OF_PLATFORM=y
 CONFIG_SERIAL_SH_SCI=y
 CONFIG_VIRTIO_CONSOLE=y
Signature · 1 line
2.37.4
#2 lore raw
In reply to Corentin Labbe
Quoted 4 lines · Corentin Labbe

jh7100-starfive-visionfive-v1 DTB was recently added, but all my try to boot it in kernelCI failed.
This is due to a missing serial driver in defconfig.
So let's add CONFIG_SERIAL_8250_DW which is needed.

This block is an extended 16550, so not sure why the 16550/8250 driver isn't being used as a backup in case the DesingWare variant isn't there.

Signature · 4 lines
Ben Dooks				http://www.codethink.co.uk/
Senior Engineer				Codethink - Providing Genius

https://www.codethink.co.uk/privacy.html