Message ID | 20230529135245.4085-2-jiaxun.yang@flygoat.com (mailing list archive) |
---|---|
State | Accepted |
Commit | fb6700c598d8a10d35afb1365cb321695e9a94bc |
Headers | show |
Series | [1/2] MIPS: Allow MIPS32R2 kernel to run on P5600 and M5150 | expand |
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@flygoat.com> Anyway. Thanks for the patch. Reviewed-by: Serge Semin <fancer.lancer@gmail.com> -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) >
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. > > Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> > --- > 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) applied to mips-next. Thomas.
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
Since we do have P5600 bitfile for boston board, we should allow generic kernel to be compiled for R5 CPUs. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> --- arch/mips/Kconfig | 2 ++ 1 file changed, 2 insertions(+)