aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig137
1 files changed, 73 insertions, 64 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index bbd386f572d9..9d839a9c4b1a 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -575,6 +575,7 @@ config SGI_IP27
575 select DMA_IP27 575 select DMA_IP27
576 select EARLY_PRINTK 576 select EARLY_PRINTK
577 select HW_HAS_PCI 577 select HW_HAS_PCI
578 select NR_CPUS_DEFAULT_64
578 select PCI_DOMAINS 579 select PCI_DOMAINS
579 select SYS_HAS_CPU_R10000 580 select SYS_HAS_CPU_R10000
580 select SYS_SUPPORTS_64BIT_KERNEL 581 select SYS_SUPPORTS_64BIT_KERNEL
@@ -612,6 +613,7 @@ config SIBYTE_BIGSUR
612 bool "Sibyte BCM91480B-BigSur" 613 bool "Sibyte BCM91480B-BigSur"
613 select BOOT_ELF32 614 select BOOT_ELF32
614 select DMA_COHERENT 615 select DMA_COHERENT
616 select NR_CPUS_DEFAULT_4
615 select PCI_DOMAINS 617 select PCI_DOMAINS
616 select SIBYTE_BCM1x80 618 select SIBYTE_BCM1x80
617 select SWAP_IO_SPACE 619 select SWAP_IO_SPACE
@@ -623,6 +625,7 @@ config SIBYTE_SWARM
623 bool "Sibyte BCM91250A-SWARM" 625 bool "Sibyte BCM91250A-SWARM"
624 select BOOT_ELF32 626 select BOOT_ELF32
625 select DMA_COHERENT 627 select DMA_COHERENT
628 select NR_CPUS_DEFAULT_2
626 select SIBYTE_SB1250 629 select SIBYTE_SB1250
627 select SWAP_IO_SPACE 630 select SWAP_IO_SPACE
628 select SYS_HAS_CPU_SB1 631 select SYS_HAS_CPU_SB1
@@ -635,6 +638,7 @@ config SIBYTE_SENTOSA
635 depends on EXPERIMENTAL 638 depends on EXPERIMENTAL
636 select BOOT_ELF32 639 select BOOT_ELF32
637 select DMA_COHERENT 640 select DMA_COHERENT
641 select NR_CPUS_DEFAULT_2
638 select SIBYTE_SB1250 642 select SIBYTE_SB1250
639 select SWAP_IO_SPACE 643 select SWAP_IO_SPACE
640 select SYS_HAS_CPU_SB1 644 select SYS_HAS_CPU_SB1
@@ -668,6 +672,7 @@ config SIBYTE_PTSWARM
668 depends on EXPERIMENTAL 672 depends on EXPERIMENTAL
669 select BOOT_ELF32 673 select BOOT_ELF32
670 select DMA_COHERENT 674 select DMA_COHERENT
675 select NR_CPUS_DEFAULT_2
671 select SIBYTE_SB1250 676 select SIBYTE_SB1250
672 select SWAP_IO_SPACE 677 select SWAP_IO_SPACE
673 select SYS_HAS_CPU_SB1 678 select SYS_HAS_CPU_SB1
@@ -680,6 +685,7 @@ config SIBYTE_LITTLESUR
680 depends on EXPERIMENTAL 685 depends on EXPERIMENTAL
681 select BOOT_ELF32 686 select BOOT_ELF32
682 select DMA_COHERENT 687 select DMA_COHERENT
688 select NR_CPUS_DEFAULT_2
683 select SIBYTE_SB1250 689 select SIBYTE_SB1250
684 select SWAP_IO_SPACE 690 select SWAP_IO_SPACE
685 select SYS_HAS_CPU_SB1 691 select SYS_HAS_CPU_SB1
@@ -790,23 +796,6 @@ config TOSHIBA_RBTX4938
790 796
791endchoice 797endchoice
792 798
793config KEXEC
794 bool "Kexec system call (EXPERIMENTAL)"
795 depends on EXPERIMENTAL
796 help
797 kexec is a system call that implements the ability to shutdown your
798 current kernel, and to start another kernel. It is like a reboot
799 but it is indepedent of the system firmware. And like a reboot
800 you can start any kernel with it, not just Linux.
801
802 The name comes from the similiarity to the exec system call.
803
804 It is an ongoing process to be certain the hardware in a machine
805 is properly shutdown, so do not be surprised if this code does not
806 initially work for you. It may help to enable device hotplugging
807 support. As of this writing the exact hardware interface is
808 strongly in flux, so no good recommendation can be made.
809
810source "arch/mips/ddb5xxx/Kconfig" 799source "arch/mips/ddb5xxx/Kconfig"
811source "arch/mips/gt64120/ev64120/Kconfig" 800source "arch/mips/gt64120/ev64120/Kconfig"
812source "arch/mips/jazz/Kconfig" 801source "arch/mips/jazz/Kconfig"
@@ -945,6 +934,9 @@ config CPU_LITTLE_ENDIAN
945 934
946endchoice 935endchoice
947 936
937config SYS_SUPPORTS_APM_EMULATION
938 bool
939
948config SYS_SUPPORTS_BIG_ENDIAN 940config SYS_SUPPORTS_BIG_ENDIAN
949 bool 941 bool
950 942
@@ -1012,6 +1004,7 @@ config SOC_AU1X00
1012 bool 1004 bool
1013 select SYS_HAS_CPU_MIPS32_R1 1005 select SYS_HAS_CPU_MIPS32_R1
1014 select SYS_SUPPORTS_32BIT_KERNEL 1006 select SYS_SUPPORTS_32BIT_KERNEL
1007 select SYS_SUPPORTS_APM_EMULATION
1015 1008
1016config PNX8550 1009config PNX8550
1017 bool 1010 bool
@@ -1541,6 +1534,8 @@ config MIPS_MT_SMTC
1541 select CPU_MIPSR2_IRQ_VI 1534 select CPU_MIPSR2_IRQ_VI
1542 select CPU_MIPSR2_SRS 1535 select CPU_MIPSR2_SRS
1543 select MIPS_MT 1536 select MIPS_MT
1537 select NR_CPUS_DEFAULT_2
1538 select NR_CPUS_DEFAULT_8
1544 select SMP 1539 select SMP
1545 select SYS_SUPPORTS_SMP 1540 select SYS_SUPPORTS_SMP
1546 help 1541 help
@@ -1756,13 +1751,34 @@ config SMP
1756config SYS_SUPPORTS_SMP 1751config SYS_SUPPORTS_SMP
1757 bool 1752 bool
1758 1753
1754config NR_CPUS_DEFAULT_2
1755 bool
1756
1757config NR_CPUS_DEFAULT_4
1758 bool
1759
1760config NR_CPUS_DEFAULT_8
1761 bool
1762
1763config NR_CPUS_DEFAULT_16
1764 bool
1765
1766config NR_CPUS_DEFAULT_32
1767 bool
1768
1769config NR_CPUS_DEFAULT_64
1770 bool
1771
1759config NR_CPUS 1772config NR_CPUS
1760 int "Maximum number of CPUs (2-64)" 1773 int "Maximum number of CPUs (2-64)"
1761 range 2 64 1774 range 2 64
1762 depends on SMP 1775 depends on SMP
1763 default "64" if SGI_IP27 1776 default "2" if NR_CPUS_DEFAULT_2
1764 default "2" 1777 default "4" if NR_CPUS_DEFAULT_4
1765 default "8" if MIPS_MT_SMTC 1778 default "8" if NR_CPUS_DEFAULT_8
1779 default "16" if NR_CPUS_DEFAULT_16
1780 default "32" if NR_CPUS_DEFAULT_32
1781 default "64" if NR_CPUS_DEFAULT_64
1766 help 1782 help
1767 This allows you to specify the maximum number of CPUs which this 1783 This allows you to specify the maximum number of CPUs which this
1768 kernel will support. The maximum supported value is 32 for 32-bit 1784 kernel will support. The maximum supported value is 32 for 32-bit
@@ -1859,6 +1875,40 @@ config MIPS_INSANE_LARGE
1859 This will result in additional memory usage, so it is not 1875 This will result in additional memory usage, so it is not
1860 recommended for normal users. 1876 recommended for normal users.
1861 1877
1878config KEXEC
1879 bool "Kexec system call (EXPERIMENTAL)"
1880 depends on EXPERIMENTAL
1881 help
1882 kexec is a system call that implements the ability to shutdown your
1883 current kernel, and to start another kernel. It is like a reboot
1884 but it is indepedent of the system firmware. And like a reboot
1885 you can start any kernel with it, not just Linux.
1886
1887 The name comes from the similiarity to the exec system call.
1888
1889 It is an ongoing process to be certain the hardware in a machine
1890 is properly shutdown, so do not be surprised if this code does not
1891 initially work for you. It may help to enable device hotplugging
1892 support. As of this writing the exact hardware interface is
1893 strongly in flux, so no good recommendation can be made.
1894
1895config SECCOMP
1896 bool "Enable seccomp to safely compute untrusted bytecode"
1897 depends on PROC_FS && BROKEN
1898 default y
1899 help
1900 This kernel feature is useful for number crunching applications
1901 that may need to compute untrusted bytecode during their
1902 execution. By using pipes or other transports made available to
1903 the process as file descriptors supporting the read/write
1904 syscalls, it's possible to isolate those applications in
1905 their own address space using seccomp. Once seccomp is
1906 enabled via /proc/<pid>/seccomp, it cannot be disabled
1907 and the task is only allowed to execute a few safe syscalls
1908 defined by each seccomp mode.
1909
1910 If unsure, say Y. Only embedded should say N here.
1911
1862endmenu 1912endmenu
1863 1913
1864config RWSEM_GENERIC_SPINLOCK 1914config RWSEM_GENERIC_SPINLOCK
@@ -2025,52 +2075,11 @@ config BINFMT_ELF32
2025 bool 2075 bool
2026 default y if MIPS32_O32 || MIPS32_N32 2076 default y if MIPS32_O32 || MIPS32_N32
2027 2077
2028config SECCOMP 2078endmenu
2029 bool "Enable seccomp to safely compute untrusted bytecode"
2030 depends on PROC_FS && BROKEN
2031 default y
2032 help
2033 This kernel feature is useful for number crunching applications
2034 that may need to compute untrusted bytecode during their
2035 execution. By using pipes or other transports made available to
2036 the process as file descriptors supporting the read/write
2037 syscalls, it's possible to isolate those applications in
2038 their own address space using seccomp. Once seccomp is
2039 enabled via /proc/<pid>/seccomp, it cannot be disabled
2040 and the task is only allowed to execute a few safe syscalls
2041 defined by each seccomp mode.
2042 2079
2043 If unsure, say Y. Only embedded should say N here. 2080menu "Power management options"
2044 2081
2045config PM 2082source "kernel/power/Kconfig"
2046 bool "Power Management support (EXPERIMENTAL)"
2047 depends on EXPERIMENTAL && SOC_AU1X00
2048
2049config APM
2050 tristate "Advanced Power Management Emulation"
2051 depends on PM
2052 ---help---
2053 APM is a BIOS specification for saving power using several different
2054 techniques. This is mostly useful for battery powered systems with
2055 APM compliant BIOSes. If you say Y here, the system time will be
2056 reset after a RESUME operation, the /proc/apm device will provide
2057 battery status information, and user-space programs will receive
2058 notification of APM "events" (e.g. battery status change).
2059
2060 In order to use APM, you will need supporting software. For location
2061 and more information, read <file:Documentation/pm.txt> and the
2062 Battery Powered Linux mini-HOWTO, available from
2063 <http://www.tldp.org/docs.html#howto>.
2064
2065 This driver does not spin down disk drives (see the hdparm(8)
2066 manpage ("man 8 hdparm") for that), and it doesn't turn off
2067 VESA-compliant "green" monitors.
2068
2069 Generally, if you don't have a battery in your machine, there isn't
2070 much point in using this driver and you should say N. If you get
2071 random kernel OOPSes or reboots that don't seem to be related to
2072 anything, try disabling/enabling this option (or disabling/enabling
2073 APM in your BIOS).
2074 2083
2075endmenu 2084endmenu
2076 2085