Re: [PATCH] MIPS: Loongson64: Drop 32-bit support for Loongson 2E/2F devices

From: Jiaxun Yang
Date: Tue Jan 02 2018 - 08:31:17 EST


On 2018-01-02 Tue 08:48 +0000ïJames Hogan Wroteï
> On Tue, Dec 26, 2017 at 12:21:38PM +0800, Jiaxun Yang wrote:
> > Make loongson64 a pure 64-bit mach.
>
> Please expand to provide some rationale behind the change. Was 32-bit
> support broken at runtime, or broken at build time, or are we simply
> no

The 32-bit support was broken at runtime, it doesn't boot anymore,
witch is hard to debug because even early printk isn't working, also
there are some build warnings. Some newer bootloader may not support
32-bit ELF. So we decide to drop 32-bit support.

Jiaxun

> longer interested in supporting it?
>
> Cheers
> James
>
> >
> > Signed-off-by: Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx>
> > ---
> > arch/mips/loongson64/Kconfig | 2 --
> > 1 file changed, 2 deletions(-)
> >
> > diff --git a/arch/mips/loongson64/Kconfig
> > b/arch/mips/loongson64/Kconfig
> > index 0d249fc3cfe9..a7d9a9241ac4 100644
> > --- a/arch/mips/loongson64/Kconfig
> > +++ b/arch/mips/loongson64/Kconfig
> > @@ -17,7 +17,6 @@ config LEMOTE_FULOONG2E
> > select I8259
> > select ISA
> > select IRQ_MIPS_CPU
> > - select SYS_SUPPORTS_32BIT_KERNEL
> > select SYS_SUPPORTS_64BIT_KERNEL
> > select SYS_SUPPORTS_LITTLE_ENDIAN
> > select SYS_SUPPORTS_HIGHMEM
> > @@ -49,7 +48,6 @@ config LEMOTE_MACH2F
> > select ISA
> > select SYS_HAS_CPU_LOONGSON2F
> > select SYS_HAS_EARLY_PRINTK
> > - select SYS_SUPPORTS_32BIT_KERNEL
> > select SYS_SUPPORTS_64BIT_KERNEL
> > select SYS_SUPPORTS_HIGHMEM
> > select SYS_SUPPORTS_LITTLE_ENDIAN
> > --
> > 2.15.1
> >

Attachment: signature.asc
Description: This is a digitally signed message part