public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] MIPS: Loongson64: Drop 32-bit support for Loongson 2E/2F devices
@ 2018-01-02 15:39 Jiaxun Yang
  2018-02-01 16:02 ` James Hogan
  0 siblings, 1 reply; 2+ messages in thread
From: Jiaxun Yang @ 2018-01-02 15:39 UTC (permalink / raw)
  To: James Hogan
  Cc: Ralf Baechle, Huacai CHen, linux-mips, linux-kernel, Jiaxun Yang

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.

Make loongson64 a pure 64-bit arch.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] MIPS: Loongson64: Drop 32-bit support for Loongson 2E/2F devices
  2018-01-02 15:39 [PATCH v2] MIPS: Loongson64: Drop 32-bit support for Loongson 2E/2F devices Jiaxun Yang
@ 2018-02-01 16:02 ` James Hogan
  0 siblings, 0 replies; 2+ messages in thread
From: James Hogan @ 2018-02-01 16:02 UTC (permalink / raw)
  To: Jiaxun Yang; +Cc: Ralf Baechle, Huacai CHen, linux-mips, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1308 bytes --]

On Tue, Jan 02, 2018 at 11:39:17PM +0800, Jiaxun Yang wrote:
> 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.
> 
> Make loongson64 a pure 64-bit arch.
> 
> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>

Applied to my 4.16 branch,

Thanks
James

> ---
>  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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-02-01 16:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-02 15:39 [PATCH v2] MIPS: Loongson64: Drop 32-bit support for Loongson 2E/2F devices Jiaxun Yang
2018-02-01 16:02 ` James Hogan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox