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

2018-02-01 Thread James Hogan
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 

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
> 


signature.asc
Description: Digital signature


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

2018-02-01 Thread James Hogan
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 

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
> 


signature.asc
Description: Digital signature


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

2018-01-02 Thread 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 
---
 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



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

2018-01-02 Thread 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 
---
 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