aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-05-10 10:48:05 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-05-10 10:48:05 -0400
commitdaf799cca8abbf7f3e253ecf1d41d244070773d7 (patch)
tree6fb27ff60b820ae0eeb906c8a5d8d7f93f89cd8b /arch/mips/Kconfig
parent6019958d146a4f127dae727a930f902c92531e6e (diff)
parentb22d1b6a91ca4260f869e349179ae53f18c664db (diff)
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
Pull MIPS updates from Ralf Baechle: - More work on DT support for various platforms - Various fixes that were to late to make it straight into 3.9 - Improved platform support, in particular the Netlogic XLR and BCM63xx, and the SEAD3 and Malta eval boards. - Support for several Ralink SOC families. - Complete support for the microMIPS ASE which basically reencodes the existing MIPS32/MIPS64 ISA to use non-constant size instructions. - Some fallout from LTO work which remove old cruft and will generally make the MIPS kernel easier to maintain and resistant to compiler optimization, even in absence of LTO. - KVM support. While MIPS has announced hardware virtualization extensions this KVM extension uses trap and emulate mode for virtualization of MIPS32. More KVM work to add support for VZ hardware virtualizaiton extensions and MIPS64 will probably already be merged for 3.11. Most of this has been sitting in -next for a long time. All defconfigs have been build or run time tested except three for which fixes are being sent by other maintainers. Semantic conflict with kvm updates done as per Ralf * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (118 commits) MIPS: Add new GIC clockevent driver. MIPS: Formatting clean-ups for clocksources. MIPS: Refactor GIC clocksource code. MIPS: Move 'gic_frequency' to common location. MIPS: Move 'gic_present' to common location. MIPS: MIPS16e: Add unaligned access support. MIPS: MIPS16e: Support handling of delay slots. MIPS: MIPS16e: Add instruction formats. MIPS: microMIPS: Optimise 'strnlen' core library function. MIPS: microMIPS: Optimise 'strlen' core library function. MIPS: microMIPS: Optimise 'strncpy' core library function. MIPS: microMIPS: Optimise 'memset' core library function. MIPS: microMIPS: Add configuration option for microMIPS kernel. MIPS: microMIPS: Disable LL/SC and fix linker bug. MIPS: microMIPS: Add vdso support. MIPS: microMIPS: Add unaligned access support. MIPS: microMIPS: Support handling of delay slots. MIPS: microMIPS: Add support for exception handling. MIPS: microMIPS: Floating point support. MIPS: microMIPS: Fix macro naming in micro-assembler. ...
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig52
1 files changed, 43 insertions, 9 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index a90cfc702bb1..7a58ab933b20 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -304,7 +304,6 @@ config MIPS_MALTA
304 select HW_HAS_PCI 304 select HW_HAS_PCI
305 select I8253 305 select I8253
306 select I8259 306 select I8259
307 select MIPS_BOARDS_GEN
308 select MIPS_BONITO64 307 select MIPS_BONITO64
309 select MIPS_CPU_SCACHE 308 select MIPS_CPU_SCACHE
310 select PCI_GT64XXX_PCI0 309 select PCI_GT64XXX_PCI0
@@ -335,12 +334,12 @@ config MIPS_SEAD3
335 select BOOT_RAW 334 select BOOT_RAW
336 select CEVT_R4K 335 select CEVT_R4K
337 select CSRC_R4K 336 select CSRC_R4K
337 select CSRC_GIC
338 select CPU_MIPSR2_IRQ_VI 338 select CPU_MIPSR2_IRQ_VI
339 select CPU_MIPSR2_IRQ_EI 339 select CPU_MIPSR2_IRQ_EI
340 select DMA_NONCOHERENT 340 select DMA_NONCOHERENT
341 select IRQ_CPU 341 select IRQ_CPU
342 select IRQ_GIC 342 select IRQ_GIC
343 select MIPS_BOARDS_GEN
344 select MIPS_CPU_SCACHE 343 select MIPS_CPU_SCACHE
345 select MIPS_MSC 344 select MIPS_MSC
346 select SYS_HAS_CPU_MIPS32_R1 345 select SYS_HAS_CPU_MIPS32_R1
@@ -352,6 +351,7 @@ config MIPS_SEAD3
352 select SYS_SUPPORTS_BIG_ENDIAN 351 select SYS_SUPPORTS_BIG_ENDIAN
353 select SYS_SUPPORTS_LITTLE_ENDIAN 352 select SYS_SUPPORTS_LITTLE_ENDIAN
354 select SYS_SUPPORTS_SMARTMIPS 353 select SYS_SUPPORTS_SMARTMIPS
354 select SYS_SUPPORTS_MICROMIPS
355 select USB_ARCH_HAS_EHCI 355 select USB_ARCH_HAS_EHCI
356 select USB_EHCI_BIG_ENDIAN_DESC 356 select USB_EHCI_BIG_ENDIAN_DESC
357 select USB_EHCI_BIG_ENDIAN_MMIO 357 select USB_EHCI_BIG_ENDIAN_MMIO
@@ -910,6 +910,9 @@ config CEVT_GT641XX
910config CEVT_R4K 910config CEVT_R4K
911 bool 911 bool
912 912
913config CEVT_GIC
914 bool
915
913config CEVT_SB1250 916config CEVT_SB1250
914 bool 917 bool
915 918
@@ -982,9 +985,6 @@ config MIPS_MSC
982config MIPS_NILE4 985config MIPS_NILE4
983 bool 986 bool
984 987
985config MIPS_DISABLE_OBSOLETE_IDE
986 bool
987
988config SYNC_R4K 988config SYNC_R4K
989 bool 989 bool
990 990
@@ -1075,9 +1075,6 @@ config IRQ_GT641XX
1075config IRQ_GIC 1075config IRQ_GIC
1076 bool 1076 bool
1077 1077
1078config MIPS_BOARDS_GEN
1079 bool
1080
1081config PCI_GT64XXX_PCI0 1078config PCI_GT64XXX_PCI0
1082 bool 1079 bool
1083 1080
@@ -1147,7 +1144,7 @@ config BOOT_ELF32
1147 1144
1148config MIPS_L1_CACHE_SHIFT 1145config MIPS_L1_CACHE_SHIFT
1149 int 1146 int
1150 default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL 1147 default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL || SOC_RT288X
1151 default "6" if MIPS_CPU_SCACHE 1148 default "6" if MIPS_CPU_SCACHE
1152 default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON 1149 default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON
1153 default "5" 1150 default "5"
@@ -1236,6 +1233,7 @@ config CPU_MIPS32_R2
1236 select CPU_HAS_PREFETCH 1233 select CPU_HAS_PREFETCH
1237 select CPU_SUPPORTS_32BIT_KERNEL 1234 select CPU_SUPPORTS_32BIT_KERNEL
1238 select CPU_SUPPORTS_HIGHMEM 1235 select CPU_SUPPORTS_HIGHMEM
1236 select HAVE_KVM
1239 help 1237 help
1240 Choose this option to build a kernel for release 2 or later of the 1238 Choose this option to build a kernel for release 2 or later of the
1241 MIPS32 architecture. Most modern embedded systems with a 32-bit 1239 MIPS32 architecture. Most modern embedded systems with a 32-bit
@@ -1736,6 +1734,20 @@ config 64BIT
1736 1734
1737endchoice 1735endchoice
1738 1736
1737config KVM_GUEST
1738 bool "KVM Guest Kernel"
1739 help
1740 Select this option if building a guest kernel for KVM (Trap & Emulate) mode
1741
1742config KVM_HOST_FREQ
1743 int "KVM Host Processor Frequency (MHz)"
1744 depends on KVM_GUEST
1745 default 500
1746 help
1747 Select this option if building a guest kernel for KVM to skip
1748 RTC emulation when determining guest CPU Frequency. Instead, the guest
1749 processor frequency is automatically derived from the host frequency.
1750
1739choice 1751choice
1740 prompt "Kernel page size" 1752 prompt "Kernel page size"
1741 default PAGE_SIZE_4KB 1753 default PAGE_SIZE_4KB
@@ -1811,6 +1823,15 @@ config FORCE_MAX_ZONEORDER
1811 The page size is not necessarily 4KB. Keep this in mind 1823 The page size is not necessarily 4KB. Keep this in mind
1812 when choosing a value for this option. 1824 when choosing a value for this option.
1813 1825
1826config CEVT_GIC
1827 bool "Use GIC global counter for clock events"
1828 depends on IRQ_GIC && !(MIPS_SEAD3 || MIPS_MT_SMTC)
1829 help
1830 Use the GIC global counter for the clock events. The R4K clock
1831 event driver is always present, so if the platform ends up not
1832 detecting a GIC, it will fall back to the R4K timer for the
1833 generation of clock events.
1834
1814config BOARD_SCACHE 1835config BOARD_SCACHE
1815 bool 1836 bool
1816 1837
@@ -2016,6 +2037,7 @@ config SB1_PASS_2_1_WORKAROUNDS
2016 depends on CPU_SB1 && CPU_SB1_PASS_2 2037 depends on CPU_SB1 && CPU_SB1_PASS_2
2017 default y 2038 default y
2018 2039
2040
2019config 64BIT_PHYS_ADDR 2041config 64BIT_PHYS_ADDR
2020 bool 2042 bool
2021 2043
@@ -2034,6 +2056,13 @@ config CPU_HAS_SMARTMIPS
2034 you don't know you probably don't have SmartMIPS and should say N 2056 you don't know you probably don't have SmartMIPS and should say N
2035 here. 2057 here.
2036 2058
2059config CPU_MICROMIPS
2060 depends on SYS_SUPPORTS_MICROMIPS
2061 bool "Build kernel using microMIPS ISA"
2062 help
2063 When this option is enabled the kernel will be built using the
2064 microMIPS ISA
2065
2037config CPU_HAS_WB 2066config CPU_HAS_WB
2038 bool 2067 bool
2039 2068
@@ -2096,6 +2125,9 @@ config SYS_SUPPORTS_HIGHMEM
2096config SYS_SUPPORTS_SMARTMIPS 2125config SYS_SUPPORTS_SMARTMIPS
2097 bool 2126 bool
2098 2127
2128config SYS_SUPPORTS_MICROMIPS
2129 bool
2130
2099config ARCH_FLATMEM_ENABLE 2131config ARCH_FLATMEM_ENABLE
2100 def_bool y 2132 def_bool y
2101 depends on !NUMA && !CPU_LOONGSON2 2133 depends on !NUMA && !CPU_LOONGSON2
@@ -2556,3 +2588,5 @@ source "security/Kconfig"
2556source "crypto/Kconfig" 2588source "crypto/Kconfig"
2557 2589
2558source "lib/Kconfig" 2590source "lib/Kconfig"
2591
2592source "arch/mips/kvm/Kconfig"