Add Milk-V Pioneer RISC-V board support
Subsystems (6)
v5 cover Add Milk-V Pioneer RISC-V board support
From: Chen Wang <[email protected]>
Milk-V Pioneer [1] is a developer motherboard based on SOPHON SG2042 [2] in a standard mATX form factor. Add minimal device
tree files for the SG2042 SOC and the Milk-V Pioneer board.
Now only support basic uart drivers to boot up into a basic console.
Thanks,
Chen
---
Changes in v5:
The patch series is based on v6.6-rc1. You can simply review or test the patches at the link [7].
- dts: changed plic to support external interrupt
- pickup improvements from Conor, details refer to [8].
Changes in v4:
The patch series is based on v6.6-rc1. You can simply review or test the patches at the link [6].
- Update bindings files for sg2042 clint as per intput from reviewers:
- rename filename from sophgo,sg2042-clint-mswi/sg2042-clint-mtimer to thead,c900-aclint-mswi/thead,c900-aclint-mtimer.
- rename compatible strings accordingly.
- Update dts as per input from reviewers: don't use macro for cpus's isa properties; use new compatible strings for mtimer/mswi of clint.
- Use only one email-address for SoB.
Changes in v3 [v3]:
The patch series is based on v6.6-rc1. You can simply review or test the patches at the link [5].
- add new vendor specific compatible strings to identify timer/mswi for sg2042 clint
- updated maintainers info. for sophgo devicetree
- remove the quirk changes for uart
- updated dts, such as:
- add "riscv,isa-base"/"riscv,isa-extensions" for cpus
- update l2 cache node's name
- remove memory and pmu nodes
- fixed other issues as per input from reviewers.
Changes in v2 [v2]:
The patch series is based on v6.6-rc1. You can simply review or test the patches at the link [4].
- Improve format for comment of commitments as per input from last review.
- Improve format of DTS as per input from last review.
- Remove numa related stuff from DTS. This part is just for optimization, may add it later if really needed.
Changes in v1:
The patch series is based on v6.6-rc1. Due to it is not sent in thread, I have listed permlinks of the patchset [v1-0/12] ~ [v1-12/12] here for quick reference. You can simply review or test the patches at the link [3].
[1]: https://milkv.io/pioneer
[2]: https://en.sophgo.com/product/introduce/sg2042.html
[3]: https://github.com/unicornx/linux-riscv/commits/milkv-pioneer-minimal
[4]: https://github.com/unicornx/linux-riscv/commits/milkv-pioneer-minimal-v2
[5]: https://github.com/unicornx/linux-riscv/commits/milkv-pioneer-minimal-v3
[6]: https://github.com/unicornx/linux-riscv/commits/milkv-pioneer-minimal-v4
[7]: https://github.com/unicornx/linux-riscv/commits/milkv-pioneer-minimal-v5
[8]: https://lore.kernel.org/linux-riscv/20231006-empathy-unrefined-ff1168095093@spud/
[v1-0/12]:https://lore.kernel.org/linux-riscv/[email protected]/ [v1-1/12]:https://lore.kernel.org/linux-riscv/[email protected]/ [v1-2/12]:https://lore.kernel.org/linux-riscv/[email protected]/ [v1-3/12]:https://lore.kernel.org/linux-riscv/[email protected]/ [v1-4/12]:https://lore.kernel.org/linux-riscv/[email protected]/ [v1-5/12]:https://lore.kernel.org/linux-riscv/[email protected]/ [v1-6/12]:https://lore.kernel.org/linux-riscv/[email protected]/ [v1-7/12]:https://lore.kernel.org/linux-riscv/[email protected]/ [v1-8/12]:https://lore.kernel.org/linux-riscv/[email protected]/ [v1-9/12]:https://lore.kernel.org/linux-riscv/[email protected]/ [v1-10/12]:https://lore.kernel.org/linux-riscv/[email protected]/ [v1-11/12]:https://lore.kernel.org/linux-riscv/[email protected]/ [v1-12/12]:https://lore.kernel.org/linux-riscv/[email protected]/ [v2]:https://lore.kernel.org/linux-riscv/[email protected]/ [v3]:https://lore.kernel.org/linux-riscv/[email protected]/
---
Chen Wang (8):
riscv: Add SOPHGO SOC family Kconfig support
dt-bindings: vendor-prefixes: add milkv/sophgo
dt-bindings: riscv: add sophgo sg2042 bindings
dt-bindings: riscv: Add T-HEAD C920 compatibles
dt-bindings: interrupt-controller: Add Sophgo SG2042 PLIC
riscv: dts: add initial Sophgo SG2042 SoC device tree
riscv: dts: sophgo: add Milk-V Pioneer board device tree
riscv: defconfig: enable SOPHGO SoC
Inochi Amaoto (2):
dt-bindings: timer: Add Sophgo sg2042 CLINT timer
dt-bindings: interrupt-controller: Add Sophgo sg2042 CLINT mswi
.../sifive,plic-1.0.0.yaml | 1 + .../thead,c900-aclint-mswi.yaml | 43 + .../devicetree/bindings/riscv/cpus.yaml | 1 + .../devicetree/bindings/riscv/sophgo.yaml | 28 + .../timer/thead,c900-aclint-mtimer.yaml | 43 + .../devicetree/bindings/vendor-prefixes.yaml | 4 + MAINTAINERS | 7 + arch/riscv/Kconfig.socs | 5 + arch/riscv/boot/dts/Makefile | 1 + arch/riscv/boot/dts/sophgo/Makefile | 2 + arch/riscv/boot/dts/sophgo/sg2042-cpus.dtsi | 2000 +++++++++++++++++ .../boot/dts/sophgo/sg2042-milkv-pioneer.dts | 19 + arch/riscv/boot/dts/sophgo/sg2042.dtsi | 325 +++ arch/riscv/configs/defconfig | 3 +- 14 files changed, 2481 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/thead,c900-aclint-mswi.yaml create mode 100644 Documentation/devicetree/bindings/riscv/sophgo.yaml create mode 100644 Documentation/devicetree/bindings/timer/thead,c900-aclint-mtimer.yaml create mode 100644 arch/riscv/boot/dts/sophgo/Makefile create mode 100644 arch/riscv/boot/dts/sophgo/sg2042-cpus.dtsi create mode 100644 arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dts create mode 100644 arch/riscv/boot/dts/sophgo/sg2042.dtsi
base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d
Signature · 1 line
2.25.1
PATCH v5 1/10 riscv: Add SOPHGO SOC family Kconfig support
From: Chen Wang <[email protected]>
The first SoC in the SOPHGO series is SG2042, which contains 64 RISC-V cores.
--- arch/riscv/Kconfig.socs | 5 +++++ 1 file changed, 5 insertions(+)
arch/riscv/Kconfig.socs +5 -0
@@ -22,6 +22,11 @@ config SOC_SIFIVE help This enables support for SiFive SoC platform hardware. +config ARCH_SOPHGO + bool "Sophgo SoCs" + help + This enables support for Sophgo SoC platform hardware. + config ARCH_STARFIVE def_bool SOC_STARFIVE
Signature · 1 line
2.25.1
PATCH v5 2/10 dt-bindings: vendor-prefixes: add milkv/sophgo
In reply to Chen WangFrom: Chen Wang <[email protected]>
Add new vendor strings to dt bindings. These new vendor strings are used by
- SOPHGO's SG2042 SoC [1]
- Milk-V Pioneer board [2], which uses SG2042 chip.
--- Documentation/devicetree/bindings/vendor-prefixes.yaml | 4 ++++ 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +4 -0
@@ -863,6 +863,8 @@ patternProperties: description: MikroElektronika d.o.o. "^mikrotik,.*": description: MikroTik + "^milkv,.*": + description: MilkV Technology Co., Ltd "^miniand,.*": description: Miniand Tech "^minix,.*":
@@ -1273,6 +1275,8 @@ patternProperties: description: Solomon Systech Limited "^sony,.*": description: Sony Corporation + "^sophgo,.*": + description: Sophgo Technology Inc. "^sourceparts,.*": description: Source Parts Inc. "^spansion,.*":
Signature · 1 line
2.25.1
PATCH v5 3/10 dt-bindings: riscv: add sophgo sg2042 bindings
In reply to Chen WangFrom: Chen Wang <[email protected]>
Add DT binding documentation for the SOPHGO's SG2042 Soc [1] and the Milk-V Pioneer board [2].
--- .../devicetree/bindings/riscv/sophgo.yaml | 28 +++++++++++++++++++ MAINTAINERS | 6 ++++ 2 files changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/riscv/sophgo.yaml
Documentation/devicetree/bindings/riscv/sophgo.yaml new file +28 -0
@@ -0,0 +1,28 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/riscv/sophgo.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sophgo SoC-based boards + +maintainers: + - Chao Wei <[email protected]> + - Chen Wang <[email protected]> + +description: + Sophgo SoC-based boards + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - items: + - enum: + - milkv,pioneer + - const: sophgo,sg2042 + +additionalProperties: true + +...
MAINTAINERS +6 -0
@@ -20063,6 +20063,12 @@ F: drivers/char/sonypi.c F: drivers/platform/x86/sony-laptop.c F: include/linux/sony-laptop.h +SOPHGO DEVICETREES +M: Chao Wei <[email protected]> +M: Chen Wang <[email protected]> +S: Maintained +F: Documentation/devicetree/bindings/riscv/sophgo.yaml + SOUND M: Jaroslav Kysela <[email protected]> M: Takashi Iwai <[email protected]>
Signature · 1 line
2.25.1
PATCH v5 4/10 dt-bindings: riscv: Add T-HEAD C920 compatibles
In reply to Chen WangFrom: Chen Wang <[email protected]>
The C920 is RISC-V CPU cores from T-HEAD Semiconductor. Notably, the C920 core is used in the SOPHGO's SG2042 SoC.
--- Documentation/devicetree/bindings/riscv/cpus.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/riscv/cpus.yaml +1 -0
@@ -47,6 +47,7 @@ properties: - sifive,u74-mc - thead,c906 - thead,c910 + - thead,c920 - const: riscv - items: - enum:
Signature · 1 line
2.25.1
PATCH v5 5/10 dt-bindings: interrupt-controller: Add Sophgo SG2042 PLIC
In reply to Chen WangFrom: Chen Wang <[email protected]>
Add compatible string for SOPHGO SG2042 plic.
--- .../bindings/interrupt-controller/sifive,plic-1.0.0.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml +1 -0
@@ -65,6 +65,7 @@ properties: - items: - enum: - allwinner,sun20i-d1-plic + - sophgo,sg2042-plic - thead,th1520-plic - const: thead,c900-plic - items:
Signature · 1 line
2.25.1
PATCH v5 6/10 dt-bindings: timer: Add Sophgo sg2042 CLINT timer
In reply to Chen WangFrom: Inochi Amaoto <[email protected]>
The clint of Sophgo's sg2042 is based off IP designed by T-HEAD, but Sophgo changes this IP layout to fit its cpu design and is incompatible with the standard sifive clint. The timer and ipi device are on the different address, and can not be handled by the sifive,clint dt-bindings.
If we use the same compatible string for mswi and timer of the sg2042 clint like sifive,clint, the DT may be like this:
mswi: interrupt-controller@94000000 {
compatible = "sophgo,sg2042-clint", "thead,c900-clint";
interrupts-extended = <&cpu1intc 3>;
reg = <0x94000000 0x00010000>;
};timer: timer@ac000000 {
compatible = "sophgo,sg2042-clint", "thead,c900-clint";
interrupts-extended = <&cpu1intc 7>;
reg = <0xac000000 0x00010000>;
};Since the address of mswi and timer are different, it is hard to merge them directly. So we need two DT nodes to handle both devices. If we use this DT for SBI, it will parse the mswi device in the timer initialization as the compatible string is the same, so will mswi. As they are different devices, this incorrect initialization will cause the system unusable.
There is a more robust ACLINT spec. can handle this situation, but the spec. seems to be abandoned and will not be frozen in the predictable future.
So it is not the time to add ACLINT spec in the kernel bindings. Instead, using vendor bindings is more acceptable.
Add new vendor specific compatible strings to identify timer of sg2042 clint.
--- .../timer/thead,c900-aclint-mtimer.yaml | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/thead,c900-aclint-mtimer.yaml
Documentation/devicetree/bindings/timer/thead,c900-aclint-mtimer.yaml new file +43 -0
@@ -0,0 +1,43 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/thead,c900-aclint-mtimer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sophgo CLINT Timer + +maintainers: + - Inochi Amaoto <[email protected]> + +properties: + compatible: + items: + - enum: + - sophgo,sg2042-aclint-mtimer + - const: thead,c900-aclint-mtimer + + reg: + maxItems: 1 + + interrupts-extended: + minItems: 1 + maxItems: 4095 + +additionalProperties: false + +required: + - compatible + - reg + - interrupts-extended + +examples: + - | + timer@ac000000 { + compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer"; + interrupts-extended = <&cpu1intc 7>, + <&cpu2intc 7>, + <&cpu3intc 7>, + <&cpu4intc 7>; + reg = <0xac000000 0x00010000>; + }; +...
Signature · 1 line
2.25.1
PATCH v5 7/10 dt-bindings: interrupt-controller: Add Sophgo sg2042 CLINT mswi
In reply to Chen WangFrom: Inochi Amaoto <[email protected]>
The clint of Sophgo's sg2042 is based off IP designed by T-HEAD, and implements the not yet frozen ACLINT spec. This spec seems to be abandoned, and will not be frozen in the predictable future. Frozen specs required by the RISC-V maintainers before merging content relating to those extensions, therefore a generic compatible is not appropriate.
Instead, add new vendor specific compatible strings to identify mswi of sg2042 clint.
--- .../thead,c900-aclint-mswi.yaml | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/thead,c900-aclint-mswi.yaml
Documentation/devicetree/bindings/interrupt-controller/thead,c900-aclint-mswi.yaml new file +43 -0
@@ -0,0 +1,43 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/thead,c900-aclint-mswi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sophgo sg2042 CLINT Machine-level Software Interrupt Device + +maintainers: + - Inochi Amaoto <[email protected]> + +properties: + compatible: + items: + - enum: + - sophgo,sg2042-aclint-mswi + - const: thead,c900-aclint-mswi + + reg: + maxItems: 1 + + interrupts-extended: + minItems: 1 + maxItems: 4095 + +additionalProperties: false + +required: + - compatible + - reg + - interrupts-extended + +examples: + - | + interrupt-controller@94000000 { + compatible = "sophgo,sg2042-aclint-mswi", "thead,c900-aclint-mswi"; + interrupts-extended = <&cpu1intc 3>, + <&cpu2intc 3>, + <&cpu3intc 3>, + <&cpu4intc 3>; + reg = <0x94000000 0x00010000>; + }; +...
Signature · 1 line
2.25.1
PATCH v5 8/10 riscv: dts: add initial Sophgo SG2042 SoC device tree
In reply to Chen WangFrom: Chen Wang <[email protected]>
Milk-V Pioneer motherboard is powered by SG2042.
SG2042 is server grade chip with high performance, low power consumption and high data throughput.
Key features:
- 64 RISC-V cpu cores
- 4 cores per cluster, 16 clusters on chip
- More info is available at [1].
Currently only support booting into console with only uart, other features will be added soon later.
--- MAINTAINERS | 1 + arch/riscv/boot/dts/sophgo/sg2042-cpus.dtsi | 2000 +++++++++++++++++++ arch/riscv/boot/dts/sophgo/sg2042.dtsi | 325 +++ 3 files changed, 2326 insertions(+) create mode 100644 arch/riscv/boot/dts/sophgo/sg2042-cpus.dtsi create mode 100644 arch/riscv/boot/dts/sophgo/sg2042.dtsi
MAINTAINERS +1 -0
@@ -20067,6 +20067,7 @@ SOPHGO DEVICETREES M: Chao Wei <[email protected]> M: Chen Wang <[email protected]> S: Maintained +F: arch/riscv/boot/dts/sophgo/ F: Documentation/devicetree/bindings/riscv/sophgo.yaml SOUND
arch/riscv/boot/dts/sophgo/sg2042-cpus.dtsi new file +2000 -0
2,000 lines not on this page · raw message
arch/riscv/boot/dts/sophgo/sg2042.dtsi new file +325 -0
325 lines not on this page · raw message
Signature · 1 line
2.25.1
PATCH v5 9/10 riscv: dts: sophgo: add Milk-V Pioneer board device tree
In reply to Chen WangFrom: Chen Wang <[email protected]>
Milk-V Pioneer [1] is a developer motherboard based on SG2042 in a standard mATX form factor.
Currently only support booting into console with only uart enabled, other features will be added soon later.
--- arch/riscv/boot/dts/Makefile | 1 + arch/riscv/boot/dts/sophgo/Makefile | 2 ++ .../boot/dts/sophgo/sg2042-milkv-pioneer.dts | 19 +++++++++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 arch/riscv/boot/dts/sophgo/Makefile create mode 100644 arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dts
arch/riscv/boot/dts/Makefile +1 -0
@@ -4,6 +4,7 @@ subdir-y += canaan subdir-y += microchip subdir-y += renesas subdir-y += sifive +subdir-y += sophgo subdir-y += starfive subdir-y += thead
arch/riscv/boot/dts/sophgo/Makefile new file +2 -0
@@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_SOPHGO) += sg2042-milkv-pioneer.dtb
arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dts new file +19 -0
@@ -0,0 +1,19 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT +/* + * Copyright (C) 2022 Sophgo Technology Inc. All rights reserved. + */ + +#include "sg2042.dtsi" + +/ { + model = "Milk-V Pioneer"; + compatible = "milkv,pioneer", "sophgo,sg2042"; + + chosen { + stdout-path = "serial0"; + }; +}; + +&uart0 { + status = "okay"; +};
Signature · 1 line
2.25.1
PATCH v5 10/10 riscv: defconfig: enable SOPHGO SoC
In reply to Chen WangFrom: Chen Wang <[email protected]>
Enable SOPHGO SoC config in defconfig to allow the default upstream kernel to boot on Milk-V Pioneer board.
--- arch/riscv/configs/defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/riscv/configs/defconfig +2 -1
@@ -27,10 +27,11 @@ CONFIG_EXPERT=y CONFIG_PROFILING=y CONFIG_SOC_MICROCHIP_POLARFIRE=y CONFIG_ARCH_RENESAS=y -CONFIG_ARCH_THEAD=y CONFIG_SOC_SIFIVE=y +CONFIG_ARCH_SOPHGO=y CONFIG_SOC_STARFIVE=y CONFIG_ARCH_SUNXI=y +CONFIG_ARCH_THEAD=y CONFIG_SOC_VIRT=y CONFIG_SMP=y CONFIG_HOTPLUG_CPU=y
Signature · 1 line
2.25.1
Quoted 11 lines · Chen Wang
From: Chen Wang <[email protected]>
Milk-V Pioneer [1] is a developer motherboard based on SOPHON SG2042 [2] in a standard mATX form factor. Add minimal device
tree files for the SG2042 SOC and the Milk-V Pioneer board.Now only support basic uart drivers to boot up into a basic console.
Thanks,
Chen
Quoted 7 lines
---
Changes in v5:
The patch series is based on v6.6-rc1. You can simply review or test the patches at the link [7].
- dts: changed plic to support external interrupt
- pickup improvements from Conor, details refer to [8].
Did you? I only see them partially picked up. I'll just replace patch 8 with the patch 8 from this series I think.
Quoted 14 lines · Conor Dooley
Quoted 13 lines · Chen Wang
From: Chen Wang <[email protected]>
Milk-V Pioneer [1] is a developer motherboard based on SOPHON SG2042 [2] in a standard mATX form factor. Add minimal device
tree files for the SG2042 SOC and the Milk-V Pioneer board.Now only support basic uart drivers to boot up into a basic console.
Thanks,
Chen---
Quoted 7 lines
Quoted 5 lines
Changes in v5:
The patch series is based on v6.6-rc1. You can simply review or test the patches at the link [7].
- dts: changed plic to support external interrupt
- pickup improvements from Conor, details refer to [8].Did you? I only see them partially picked up. I'll just replace patch 8 with the patch 8 from this series I think.
Yes, only the patch 8 of this series(v5) is updated for plic node. For other patches, I just cherry-picked them from previous "sophon" branch.
BTW, what I did this time may be a bit redundant. I would like to ask, if I encounter a similar situation in the future (that is, only one patch needs to be modified, and the others remain unchanged), is there a better way to submit the patchset?
Thanks,
Chen
Quoted 21 lines · Chen Wang
Quoted 19 lines · Conor Dooley
Quoted 18 lines · Chen Wang
From: Chen Wang <[email protected]>
Milk-V Pioneer [1] is a developer motherboard based on SOPHON SG2042 [2] in a standard mATX form factor. Add minimal device
tree files for the SG2042 SOC and the Milk-V Pioneer board.Now only support basic uart drivers to boot up into a basic console.
Thanks,
Chen---
Changes in v5:
The patch series is based on v6.6-rc1. You can simply review or test the patches at the link [7].
- dts: changed plic to support external interrupt
- pickup improvements from Conor, details refer to [8].
Quoted 5 lines
Quoted 2 lines
Did you? I only see them partially picked up. I'll just replace patch 8 with the patch 8 from this series I think.
Yes, only the patch 8 of this series(v5) is updated for plic node. For other patches, I just cherry-picked them from previous "sophon" branch.
But added my signoff? I ended up seeing my signoff on the patch where I disagreed with the commit message, which was confusing to me.
Quoted 4 lines
BTW, what I did this time may be a bit redundant. I would like to ask, if I encounter a similar situation in the future (that is, only one patch needs to be modified, and the others remain unchanged), is there a better way to submit the patchset?
You could have sent the plic change as a incremental change on top. So a new patch with just that one change in it.
Thanks,
Conor.
Quoted 21 lines · Conor Dooley
Quoted 20 lines · Chen Wang
Quoted 19 lines · Conor Dooley
Quoted 18 lines · Chen Wang
From: Chen Wang <[email protected]>
Milk-V Pioneer [1] is a developer motherboard based on SOPHON SG2042 [2] in a standard mATX form factor. Add minimal device
tree files for the SG2042 SOC and the Milk-V Pioneer board.Now only support basic uart drivers to boot up into a basic console.
Thanks,
Chen---
Changes in v5:
The patch series is based on v6.6-rc1. You can simply review or test the patches at the link [7].
- dts: changed plic to support external interrupt
- pickup improvements from Conor, details refer to [8].
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Did you? I only see them partially picked up. I'll just replace patch 8 with the patch 8 from this series I think.
Yes, only the patch 8 of this series(v5) is updated for plic node. For other patches, I just cherry-picked them from previous "sophon" branch.
But added my signoff? I ended up seeing my signoff on the patch where I disagreed with the commit message, which was confusing to me.
Oh, I used to think I can keep the exising signoff and I didn't mean to add it. Anyway, I agree your suggestion to create a new patch with only one change should be better, I will follow this in later work.
Regarding your changes on sg2042 series, I have acked in another email : https://lore.kernel.org/linux-riscv/MA0P287MB0332BA73D0135CC73CAEA16DFEC8A@MA0P287MB0332.INDP287.PROD.OUTLOOK.COM/. If anything else required, please feel free let me know.
Thanks,
Chen
Quoted 10 lines
Quoted 5 lines
BTW, what I did this time may be a bit redundant. I would like to ask, if I encounter a similar situation in the future (that is, only one patch needs to be modified, and the others remain unchanged), is there a better way to submit the patchset?
You could have sent the plic change as a incremental change on top. So a new patch with just that one change in it.
Thanks,
Conor.
Quoted 13 lines · Chen Wang
Quoted 12 lines · Conor Dooley
Quoted 11 lines · Chen Wang
Quoted 10 lines · Conor Dooley
Quoted 7 lines · Chen Wang
From: Chen Wang <[email protected]>
Changes in v5:
The patch series is based on v6.6-rc1. You can simply review or test the patches at the link [7].
- dts: changed plic to support external interrupt
- pickup improvements from Conor, details refer to [8].Did you? I only see them partially picked up. I'll just replace patch 8 with the patch 8 from this series I think.
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
Yes, only the patch 8 of this series(v5) is updated for plic node. For other patches, I just cherry-picked them from previous "sophon" branch.
But added my signoff? I ended up seeing my signoff on the patch where I disagreed with the commit message, which was confusing to me.
Oh, I used to think I can keep the exising signoff and I didn't mean to add it.
I added mine when I applied the patches. It no longer makes sense when you resent another version.
Quoted 2 lines
Anyway, I agree your suggestion to create a new patch with only one change should be better, I will follow this in later work.
:)
Quoted 2 lines
Regarding your changes on sg2042 series, I have acked in another email : https://lore.kernel.org/linux-riscv/MA0P287MB0332BA73D0135CC73CAEA16DFEC8A@MA0P287MB0332.INDP287.PROD.OUTLOOK.COM/.
If anything else required, please feel free let me know.
An ack on Jisheng's series for the cv1800b would be nice.
Quoted 22 lines · Conor Dooley
Quoted 10 lines · Chen Wang
Quoted 9 lines · Conor Dooley
Quoted 8 lines · Chen Wang
Quoted 7 lines · Conor Dooley
Quoted 6 lines · Chen Wang
From: Chen Wang <[email protected]>
Changes in v5:
The patch series is based on v6.6-rc1. You can simply review or test the patches at the link [7].
- dts: changed plic to support external interrupt
- pickup improvements from Conor, details refer to [8].Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Did you? I only see them partially picked up. I'll just replace patch 8 with the patch 8 from this series I think.
Yes, only the patch 8 of this series(v5) is updated for plic node. For other patches, I just cherry-picked them from previous "sophon" branch.
But added my signoff? I ended up seeing my signoff on the patch where I disagreed with the commit message, which was confusing to me.
Oh, I used to think I can keep the exising signoff and I didn't mean to add it.
I added mine when I applied the patches. It no longer makes sense when you resent another version.
Quoted 7 lines
Quoted 2 lines
Anyway, I agree your suggestion to create a new patch with only one change should be better, I will follow this in later work.
:)
Quoted 2 lines
Regarding your changes on sg2042 series, I have acked in another email : https://lore.kernel.org/linux-riscv/MA0P287MB0332BA73D0135CC73CAEA16DFEC8A@MA0P287MB0332.INDP287.PROD.OUTLOOK.COM/.
If anything else required, please feel free let me know.An ack on Jisheng's series for the cv1800b would be nice.
Done, I have reviewed and acked all the files related to sophgo.
Quoted 26 lines · Chen Wang
Quoted 24 lines · Conor Dooley
Quoted 10 lines · Chen Wang
Quoted 9 lines · Conor Dooley
Quoted 8 lines · Chen Wang
Quoted 7 lines · Conor Dooley
Quoted 6 lines · Chen Wang
From: Chen Wang <[email protected]>
Changes in v5:
The patch series is based on v6.6-rc1. You can simply review or test the patches at the link [7].
- dts: changed plic to support external interrupt
- pickup improvements from Conor, details refer to [8].Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Did you? I only see them partially picked up. I'll just replace patch 8 with the patch 8 from this series I think.
Yes, only the patch 8 of this series(v5) is updated for plic node. For other patches, I just cherry-picked them from previous "sophon" branch.
But added my signoff? I ended up seeing my signoff on the patch where I disagreed with the commit message, which was confusing to me.
Oh, I used to think I can keep the exising signoff and I didn't mean to add it.
I added mine when I applied the patches. It no longer makes sense when you resent another version.
Quoted 2 lines
Anyway, I agree your suggestion to create a new patch with only one change should be better, I will follow this in later work.
Quoted 7 lines
Quoted 5 lines
:)
Quoted 2 lines
Regarding your changes on sg2042 series, I have acked in another email : https://lore.kernel.org/linux-riscv/MA0P287MB0332BA73D0135CC73CAEA16DFEC8A@MA0P287MB0332.INDP287.PROD.OUTLOOK.COM/.
If anything else required, please feel free let me know.An ack on Jisheng's series for the cv1800b would be nice.
Done, I have reviewed and acked all the files related to sophgo.
Cool. Both your and Jisheng's series should end up in linux-next tomorrow, I've pushed both to the riscv-dt-for-next branch.
Thanks!