aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2008-10-13 12:13:56 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-10-13 12:13:56 -0400
commite758936e02700ff88a0b08b722a3847b95283ef2 (patch)
tree50c919bef1b459a778b85159d5929de95b6c4a01 /arch/mips/Kconfig
parent239cfbde1f5843c4a24199f117d5f67f637d72d5 (diff)
parent4480f15b3306f43bbb0310d461142b4e897ca45b (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts: include/asm-x86/statfs.h
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig78
1 files changed, 38 insertions, 40 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 4da736e25333..cd5fbf6f0784 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -211,6 +211,7 @@ config MIPS_MALTA
211 select SYS_SUPPORTS_64BIT_KERNEL 211 select SYS_SUPPORTS_64BIT_KERNEL
212 select SYS_SUPPORTS_BIG_ENDIAN 212 select SYS_SUPPORTS_BIG_ENDIAN
213 select SYS_SUPPORTS_LITTLE_ENDIAN 213 select SYS_SUPPORTS_LITTLE_ENDIAN
214 select SYS_SUPPORTS_MIPS_CMP if BROKEN # because SYNC_R4K is broken
214 select SYS_SUPPORTS_MULTITHREADING 215 select SYS_SUPPORTS_MULTITHREADING
215 select SYS_SUPPORTS_SMARTMIPS 216 select SYS_SUPPORTS_SMARTMIPS
216 help 217 help
@@ -567,7 +568,7 @@ config MIKROTIK_RB532
567 select SYS_SUPPORTS_LITTLE_ENDIAN 568 select SYS_SUPPORTS_LITTLE_ENDIAN
568 select SWAP_IO_SPACE 569 select SWAP_IO_SPACE
569 select BOOT_RAW 570 select BOOT_RAW
570 select GENERIC_GPIO 571 select ARCH_REQUIRE_GPIOLIB
571 help 572 help
572 Support the Mikrotik(tm) RouterBoard 532 series, 573 Support the Mikrotik(tm) RouterBoard 532 series,
573 based on the IDT RC32434 SoC. 574 based on the IDT RC32434 SoC.
@@ -597,7 +598,7 @@ config WR_PPMC
597 598
598endchoice 599endchoice
599 600
600source "arch/mips/au1000/Kconfig" 601source "arch/mips/alchemy/Kconfig"
601source "arch/mips/basler/excite/Kconfig" 602source "arch/mips/basler/excite/Kconfig"
602source "arch/mips/jazz/Kconfig" 603source "arch/mips/jazz/Kconfig"
603source "arch/mips/lasat/Kconfig" 604source "arch/mips/lasat/Kconfig"
@@ -609,11 +610,6 @@ source "arch/mips/vr41xx/Kconfig"
609 610
610endmenu 611endmenu
611 612
612config GENERIC_LOCKBREAK
613 bool
614 default y
615 depends on SMP && PREEMPT
616
617config RWSEM_GENERIC_SPINLOCK 613config RWSEM_GENERIC_SPINLOCK
618 bool 614 bool
619 default y 615 default y
@@ -1272,6 +1268,13 @@ config CPU_SUPPORTS_32BIT_KERNEL
1272config CPU_SUPPORTS_64BIT_KERNEL 1268config CPU_SUPPORTS_64BIT_KERNEL
1273 bool 1269 bool
1274 1270
1271#
1272# Set to y for ptrace access to watch registers.
1273#
1274config HARDWARE_WATCHPOINTS
1275 bool
1276 default y if CPU_MIPS32 || CPU_MIPS64
1277
1275menu "Kernel type" 1278menu "Kernel type"
1276 1279
1277choice 1280choice
@@ -1403,7 +1406,6 @@ config MIPS_MT_SMTC
1403 depends on CPU_MIPS32_R2 1406 depends on CPU_MIPS32_R2
1404 #depends on CPU_MIPS64_R2 # once there is hardware ... 1407 #depends on CPU_MIPS64_R2 # once there is hardware ...
1405 depends on SYS_SUPPORTS_MULTITHREADING 1408 depends on SYS_SUPPORTS_MULTITHREADING
1406 select GENERIC_CLOCKEVENTS_BROADCAST
1407 select CPU_MIPSR2_IRQ_VI 1409 select CPU_MIPSR2_IRQ_VI
1408 select CPU_MIPSR2_IRQ_EI 1410 select CPU_MIPSR2_IRQ_EI
1409 select MIPS_MT 1411 select MIPS_MT
@@ -1451,32 +1453,17 @@ config MIPS_VPE_LOADER
1451 Includes a loader for loading an elf relocatable object 1453 Includes a loader for loading an elf relocatable object
1452 onto another VPE and running it. 1454 onto another VPE and running it.
1453 1455
1454config MIPS_MT_SMTC_INSTANT_REPLAY
1455 bool "Low-latency Dispatch of Deferred SMTC IPIs"
1456 depends on MIPS_MT_SMTC && !PREEMPT
1457 default y
1458 help
1459 SMTC pseudo-interrupts between TCs are deferred and queued
1460 if the target TC is interrupt-inhibited (IXMT). In the first
1461 SMTC prototypes, these queued IPIs were serviced on return
1462 to user mode, or on entry into the kernel idle loop. The
1463 INSTANT_REPLAY option dispatches them as part of local_irq_restore()
1464 processing, which adds runtime overhead (hence the option to turn
1465 it off), but ensures that IPIs are handled promptly even under
1466 heavy I/O interrupt load.
1467
1468config MIPS_MT_SMTC_IM_BACKSTOP 1456config MIPS_MT_SMTC_IM_BACKSTOP
1469 bool "Use per-TC register bits as backstop for inhibited IM bits" 1457 bool "Use per-TC register bits as backstop for inhibited IM bits"
1470 depends on MIPS_MT_SMTC 1458 depends on MIPS_MT_SMTC
1471 default y 1459 default n
1472 help 1460 help
1473 To support multiple TC microthreads acting as "CPUs" within 1461 To support multiple TC microthreads acting as "CPUs" within
1474 a VPE, VPE-wide interrupt mask bits must be specially manipulated 1462 a VPE, VPE-wide interrupt mask bits must be specially manipulated
1475 during interrupt handling. To support legacy drivers and interrupt 1463 during interrupt handling. To support legacy drivers and interrupt
1476 controller management code, SMTC has a "backstop" to track and 1464 controller management code, SMTC has a "backstop" to track and
1477 if necessary restore the interrupt mask. This has some performance 1465 if necessary restore the interrupt mask. This has some performance
1478 impact on interrupt service overhead. Disable it only if you know 1466 impact on interrupt service overhead.
1479 what you are doing.
1480 1467
1481config MIPS_MT_SMTC_IRQAFF 1468config MIPS_MT_SMTC_IRQAFF
1482 bool "Support IRQ affinity API" 1469 bool "Support IRQ affinity API"
@@ -1486,10 +1473,8 @@ config MIPS_MT_SMTC_IRQAFF
1486 Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.) 1473 Enables SMP IRQ affinity API (/proc/irq/*/smp_affinity, etc.)
1487 for SMTC Linux kernel. Requires platform support, of which 1474 for SMTC Linux kernel. Requires platform support, of which
1488 an example can be found in the MIPS kernel i8259 and Malta 1475 an example can be found in the MIPS kernel i8259 and Malta
1489 platform code. It is recommended that MIPS_MT_SMTC_INSTANT_REPLAY 1476 platform code. Adds some overhead to interrupt dispatch, and
1490 be enabled if MIPS_MT_SMTC_IRQAFF is used. Adds overhead to 1477 should be used only if you know what you are doing.
1491 interrupt dispatch, and should be used only if you know what
1492 you are doing.
1493 1478
1494config MIPS_VPE_LOADER_TOM 1479config MIPS_VPE_LOADER_TOM
1495 bool "Load VPE program into memory hidden from linux" 1480 bool "Load VPE program into memory hidden from linux"
@@ -1517,6 +1502,18 @@ config MIPS_APSP_KSPD
1517 "exit" syscall notifying other kernel modules the SP program is 1502 "exit" syscall notifying other kernel modules the SP program is
1518 exiting. You probably want to say yes here. 1503 exiting. You probably want to say yes here.
1519 1504
1505config MIPS_CMP
1506 bool "MIPS CMP framework support"
1507 depends on SYS_SUPPORTS_MIPS_CMP
1508 select SYNC_R4K if BROKEN
1509 select SYS_SUPPORTS_SMP
1510 select SYS_SUPPORTS_SCHED_SMT if SMP
1511 select WEAK_ORDERING
1512 default n
1513 help
1514 This is a placeholder option for the GCMP work. It will need to
1515 be handled differently...
1516
1520config SB1_PASS_1_WORKAROUNDS 1517config SB1_PASS_1_WORKAROUNDS
1521 bool 1518 bool
1522 depends on CPU_SB1_PASS_1 1519 depends on CPU_SB1_PASS_1
@@ -1693,6 +1690,9 @@ config SMP
1693config SMP_UP 1690config SMP_UP
1694 bool 1691 bool
1695 1692
1693config SYS_SUPPORTS_MIPS_CMP
1694 bool
1695
1696config SYS_SUPPORTS_SMP 1696config SYS_SUPPORTS_SMP
1697 bool 1697 bool
1698 1698
@@ -1740,17 +1740,6 @@ config NR_CPUS
1740 performance should round up your number of processors to the next 1740 performance should round up your number of processors to the next
1741 power of two. 1741 power of two.
1742 1742
1743config MIPS_CMP
1744 bool "MIPS CMP framework support"
1745 depends on SMP
1746 select SYNC_R4K
1747 select SYS_SUPPORTS_SCHED_SMT
1748 select WEAK_ORDERING
1749 default n
1750 help
1751 This is a placeholder option for the GCMP work. It will need to
1752 be handled differently...
1753
1754source "kernel/time/Kconfig" 1743source "kernel/time/Kconfig"
1755 1744
1756# 1745#
@@ -1886,6 +1875,15 @@ config STACKTRACE_SUPPORT
1886 1875
1887source "init/Kconfig" 1876source "init/Kconfig"
1888 1877
1878config PROBE_INITRD_HEADER
1879 bool "Probe initrd header created by addinitrd"
1880 depends on BLK_DEV_INITRD
1881 help
1882 Probe initrd header at the last page of kernel image.
1883 Say Y here if you are using arch/mips/boot/addinitrd.c to
1884 add initrd or initramfs image to the kernel image.
1885 Otherwise, say N.
1886
1889menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)" 1887menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
1890 1888
1891config HW_HAS_EISA 1889config HW_HAS_EISA