diff options
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 73 |
1 files changed, 69 insertions, 4 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 843713c05b79..c7a16904cd03 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -54,6 +54,7 @@ config MIPS | |||
54 | select CPU_PM if CPU_IDLE | 54 | select CPU_PM if CPU_IDLE |
55 | select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST | 55 | select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST |
56 | select ARCH_BINFMT_ELF_STATE | 56 | select ARCH_BINFMT_ELF_STATE |
57 | select SYSCTL_EXCEPTION_TRACE | ||
57 | 58 | ||
58 | menu "Machine selection" | 59 | menu "Machine selection" |
59 | 60 | ||
@@ -376,8 +377,10 @@ config MIPS_MALTA | |||
376 | select SYS_HAS_CPU_MIPS32_R1 | 377 | select SYS_HAS_CPU_MIPS32_R1 |
377 | select SYS_HAS_CPU_MIPS32_R2 | 378 | select SYS_HAS_CPU_MIPS32_R2 |
378 | select SYS_HAS_CPU_MIPS32_R3_5 | 379 | select SYS_HAS_CPU_MIPS32_R3_5 |
380 | select SYS_HAS_CPU_MIPS32_R6 | ||
379 | select SYS_HAS_CPU_MIPS64_R1 | 381 | select SYS_HAS_CPU_MIPS64_R1 |
380 | select SYS_HAS_CPU_MIPS64_R2 | 382 | select SYS_HAS_CPU_MIPS64_R2 |
383 | select SYS_HAS_CPU_MIPS64_R6 | ||
381 | select SYS_HAS_CPU_NEVADA | 384 | select SYS_HAS_CPU_NEVADA |
382 | select SYS_HAS_CPU_RM7000 | 385 | select SYS_HAS_CPU_RM7000 |
383 | select SYS_SUPPORTS_32BIT_KERNEL | 386 | select SYS_SUPPORTS_32BIT_KERNEL |
@@ -1033,6 +1036,9 @@ config MIPS_MACHINE | |||
1033 | config NO_IOPORT_MAP | 1036 | config NO_IOPORT_MAP |
1034 | def_bool n | 1037 | def_bool n |
1035 | 1038 | ||
1039 | config GENERIC_CSUM | ||
1040 | bool | ||
1041 | |||
1036 | config GENERIC_ISA_DMA | 1042 | config GENERIC_ISA_DMA |
1037 | bool | 1043 | bool |
1038 | select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n | 1044 | select ZONE_DMA if GENERIC_ISA_DMA_SUPPORT_BROKEN=n |
@@ -1146,6 +1152,9 @@ config SOC_PNX8335 | |||
1146 | bool | 1152 | bool |
1147 | select SOC_PNX833X | 1153 | select SOC_PNX833X |
1148 | 1154 | ||
1155 | config MIPS_SPRAM | ||
1156 | bool | ||
1157 | |||
1149 | config SWAP_IO_SPACE | 1158 | config SWAP_IO_SPACE |
1150 | bool | 1159 | bool |
1151 | 1160 | ||
@@ -1304,6 +1313,22 @@ config CPU_MIPS32_R2 | |||
1304 | specific type of processor in your system, choose those that one | 1313 | specific type of processor in your system, choose those that one |
1305 | otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system. | 1314 | otherwise CPU_MIPS32_R1 is a safe bet for any MIPS32 system. |
1306 | 1315 | ||
1316 | config CPU_MIPS32_R6 | ||
1317 | bool "MIPS32 Release 6 (EXPERIMENTAL)" | ||
1318 | depends on SYS_HAS_CPU_MIPS32_R6 | ||
1319 | select CPU_HAS_PREFETCH | ||
1320 | select CPU_SUPPORTS_32BIT_KERNEL | ||
1321 | select CPU_SUPPORTS_HIGHMEM | ||
1322 | select CPU_SUPPORTS_MSA | ||
1323 | select GENERIC_CSUM | ||
1324 | select HAVE_KVM | ||
1325 | select MIPS_O32_FP64_SUPPORT | ||
1326 | help | ||
1327 | Choose this option to build a kernel for release 6 or later of the | ||
1328 | MIPS32 architecture. New MIPS processors, starting with the Warrior | ||
1329 | family, are based on a MIPS32r6 processor. If you own an older | ||
1330 | processor, you probably need to select MIPS32r1 or MIPS32r2 instead. | ||
1331 | |||
1307 | config CPU_MIPS64_R1 | 1332 | config CPU_MIPS64_R1 |
1308 | bool "MIPS64 Release 1" | 1333 | bool "MIPS64 Release 1" |
1309 | depends on SYS_HAS_CPU_MIPS64_R1 | 1334 | depends on SYS_HAS_CPU_MIPS64_R1 |
@@ -1339,6 +1364,21 @@ config CPU_MIPS64_R2 | |||
1339 | specific type of processor in your system, choose those that one | 1364 | specific type of processor in your system, choose those that one |
1340 | otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system. | 1365 | otherwise CPU_MIPS64_R1 is a safe bet for any MIPS64 system. |
1341 | 1366 | ||
1367 | config CPU_MIPS64_R6 | ||
1368 | bool "MIPS64 Release 6 (EXPERIMENTAL)" | ||
1369 | depends on SYS_HAS_CPU_MIPS64_R6 | ||
1370 | select CPU_HAS_PREFETCH | ||
1371 | select CPU_SUPPORTS_32BIT_KERNEL | ||
1372 | select CPU_SUPPORTS_64BIT_KERNEL | ||
1373 | select CPU_SUPPORTS_HIGHMEM | ||
1374 | select CPU_SUPPORTS_MSA | ||
1375 | select GENERIC_CSUM | ||
1376 | help | ||
1377 | Choose this option to build a kernel for release 6 or later of the | ||
1378 | MIPS64 architecture. New MIPS processors, starting with the Warrior | ||
1379 | family, are based on a MIPS64r6 processor. If you own an older | ||
1380 | processor, you probably need to select MIPS64r1 or MIPS64r2 instead. | ||
1381 | |||
1342 | config CPU_R3000 | 1382 | config CPU_R3000 |
1343 | bool "R3000" | 1383 | bool "R3000" |
1344 | depends on SYS_HAS_CPU_R3000 | 1384 | depends on SYS_HAS_CPU_R3000 |
@@ -1539,7 +1579,7 @@ endchoice | |||
1539 | config CPU_MIPS32_3_5_FEATURES | 1579 | config CPU_MIPS32_3_5_FEATURES |
1540 | bool "MIPS32 Release 3.5 Features" | 1580 | bool "MIPS32 Release 3.5 Features" |
1541 | depends on SYS_HAS_CPU_MIPS32_R3_5 | 1581 | depends on SYS_HAS_CPU_MIPS32_R3_5 |
1542 | depends on CPU_MIPS32_R2 | 1582 | depends on CPU_MIPS32_R2 || CPU_MIPS32_R6 |
1543 | help | 1583 | help |
1544 | Choose this option to build a kernel for release 2 or later of the | 1584 | Choose this option to build a kernel for release 2 or later of the |
1545 | MIPS32 architecture including features from the 3.5 release such as | 1585 | MIPS32 architecture including features from the 3.5 release such as |
@@ -1659,12 +1699,18 @@ config SYS_HAS_CPU_MIPS32_R2 | |||
1659 | config SYS_HAS_CPU_MIPS32_R3_5 | 1699 | config SYS_HAS_CPU_MIPS32_R3_5 |
1660 | bool | 1700 | bool |
1661 | 1701 | ||
1702 | config SYS_HAS_CPU_MIPS32_R6 | ||
1703 | bool | ||
1704 | |||
1662 | config SYS_HAS_CPU_MIPS64_R1 | 1705 | config SYS_HAS_CPU_MIPS64_R1 |
1663 | bool | 1706 | bool |
1664 | 1707 | ||
1665 | config SYS_HAS_CPU_MIPS64_R2 | 1708 | config SYS_HAS_CPU_MIPS64_R2 |
1666 | bool | 1709 | bool |
1667 | 1710 | ||
1711 | config SYS_HAS_CPU_MIPS64_R6 | ||
1712 | bool | ||
1713 | |||
1668 | config SYS_HAS_CPU_R3000 | 1714 | config SYS_HAS_CPU_R3000 |
1669 | bool | 1715 | bool |
1670 | 1716 | ||
@@ -1764,11 +1810,11 @@ endmenu | |||
1764 | # | 1810 | # |
1765 | config CPU_MIPS32 | 1811 | config CPU_MIPS32 |
1766 | bool | 1812 | bool |
1767 | default y if CPU_MIPS32_R1 || CPU_MIPS32_R2 | 1813 | default y if CPU_MIPS32_R1 || CPU_MIPS32_R2 || CPU_MIPS32_R6 |
1768 | 1814 | ||
1769 | config CPU_MIPS64 | 1815 | config CPU_MIPS64 |
1770 | bool | 1816 | bool |
1771 | default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 | 1817 | default y if CPU_MIPS64_R1 || CPU_MIPS64_R2 || CPU_MIPS64_R6 |
1772 | 1818 | ||
1773 | # | 1819 | # |
1774 | # These two indicate the revision of the architecture, either Release 1 or Release 2 | 1820 | # These two indicate the revision of the architecture, either Release 1 or Release 2 |
@@ -1780,6 +1826,12 @@ config CPU_MIPSR1 | |||
1780 | config CPU_MIPSR2 | 1826 | config CPU_MIPSR2 |
1781 | bool | 1827 | bool |
1782 | default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON | 1828 | default y if CPU_MIPS32_R2 || CPU_MIPS64_R2 || CPU_CAVIUM_OCTEON |
1829 | select MIPS_SPRAM | ||
1830 | |||
1831 | config CPU_MIPSR6 | ||
1832 | bool | ||
1833 | default y if CPU_MIPS32_R6 || CPU_MIPS64_R6 | ||
1834 | select MIPS_SPRAM | ||
1783 | 1835 | ||
1784 | config EVA | 1836 | config EVA |
1785 | bool | 1837 | bool |
@@ -2013,6 +2065,19 @@ config MIPS_MT_FPAFF | |||
2013 | default y | 2065 | default y |
2014 | depends on MIPS_MT_SMP | 2066 | depends on MIPS_MT_SMP |
2015 | 2067 | ||
2068 | config MIPSR2_TO_R6_EMULATOR | ||
2069 | bool "MIPS R2-to-R6 emulator" | ||
2070 | depends on CPU_MIPSR6 && !SMP | ||
2071 | default y | ||
2072 | help | ||
2073 | Choose this option if you want to run non-R6 MIPS userland code. | ||
2074 | Even if you say 'Y' here, the emulator will still be disabled by | ||
2075 | default. You can enable it using the 'mipsr2emul' kernel option. | ||
2076 | The only reason this is a build-time option is to save ~14K from the | ||
2077 | final kernel image. | ||
2078 | comment "MIPS R2-to-R6 emulator is only available for UP kernels" | ||
2079 | depends on SMP && CPU_MIPSR6 | ||
2080 | |||
2016 | config MIPS_VPE_LOADER | 2081 | config MIPS_VPE_LOADER |
2017 | bool "VPE loader support." | 2082 | bool "VPE loader support." |
2018 | depends on SYS_SUPPORTS_MULTITHREADING && MODULES | 2083 | depends on SYS_SUPPORTS_MULTITHREADING && MODULES |
@@ -2148,7 +2213,7 @@ config CPU_HAS_SMARTMIPS | |||
2148 | here. | 2213 | here. |
2149 | 2214 | ||
2150 | config CPU_MICROMIPS | 2215 | config CPU_MICROMIPS |
2151 | depends on 32BIT && SYS_SUPPORTS_MICROMIPS | 2216 | depends on 32BIT && SYS_SUPPORTS_MICROMIPS && !CPU_MIPSR6 |
2152 | bool "microMIPS" | 2217 | bool "microMIPS" |
2153 | help | 2218 | help |
2154 | When this option is enabled the kernel will be built using the | 2219 | When this option is enabled the kernel will be built using the |