diff options
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 80 |
1 files changed, 52 insertions, 28 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index e15709ce8866..ee5fbb02b28f 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -816,6 +816,10 @@ config GENERIC_CALIBRATE_DELAY | |||
816 | bool | 816 | bool |
817 | default y | 817 | default y |
818 | 818 | ||
819 | config SCHED_NO_NO_OMIT_FRAME_POINTER | ||
820 | bool | ||
821 | default y | ||
822 | |||
819 | # | 823 | # |
820 | # Select some configuration options automatically based on user selections. | 824 | # Select some configuration options automatically based on user selections. |
821 | # | 825 | # |
@@ -1063,6 +1067,7 @@ choice | |||
1063 | config CPU_MIPS32_R1 | 1067 | config CPU_MIPS32_R1 |
1064 | bool "MIPS32 Release 1" | 1068 | bool "MIPS32 Release 1" |
1065 | depends on SYS_HAS_CPU_MIPS32_R1 | 1069 | depends on SYS_HAS_CPU_MIPS32_R1 |
1070 | select CPU_HAS_LLSC | ||
1066 | select CPU_HAS_PREFETCH | 1071 | select CPU_HAS_PREFETCH |
1067 | select CPU_SUPPORTS_32BIT_KERNEL | 1072 | select CPU_SUPPORTS_32BIT_KERNEL |
1068 | select CPU_SUPPORTS_HIGHMEM | 1073 | select CPU_SUPPORTS_HIGHMEM |
@@ -1080,6 +1085,7 @@ config CPU_MIPS32_R1 | |||
1080 | config CPU_MIPS32_R2 | 1085 | config CPU_MIPS32_R2 |
1081 | bool "MIPS32 Release 2" | 1086 | bool "MIPS32 Release 2" |
1082 | depends on SYS_HAS_CPU_MIPS32_R2 | 1087 | depends on SYS_HAS_CPU_MIPS32_R2 |
1088 | select CPU_HAS_LLSC | ||
1083 | select CPU_HAS_PREFETCH | 1089 | select CPU_HAS_PREFETCH |
1084 | select CPU_SUPPORTS_32BIT_KERNEL | 1090 | select CPU_SUPPORTS_32BIT_KERNEL |
1085 | select CPU_SUPPORTS_HIGHMEM | 1091 | select CPU_SUPPORTS_HIGHMEM |
@@ -1093,6 +1099,7 @@ config CPU_MIPS32_R2 | |||
1093 | config CPU_MIPS64_R1 | 1099 | config CPU_MIPS64_R1 |
1094 | bool "MIPS64 Release 1" | 1100 | bool "MIPS64 Release 1" |
1095 | depends on SYS_HAS_CPU_MIPS64_R1 | 1101 | depends on SYS_HAS_CPU_MIPS64_R1 |
1102 | select CPU_HAS_LLSC | ||
1096 | select CPU_HAS_PREFETCH | 1103 | select CPU_HAS_PREFETCH |
1097 | select CPU_SUPPORTS_32BIT_KERNEL | 1104 | select CPU_SUPPORTS_32BIT_KERNEL |
1098 | select CPU_SUPPORTS_64BIT_KERNEL | 1105 | select CPU_SUPPORTS_64BIT_KERNEL |
@@ -1111,6 +1118,7 @@ config CPU_MIPS64_R1 | |||
1111 | config CPU_MIPS64_R2 | 1118 | config CPU_MIPS64_R2 |
1112 | bool "MIPS64 Release 2" | 1119 | bool "MIPS64 Release 2" |
1113 | depends on SYS_HAS_CPU_MIPS64_R2 | 1120 | depends on SYS_HAS_CPU_MIPS64_R2 |
1121 | select CPU_HAS_LLSC | ||
1114 | select CPU_HAS_PREFETCH | 1122 | select CPU_HAS_PREFETCH |
1115 | select CPU_SUPPORTS_32BIT_KERNEL | 1123 | select CPU_SUPPORTS_32BIT_KERNEL |
1116 | select CPU_SUPPORTS_64BIT_KERNEL | 1124 | select CPU_SUPPORTS_64BIT_KERNEL |
@@ -1125,6 +1133,7 @@ config CPU_MIPS64_R2 | |||
1125 | config CPU_R3000 | 1133 | config CPU_R3000 |
1126 | bool "R3000" | 1134 | bool "R3000" |
1127 | depends on SYS_HAS_CPU_R3000 | 1135 | depends on SYS_HAS_CPU_R3000 |
1136 | select CPU_HAS_WB | ||
1128 | select CPU_SUPPORTS_32BIT_KERNEL | 1137 | select CPU_SUPPORTS_32BIT_KERNEL |
1129 | select CPU_SUPPORTS_HIGHMEM | 1138 | select CPU_SUPPORTS_HIGHMEM |
1130 | help | 1139 | help |
@@ -1154,6 +1163,7 @@ config CPU_VR41XX | |||
1154 | config CPU_R4300 | 1163 | config CPU_R4300 |
1155 | bool "R4300" | 1164 | bool "R4300" |
1156 | depends on SYS_HAS_CPU_R4300 | 1165 | depends on SYS_HAS_CPU_R4300 |
1166 | select CPU_HAS_LLSC | ||
1157 | select CPU_SUPPORTS_32BIT_KERNEL | 1167 | select CPU_SUPPORTS_32BIT_KERNEL |
1158 | select CPU_SUPPORTS_64BIT_KERNEL | 1168 | select CPU_SUPPORTS_64BIT_KERNEL |
1159 | help | 1169 | help |
@@ -1162,6 +1172,7 @@ config CPU_R4300 | |||
1162 | config CPU_R4X00 | 1172 | config CPU_R4X00 |
1163 | bool "R4x00" | 1173 | bool "R4x00" |
1164 | depends on SYS_HAS_CPU_R4X00 | 1174 | depends on SYS_HAS_CPU_R4X00 |
1175 | select CPU_HAS_LLSC | ||
1165 | select CPU_SUPPORTS_32BIT_KERNEL | 1176 | select CPU_SUPPORTS_32BIT_KERNEL |
1166 | select CPU_SUPPORTS_64BIT_KERNEL | 1177 | select CPU_SUPPORTS_64BIT_KERNEL |
1167 | help | 1178 | help |
@@ -1171,6 +1182,7 @@ config CPU_R4X00 | |||
1171 | config CPU_TX49XX | 1182 | config CPU_TX49XX |
1172 | bool "R49XX" | 1183 | bool "R49XX" |
1173 | depends on SYS_HAS_CPU_TX49XX | 1184 | depends on SYS_HAS_CPU_TX49XX |
1185 | select CPU_HAS_LLSC | ||
1174 | select CPU_HAS_PREFETCH | 1186 | select CPU_HAS_PREFETCH |
1175 | select CPU_SUPPORTS_32BIT_KERNEL | 1187 | select CPU_SUPPORTS_32BIT_KERNEL |
1176 | select CPU_SUPPORTS_64BIT_KERNEL | 1188 | select CPU_SUPPORTS_64BIT_KERNEL |
@@ -1178,6 +1190,7 @@ config CPU_TX49XX | |||
1178 | config CPU_R5000 | 1190 | config CPU_R5000 |
1179 | bool "R5000" | 1191 | bool "R5000" |
1180 | depends on SYS_HAS_CPU_R5000 | 1192 | depends on SYS_HAS_CPU_R5000 |
1193 | select CPU_HAS_LLSC | ||
1181 | select CPU_SUPPORTS_32BIT_KERNEL | 1194 | select CPU_SUPPORTS_32BIT_KERNEL |
1182 | select CPU_SUPPORTS_64BIT_KERNEL | 1195 | select CPU_SUPPORTS_64BIT_KERNEL |
1183 | help | 1196 | help |
@@ -1186,12 +1199,14 @@ config CPU_R5000 | |||
1186 | config CPU_R5432 | 1199 | config CPU_R5432 |
1187 | bool "R5432" | 1200 | bool "R5432" |
1188 | depends on SYS_HAS_CPU_R5432 | 1201 | depends on SYS_HAS_CPU_R5432 |
1202 | select CPU_HAS_LLSC | ||
1189 | select CPU_SUPPORTS_32BIT_KERNEL | 1203 | select CPU_SUPPORTS_32BIT_KERNEL |
1190 | select CPU_SUPPORTS_64BIT_KERNEL | 1204 | select CPU_SUPPORTS_64BIT_KERNEL |
1191 | 1205 | ||
1192 | config CPU_R6000 | 1206 | config CPU_R6000 |
1193 | bool "R6000" | 1207 | bool "R6000" |
1194 | depends on EXPERIMENTAL | 1208 | depends on EXPERIMENTAL |
1209 | select CPU_HAS_LLSC | ||
1195 | depends on SYS_HAS_CPU_R6000 | 1210 | depends on SYS_HAS_CPU_R6000 |
1196 | select CPU_SUPPORTS_32BIT_KERNEL | 1211 | select CPU_SUPPORTS_32BIT_KERNEL |
1197 | help | 1212 | help |
@@ -1201,6 +1216,7 @@ config CPU_R6000 | |||
1201 | config CPU_NEVADA | 1216 | config CPU_NEVADA |
1202 | bool "RM52xx" | 1217 | bool "RM52xx" |
1203 | depends on SYS_HAS_CPU_NEVADA | 1218 | depends on SYS_HAS_CPU_NEVADA |
1219 | select CPU_HAS_LLSC | ||
1204 | select CPU_SUPPORTS_32BIT_KERNEL | 1220 | select CPU_SUPPORTS_32BIT_KERNEL |
1205 | select CPU_SUPPORTS_64BIT_KERNEL | 1221 | select CPU_SUPPORTS_64BIT_KERNEL |
1206 | help | 1222 | help |
@@ -1210,6 +1226,7 @@ config CPU_R8000 | |||
1210 | bool "R8000" | 1226 | bool "R8000" |
1211 | depends on EXPERIMENTAL | 1227 | depends on EXPERIMENTAL |
1212 | depends on SYS_HAS_CPU_R8000 | 1228 | depends on SYS_HAS_CPU_R8000 |
1229 | select CPU_HAS_LLSC | ||
1213 | select CPU_HAS_PREFETCH | 1230 | select CPU_HAS_PREFETCH |
1214 | select CPU_SUPPORTS_64BIT_KERNEL | 1231 | select CPU_SUPPORTS_64BIT_KERNEL |
1215 | help | 1232 | help |
@@ -1219,6 +1236,7 @@ config CPU_R8000 | |||
1219 | config CPU_R10000 | 1236 | config CPU_R10000 |
1220 | bool "R10000" | 1237 | bool "R10000" |
1221 | depends on SYS_HAS_CPU_R10000 | 1238 | depends on SYS_HAS_CPU_R10000 |
1239 | select CPU_HAS_LLSC | ||
1222 | select CPU_HAS_PREFETCH | 1240 | select CPU_HAS_PREFETCH |
1223 | select CPU_SUPPORTS_32BIT_KERNEL | 1241 | select CPU_SUPPORTS_32BIT_KERNEL |
1224 | select CPU_SUPPORTS_64BIT_KERNEL | 1242 | select CPU_SUPPORTS_64BIT_KERNEL |
@@ -1229,6 +1247,7 @@ config CPU_R10000 | |||
1229 | config CPU_RM7000 | 1247 | config CPU_RM7000 |
1230 | bool "RM7000" | 1248 | bool "RM7000" |
1231 | depends on SYS_HAS_CPU_RM7000 | 1249 | depends on SYS_HAS_CPU_RM7000 |
1250 | select CPU_HAS_LLSC | ||
1232 | select CPU_HAS_PREFETCH | 1251 | select CPU_HAS_PREFETCH |
1233 | select CPU_SUPPORTS_32BIT_KERNEL | 1252 | select CPU_SUPPORTS_32BIT_KERNEL |
1234 | select CPU_SUPPORTS_64BIT_KERNEL | 1253 | select CPU_SUPPORTS_64BIT_KERNEL |
@@ -1237,6 +1256,7 @@ config CPU_RM7000 | |||
1237 | config CPU_RM9000 | 1256 | config CPU_RM9000 |
1238 | bool "RM9000" | 1257 | bool "RM9000" |
1239 | depends on SYS_HAS_CPU_RM9000 | 1258 | depends on SYS_HAS_CPU_RM9000 |
1259 | select CPU_HAS_LLSC | ||
1240 | select CPU_HAS_PREFETCH | 1260 | select CPU_HAS_PREFETCH |
1241 | select CPU_SUPPORTS_32BIT_KERNEL | 1261 | select CPU_SUPPORTS_32BIT_KERNEL |
1242 | select CPU_SUPPORTS_64BIT_KERNEL | 1262 | select CPU_SUPPORTS_64BIT_KERNEL |
@@ -1245,6 +1265,7 @@ config CPU_RM9000 | |||
1245 | config CPU_SB1 | 1265 | config CPU_SB1 |
1246 | bool "SB1" | 1266 | bool "SB1" |
1247 | depends on SYS_HAS_CPU_SB1 | 1267 | depends on SYS_HAS_CPU_SB1 |
1268 | select CPU_HAS_LLSC | ||
1248 | select CPU_SUPPORTS_32BIT_KERNEL | 1269 | select CPU_SUPPORTS_32BIT_KERNEL |
1249 | select CPU_SUPPORTS_64BIT_KERNEL | 1270 | select CPU_SUPPORTS_64BIT_KERNEL |
1250 | select CPU_SUPPORTS_HIGHMEM | 1271 | select CPU_SUPPORTS_HIGHMEM |
@@ -1443,6 +1464,12 @@ choice | |||
1443 | prompt "MIPS MT options" | 1464 | prompt "MIPS MT options" |
1444 | depends on MIPS_MT | 1465 | depends on MIPS_MT |
1445 | 1466 | ||
1467 | config MIPS_MT_SMTC | ||
1468 | bool "SMTC: Use all TCs on all VPEs for SMP" | ||
1469 | select CPU_MIPSR2_IRQ_VI | ||
1470 | select CPU_MIPSR2_SRS | ||
1471 | select SMP | ||
1472 | |||
1446 | config MIPS_MT_SMP | 1473 | config MIPS_MT_SMP |
1447 | bool "Use 1 TC on each available VPE for SMP" | 1474 | bool "Use 1 TC on each available VPE for SMP" |
1448 | select SMP | 1475 | select SMP |
@@ -1456,6 +1483,11 @@ config MIPS_VPE_LOADER | |||
1456 | 1483 | ||
1457 | endchoice | 1484 | endchoice |
1458 | 1485 | ||
1486 | config MIPS_MT_FPAFF | ||
1487 | bool "Dynamic FPU affinity for FP-intensive threads" | ||
1488 | depends on MIPS_MT | ||
1489 | default y | ||
1490 | |||
1459 | config MIPS_VPE_LOADER_TOM | 1491 | config MIPS_VPE_LOADER_TOM |
1460 | bool "Load VPE program into memory hidden from linux" | 1492 | bool "Load VPE program into memory hidden from linux" |
1461 | depends on MIPS_VPE_LOADER | 1493 | depends on MIPS_VPE_LOADER |
@@ -1472,6 +1504,16 @@ config MIPS_VPE_APSP_API | |||
1472 | depends on MIPS_VPE_LOADER | 1504 | depends on MIPS_VPE_LOADER |
1473 | help | 1505 | help |
1474 | 1506 | ||
1507 | config MIPS_APSP_KSPD | ||
1508 | bool "Enable KSPD" | ||
1509 | depends on MIPS_VPE_APSP_API | ||
1510 | default y | ||
1511 | help | ||
1512 | KSPD is a kernel daemon that accepts syscall requests from the SP | ||
1513 | side, actions them and returns the results. It also handles the | ||
1514 | "exit" syscall notifying other kernel modules the SP program is | ||
1515 | exiting. You probably want to say yes here. | ||
1516 | |||
1475 | config SB1_PASS_1_WORKAROUNDS | 1517 | config SB1_PASS_1_WORKAROUNDS |
1476 | bool | 1518 | bool |
1477 | depends on CPU_SB1_PASS_1 | 1519 | depends on CPU_SB1_PASS_1 |
@@ -1491,38 +1533,15 @@ config 64BIT_PHYS_ADDR | |||
1491 | bool "Support for 64-bit physical address space" | 1533 | bool "Support for 64-bit physical address space" |
1492 | depends on (CPU_R4X00 || CPU_R5000 || CPU_RM7000 || CPU_RM9000 || CPU_R10000 || CPU_SB1 || CPU_MIPS32 || CPU_MIPS64) && 32BIT | 1534 | depends on (CPU_R4X00 || CPU_R5000 || CPU_RM7000 || CPU_RM9000 || CPU_R10000 || CPU_SB1 || CPU_MIPS32 || CPU_MIPS64) && 32BIT |
1493 | 1535 | ||
1494 | config CPU_ADVANCED | ||
1495 | bool "Override CPU Options" | ||
1496 | depends on 32BIT | ||
1497 | help | ||
1498 | Saying yes here allows you to select support for various features | ||
1499 | your CPU may or may not have. Most people should say N here. | ||
1500 | |||
1501 | config CPU_HAS_LLSC | 1536 | config CPU_HAS_LLSC |
1502 | bool "ll/sc Instructions available" if CPU_ADVANCED | 1537 | bool |
1503 | default y if !CPU_ADVANCED && !CPU_R3000 && !CPU_VR41XX && !CPU_TX39XX | ||
1504 | help | ||
1505 | MIPS R4000 series and later provide the Load Linked (ll) | ||
1506 | and Store Conditional (sc) instructions. More information is | ||
1507 | available at <http://www.go-ecs.com/mips/miptek1.htm>. | ||
1508 | |||
1509 | Say Y here if your CPU has the ll and sc instructions. Say Y here | ||
1510 | for better performance, N if you don't know. You must say Y here | ||
1511 | for multiprocessor machines. | ||
1512 | 1538 | ||
1513 | config CPU_HAS_WB | 1539 | config CPU_HAS_WB |
1514 | bool "Writeback Buffer available" if CPU_ADVANCED | 1540 | bool |
1515 | default y if !CPU_ADVANCED && CPU_R3000 && MACH_DECSTATION | ||
1516 | help | ||
1517 | Say N here for slightly better performance. You must say Y here for | ||
1518 | machines which require flushing of write buffers in software. Saying | ||
1519 | Y is the safe option; N may result in kernel malfunction and crashes. | ||
1520 | |||
1521 | menu "MIPSR2 Interrupt handling" | ||
1522 | depends on CPU_MIPSR2 && CPU_ADVANCED | ||
1523 | 1541 | ||
1524 | config CPU_MIPSR2_IRQ_VI | 1542 | config CPU_MIPSR2_IRQ_VI |
1525 | bool "Vectored interrupt mode" | 1543 | bool "Vectored interrupt mode" |
1544 | depends on CPU_MIPSR2 | ||
1526 | help | 1545 | help |
1527 | Vectored interrupt mode allowing faster dispatching of interrupts. | 1546 | Vectored interrupt mode allowing faster dispatching of interrupts. |
1528 | The board support code needs to be written to take advantage of this | 1547 | The board support code needs to be written to take advantage of this |
@@ -1532,6 +1551,7 @@ config CPU_MIPSR2_IRQ_VI | |||
1532 | 1551 | ||
1533 | config CPU_MIPSR2_IRQ_EI | 1552 | config CPU_MIPSR2_IRQ_EI |
1534 | bool "External interrupt controller mode" | 1553 | bool "External interrupt controller mode" |
1554 | depends on CPU_MIPSR2 | ||
1535 | help | 1555 | help |
1536 | Extended interrupt mode takes advantage of an external interrupt | 1556 | Extended interrupt mode takes advantage of an external interrupt |
1537 | controller to allow fast dispatching from many possible interrupt | 1557 | controller to allow fast dispatching from many possible interrupt |
@@ -1545,7 +1565,6 @@ config CPU_MIPSR2_SRS | |||
1545 | Allow the kernel to use shadow register sets for fast interrupts. | 1565 | Allow the kernel to use shadow register sets for fast interrupts. |
1546 | Interrupt handlers must be specially written to use shadow sets. | 1566 | Interrupt handlers must be specially written to use shadow sets. |
1547 | Say N unless you know that shadow register set upport is needed. | 1567 | Say N unless you know that shadow register set upport is needed. |
1548 | endmenu | ||
1549 | 1568 | ||
1550 | config CPU_HAS_SYNC | 1569 | config CPU_HAS_SYNC |
1551 | bool | 1570 | bool |
@@ -1590,11 +1609,16 @@ config ARCH_FLATMEM_ENABLE | |||
1590 | def_bool y | 1609 | def_bool y |
1591 | depends on !NUMA | 1610 | depends on !NUMA |
1592 | 1611 | ||
1612 | config NODES_SHIFT | ||
1613 | int | ||
1614 | default "6" | ||
1615 | depends on NEED_MULTIPLE_NODES | ||
1616 | |||
1593 | source "mm/Kconfig" | 1617 | source "mm/Kconfig" |
1594 | 1618 | ||
1595 | config SMP | 1619 | config SMP |
1596 | bool "Multi-Processing support" | 1620 | bool "Multi-Processing support" |
1597 | depends on CPU_RM9000 || ((SIBYTE_BCM1x80 || SIBYTE_BCM1x55 || SIBYTE_SB1250 || QEMU) && !SIBYTE_STANDALONE) || SGI_IP27 || MIPS_MT_SMP | 1621 | depends on CPU_RM9000 || ((SIBYTE_BCM1x80 || SIBYTE_BCM1x55 || SIBYTE_SB1250 || QEMU) && !SIBYTE_STANDALONE) || SGI_IP27 || MIPS_MT_SMP || MIPS_MT_SMTC |
1598 | ---help--- | 1622 | ---help--- |
1599 | This enables support for systems with more than one CPU. If you have | 1623 | This enables support for systems with more than one CPU. If you have |
1600 | a system with only one CPU, like most personal computers, say N. If | 1624 | a system with only one CPU, like most personal computers, say N. If |