mips: enable O32_FP64 and MSA

CONFIG_MIPS_O32_FP64_SUPPORT is required to support MSA for O32.
It requires CPU >= mips32r1. It is OK for us: currently our
baseline is mips32r2/mips64r2.

Malta can use different CPUs, some of them may support MSA.
Loongson 3A/B 4000 will support MSA.
The only CPU currently we support has no MSA is octeon.

Commit-ID in master: b1d08a0cffbe181cbb94e3fc72a91c2e8a8a38e7
This commit is contained in:
YunQiang Su 2019-12-19 03:39:31 -08:00
parent ff103bb4ad
commit 947fbc6618
4 changed files with 10 additions and 1 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
linux (4.19.87-2) UNRELEASED; urgency=medium
* [mips*] enable CONFIG_MIPS_O32_FP64_SUPPORT.
* [mips*] enable CONFIG_CPU_HAS_MSA except octeon.
-- YunQiang Su <syq@debian.org> Fri, 27 Dec 2019 17:30:55 +0800
linux (4.19.87-1) buster; urgency=medium
* New upstream stable update:

View File

@ -1,6 +1,7 @@
##
## file: arch/mips/Kconfig
##
CONFIG_CPU_HAS_MSA=y
CONFIG_RELOCATABLE=y
CONFIG_RELOCATION_TABLE_SIZE=0x00140000
CONFIG_RANDOMIZE_BASE=y
@ -8,6 +9,7 @@ CONFIG_KEXEC=y
CONFIG_SECCOMP=y
CONFIG_PCI=y
# CONFIG_RAPIDIO is not set
CONFIG_MIPS_O32_FP64_SUPPORT=y
#. Ignored in 32-bit configurations
CONFIG_MIPS32_O32=y
CONFIG_MIPS32_N32=y

View File

@ -5,7 +5,6 @@
CONFIG_MIPS_GENERIC=y
## end choice
CONFIG_MIPS_CPS=y
CONFIG_CPU_HAS_MSA=y
CONFIG_HIGHMEM=y
CONFIG_NR_CPUS=16

View File

@ -8,6 +8,7 @@ CONFIG_CAVIUM_OCTEON_SOC=y
# CONFIG_32BIT is not set
CONFIG_64BIT=y
## end choice
# CONFIG_CPU_HAS_MSA is not set
CONFIG_SMP=y
# CONFIG_HOTPLUG_CPU is not set
CONFIG_NR_CPUS=64