Re: [PATCH v3 4/8] MIPS: Ingenic: Add a new CPU_XBURST2 type
From: Paul Cercueil
Date: Mon Nov 30 2026 - 11:52:28 EST
Le samedi 28 novembre 2026 à 18:20 +0100, H. Nikolaus Schaller a écrit :
> From: 周琰杰 (Zhou Yanjie) <zhouyanjie@xxxxxxxxxxxxxx>
>
> Add a new CPU_XBURST2 type for the MIPS32r5 compatible XBurst®2 CPU.
>
> Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@xxxxxxxxxxxxxx>
> Signed-off-by: H. Nikolaus Schaller <hns@xxxxxxxxxxxxx>
Reviewed-by: Paul Cercueil <paul@xxxxxxxxxxxxxxx>
but,
> ---
>
> Notes:
> This patch solves a build error in
>
> "MIPS: Ingenic: Update Ingenic XBurst implementation IDs"
>
> reported by kernel test robot.
>
> Review: The kernel test robot reported the build failure which
> motivated the separate CPU_XBURST2 type patch.
Where's that commit? I can't find it in mips-next or in 7.4-rc5.
-Paul
>
> arch/mips/include/asm/cpu-type.h | 1 +
> arch/mips/include/asm/cpu.h | 4 ++--
> 2 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/arch/mips/include/asm/cpu-type.h b/arch/mips/include/asm/cpu-
> type.h
> index fd37a44a2f199..25a181fd0eb7a 100644
> --- a/arch/mips/include/asm/cpu-type.h
> +++ b/arch/mips/include/asm/cpu-type.h
> @@ -56,6 +56,7 @@ static inline int __pure __get_cpu_type(const int cpu_type)
> #ifdef CONFIG_SYS_HAS_CPU_MIPS32_R5
> case CPU_M5150:
> case CPU_P5600:
> + case CPU_XBURST2:
> #endif
>
> #if defined(CONFIG_SYS_HAS_CPU_MIPS32_R2) || \
> diff --git a/arch/mips/include/asm/cpu.h b/arch/mips/include/asm/cpu.h
> index 0fd9f9bbd21f1..add26f08e8029 100644
> --- a/arch/mips/include/asm/cpu.h
> +++ b/arch/mips/include/asm/cpu.h
> @@ -312,8 +312,8 @@ enum cpu_type_enum {
> */
> CPU_4KC, CPU_4KEC, CPU_4KSC, CPU_24K, CPU_34K, CPU_1004K, CPU_74K,
> CPU_ALCHEMY, CPU_PR4450, CPU_BMIPS32, CPU_BMIPS3300, CPU_BMIPS4350,
> - CPU_BMIPS4380, CPU_BMIPS5000, CPU_XBURST, CPU_LOONGSON32, CPU_M14KC,
> - CPU_M14KEC, CPU_INTERAPTIV, CPU_P5600, CPU_PROAPTIV, CPU_1074K,
> + CPU_BMIPS4380, CPU_BMIPS5000, CPU_XBURST, CPU_XBURST2,
> CPU_LOONGSON32,
> + CPU_M14KC, CPU_M14KEC, CPU_INTERAPTIV, CPU_P5600, CPU_PROAPTIV,
> CPU_1074K,
> CPU_M5150, CPU_I6400, CPU_P6600, CPU_M6250,
>
> /*