Re: [PATCH 2/2] MIPS: generic: Allow R5 CPUs to be selected

From: Serge Semin
Date: Tue May 30 2023 - 09:37:49 EST


On Mon, May 29, 2023 at 02:52:45PM +0100, Jiaxun Yang wrote:
> Since we do have P5600 bitfile for boston board, we should
> allow generic kernel to be compiled for R5 CPUs.

Would be good to place the outcomes from the Patch 1/2 discussion here.

>
> Signed-off-by: Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx>

Anyway. Thanks for the patch.
Reviewed-by: Serge Semin <fancer.lancer@xxxxxxxxx>

-Serge(y)

> ---
> arch/mips/Kconfig | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
> index e437bf43ecfc..215fcdc059d2 100644
> --- a/arch/mips/Kconfig
> +++ b/arch/mips/Kconfig
> @@ -154,9 +154,11 @@ config MIPS_GENERIC_KERNEL
> select SWAP_IO_SPACE
> select SYS_HAS_CPU_MIPS32_R1
> select SYS_HAS_CPU_MIPS32_R2
> + select SYS_HAS_CPU_MIPS32_R5
> select SYS_HAS_CPU_MIPS32_R6
> select SYS_HAS_CPU_MIPS64_R1
> select SYS_HAS_CPU_MIPS64_R2
> + select SYS_HAS_CPU_MIPS64_R5
> select SYS_HAS_CPU_MIPS64_R6
> select SYS_SUPPORTS_32BIT_KERNEL
> select SYS_SUPPORTS_64BIT_KERNEL
> --
> 2.39.2 (Apple Git-143)
>