riscv: add Andes SoC family Kconfig support
PATCH 1/1 riscv: add Andes SoC family Kconfig support
The first SoC in the Andes series is QiLai. It includes a high-performance quad-core RISC-V AX45MP cluster and one NX27V vector processor.
For further information, refer to [1].
[1] https://www.andestech.com/en/products-solutions/andeshape-platforms/qilai-chip/
--- arch/riscv/Kconfig.errata | 2 +- arch/riscv/Kconfig.socs | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-)
arch/riscv/Kconfig.errata +1 -1
@@ -12,7 +12,7 @@ config ERRATA_ANDES config ERRATA_ANDES_CMO bool "Apply Andes cache management errata" - depends on ERRATA_ANDES && ARCH_R9A07G043 + depends on ERRATA_ANDES && (ARCH_R9A07G043 || ARCH_ANDES) select RISCV_DMA_NONCOHERENT default y help
arch/riscv/Kconfig.socs +9 -0
@@ -1,5 +1,14 @@ menu "SoC selection" +config ARCH_ANDES + bool "Andes SoCs" + depends on MMU && !XIP_KERNEL + select ERRATA_ANDES + select ERRATA_ANDES_CMO + select AX45MP_L2_CACHE + help + This enables support for Andes SoC platform hardware. + config ARCH_MICROCHIP_POLARFIRE def_bool ARCH_MICROCHIP
Signature · 7 lines
2.34.1 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 2 lines · Ben Zong-You Xie
The first SoC in the Andes series is QiLai. It includes a high-performance quad-core RISC-V AX45MP cluster and one NX27V vector processor.
I'd expect a config option like this to come with the user, which in this case is the dts etc for a board using the QiLai SoC or drivers for the SoC. Without dts or drivers, there's no reason to ever enable this, so where are those patches?
Cheers,
Conor.
Quoted 51 lines
For further information, refer to [1].
[1] https://www.andestech.com/en/products-solutions/andeshape-platforms/qilai-chip/
Signed-off-by Ben Zong-You Xie <[email protected]>--- arch/riscv/Kconfig.errata | 2 +- arch/riscv/Kconfig.socs | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-)arch/riscv/Kconfig.errata +1
-1@@ -12,7 +12,7 @@ config ERRATA_ANDES config ERRATA_ANDES_CMO bool "Apply Andes cache management errata" - depends on ERRATA_ANDES && ARCH_R9A07G043 + depends on ERRATA_ANDES && (ARCH_R9A07G043 || ARCH_ANDES) select RISCV_DMA_NONCOHERENT default y helparch/riscv/Kconfig.socs +9
-0@@ -1,5 +1,14 @@ menu "SoC selection" +config ARCH_ANDES + bool "Andes SoCs" + depends on MMU && !XIP_KERNEL + select ERRATA_ANDES + select ERRATA_ANDES_CMO + select AX45MP_L2_CACHE + help + This enables support for Andes SoC platform hardware. + config ARCH_MICROCHIP_POLARFIRE def_bool ARCH_MICROCHIPSignature · 7 lines
2.34.1 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 14 lines · Conor Dooley
[EXTERNAL MAIL]
Date: Thu, 6 Mar 2025 16:40:49 +0000
From: Conor Dooley <[email protected]>
To: Ben Zong-You Xie <[email protected]>
Cc: [email protected], [email protected],
[email protected], [email protected], [email protected], [email protected]
Subject: Re: [PATCH] riscv: add Andes SoC familyKconfigsupportQuoted 2 lines · Ben Zong-You Xie
The first SoC in the Andes series is QiLai. It includes a high-performance quad-core RISC-V AX45MP cluster and one NX27V vector processor.
Quoted 8 lines
I'd expect a config option like this to come with the user, which in this case is the dts etc for a board using the QiLai SoC or drivers for the SoC. Without dts or drivers, there's no reason to ever enable this, so where are those patches?
Cheers,
Conor.
Hi Conor,
We are still preparing those patches for upstream, and we will add them in the next patch series.
Thanks,
Ben
Quoted 51 lines
Quoted 51 lines
For further information, refer to [1].
[1] https://www.andestech.com/en/products-solutions/andeshape-platforms/qilai-chip/
Signed-off-by Ben Zong-You Xie <[email protected]>--- arch/riscv/Kconfig.errata | 2 +- arch/riscv/Kconfig.socs | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-)arch/riscv/Kconfig.errata +1
-1@@ -12,7 +12,7 @@ config ERRATA_ANDES config ERRATA_ANDES_CMO bool "Apply Andes cache management errata" - depends on ERRATA_ANDES && ARCH_R9A07G043 + depends on ERRATA_ANDES && (ARCH_R9A07G043 || ARCH_ANDES) select RISCV_DMA_NONCOHERENT default y helparch/riscv/Kconfig.socs +9
-0@@ -1,5 +1,14 @@ menu "SoC selection" +config ARCH_ANDES + bool "Andes SoCs" + depends on MMU && !XIP_KERNEL + select ERRATA_ANDES + select ERRATA_ANDES_CMO + select AX45MP_L2_CACHE + help + This enables support for Andes SoC platform hardware. + config ARCH_MICROCHIP_POLARFIRE def_bool ARCH_MICROCHIPSignature · 7 lines
2.34.1 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 20 lines · On Fri, 07 Mar 2025 02:36:25 PST (-0800), [email protected] wrote:
Quoted 19 lines · Conor Dooley
[EXTERNAL MAIL]
Date: Thu, 6 Mar 2025 16:40:49 +0000
From: Conor Dooley <[email protected]>
To: Ben Zong-You Xie <[email protected]>
Cc: [email protected], [email protected],
[email protected], [email protected], [email protected], [email protected]
Subject: Re: [PATCH] riscv: add Andes SoC familyKconfigsupportQuoted 2 lines · Ben Zong-You Xie
The first SoC in the Andes series is QiLai. It includes a high-performance quad-core RISC-V AX45MP cluster and one NX27V vector processor.
I'd expect a config option like this to come with the user, which in this case is the dts etc for a board using the QiLai SoC or drivers for the SoC. Without dts or drivers, there's no reason to ever enable this, so where are those patches?
Quoted 8 lines
Quoted 3 lines
Cheers,
Conor.Hi Conor,
We are still preparing those patches for upstream, and we will add them in the next patch series.
This is still "Needs Ack" in patchwork, so
Though like Conor says, we need the rest of the code to do anything here, so that's really just a way to get it out of my queue ;)
Quoted 55 lines
Thanks,
BenQuoted 51 lines
Quoted 51 lines
For further information, refer to [1].
[1] https://www.andestech.com/en/products-solutions/andeshape-platforms/qilai-chip/
Signed-off-by Ben Zong-You Xie <[email protected]>--- arch/riscv/Kconfig.errata | 2 +- arch/riscv/Kconfig.socs | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-)arch/riscv/Kconfig.errata +1
-1@@ -12,7 +12,7 @@ config ERRATA_ANDES config ERRATA_ANDES_CMO bool "Apply Andes cache management errata" - depends on ERRATA_ANDES && ARCH_R9A07G043 + depends on ERRATA_ANDES && (ARCH_R9A07G043 || ARCH_ANDES) select RISCV_DMA_NONCOHERENT default y helparch/riscv/Kconfig.socs +9
-1@@ -1,5 +1,14 @@ menu "SoC selection" +config ARCH_ANDES + bool "Andes SoCs" + depends on MMU && !XIP_KERNEL + select ERRATA_ANDES + select ERRATA_ANDES_CMO + select AX45MP_L2_CACHE + help + This enables support for Andes SoC platform hardware. + config ARCH_MICROCHIP_POLARFIRE def_bool ARCH_MICROCHIP --2.34.1
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Quoted 32 lines · Palmer Dabbelt
[EXTERNAL MAIL]
Quoted 20 lines · On Fri, 07 Mar 2025 02:36:25 PST (-0800), [email protected] wrote:
Quoted 19 lines · Conor Dooley
[EXTERNAL MAIL]
Date: Thu, 6 Mar 2025 16:40:49 +0000
From: Conor Dooley <[email protected]>
To: Ben Zong-You Xie <[email protected]>
Cc: [email protected], [email protected],
[email protected], [email protected], [email protected], [email protected]
Subject: Re: [PATCH] riscv: add Andes SoC familyKconfigsupportQuoted 2 lines · Ben Zong-You Xie
The first SoC in the Andes series is QiLai. It includes a high-performance quad-core RISC-V AX45MP cluster and one NX27V vector processor.
I'd expect a config option like this to come with the user, which in this case is the dts etc for a board using the QiLai SoC or drivers for the SoC. Without dts or drivers, there's no reason to ever enable this, so where are those patches?
Quoted 8 lines
Quoted 3 lines
Cheers,
Conor.Hi Conor,
We are still preparing those patches for upstream, and we will add them in the next patch series.
Quoted 7 lines
This is still "Needs Ack" in patchwork, so
Acked-by Palmer Dabbelt <[email protected]>Though like Conor says, we need the rest of the code to do anything here, so that's really just a way to get it out of my queue ;)
I have not added the remaining code in the next version of this patch series. Instead, I’ve submitted a new patch series [1] that incorporates this patch. Maybe add your Acked-by tag to the new series and disregard this patch.
[1] https://patchwork.kernel.org/project/linux-riscv/cover/[email protected]/
Thanks,
Ben
Quoted 55 lines
Quoted 55 lines
Thanks,
BenQuoted 51 lines
Quoted 51 lines
For further information, refer to [1].
[1] https://www.andestech.com/en/products-solutions/andeshape-platforms/qilai-chip/
Signed-off-by Ben Zong-You Xie <[email protected]>--- arch/riscv/Kconfig.errata | 2 +- arch/riscv/Kconfig.socs | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-)arch/riscv/Kconfig.errata +1
-1@@ -12,7 +12,7 @@ config ERRATA_ANDES config ERRATA_ANDES_CMO bool "Apply Andes cache management errata" - depends on ERRATA_ANDES && ARCH_R9A07G043 + depends on ERRATA_ANDES && (ARCH_R9A07G043 || ARCH_ANDES) select RISCV_DMA_NONCOHERENT default y helparch/riscv/Kconfig.socs +9
-1@@ -1,5 +1,14 @@ menu "SoC selection" +config ARCH_ANDES + bool "Andes SoCs" + depends on MMU && !XIP_KERNEL + select ERRATA_ANDES + select ERRATA_ANDES_CMO + select AX45MP_L2_CACHE + help + This enables support for Andes SoC platform hardware. + config ARCH_MICROCHIP_POLARFIRE def_bool ARCH_MICROCHIP --2.34.1
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv