diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-11 20:56:37 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-11 20:56:37 -0500 |
commit | c0222ac086669a631814bbf857f8c8023452a4d7 (patch) | |
tree | bb1d9908031fcf69016eeefa7b35a4f68f414333 /arch/mips/Kconfig | |
parent | 140cd7fb04a4a2bc09a30980bc8104cc89e09330 (diff) | |
parent | e2965cd0003f222bd49f67907c2bc6ed691c6d20 (diff) |
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
Pull MIPS updates from Ralf Baechle:
"This is an unusually large pull request for MIPS - in parts because
lots of patches missed the 3.18 deadline but primarily because some
folks opened the flood gates.
- Retire the MIPS-specific phys_t with the generic phys_addr_t.
- Improvments for the backtrace code used by oprofile.
- Better backtraces on SMP systems.
- Cleanups for the Octeon platform code.
- Cleanups and fixes for the Loongson platform code.
- Cleanups and fixes to the firmware library.
- Switch ATH79 platform to use the firmware library.
- Grand overhault to the SEAD3 and Malta interrupt code.
- Move the GIC interrupt code to drivers/irqchip
- Lots of GIC cleanups and updates to the GIC code to use modern IRQ
infrastructures and features of the kernel.
- OF documentation updates for the GIC bindings
- Move GIC clocksource driver to drivers/clocksource
- Merge GIC clocksource driver with clockevent driver.
- Further updates to bring the GIC clocksource driver up to date.
- R3000 TLB code cleanups
- Improvments to the Loongson 3 platform code.
- Convert pr_warning to pr_warn.
- Merge a bunch of small lantiq and ralink fixes that have been
staged/lingering inside the openwrt tree for a while.
- Update archhelp for IP22/IP32
- Fix a number of issues for Loongson 1B.
- New clocksource and clockevent driver for Loongson 1B.
- Further work on clk handling for Loongson 1B.
- Platform work for Broadcom BMIPS.
- Error handling cleanups for TurboChannel.
- Fixes and optimization to the microMIPS support.
- Option to disable the FTLB.
- Dump more relevant information on machine check exception
- Change binfmt to allow arch to examine PT_*PROC headers
- Support for new style FPU register model in O32
- VDSO randomization.
- BCM47xx cleanups
- BCM47xx reimplement the way the kernel accesses NVRAM information.
- Random cleanups
- Add support for ATH25 platforms
- Remove pointless locking code in some PCI platforms.
- Some improvments to EVA support
- Minor Alchemy cleanup"
* 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (185 commits)
MIPS: Add MFHC0 and MTHC0 instructions to uasm.
MIPS: Cosmetic cleanups of page table headers.
MIPS: Add CP0 macros for extended EntryLo registers
MIPS: Remove now unused definition of phys_t.
MIPS: Replace use of phys_t with phys_addr_t.
MIPS: Replace MIPS-specific 64BIT_PHYS_ADDR with generic PHYS_ADDR_T_64BIT
PCMCIA: Alchemy Don't select 64BIT_PHYS_ADDR in Kconfig.
MIPS: lib: memset: Clean up some MIPS{EL,EB} ifdefery
MIPS: iomap: Use __mem_{read,write}{b,w,l} for MMIO
MIPS: <asm/types.h> fix indentation.
MAINTAINERS: Add entry for BMIPS multiplatform kernel
MIPS: Enable VDSO randomization
MIPS: Remove a temporary hack for debugging cache flushes in SMTC configuration
MIPS: Remove declaration of obsolete arch_init_clk_ops()
MIPS: atomic.h: Reformat to fit in 79 columns
MIPS: Apply `.insn' to fixup labels throughout
MIPS: Fix microMIPS LL/SC immediate offsets
MIPS: Kconfig: Only allow 32-bit microMIPS builds
MIPS: signal.c: Fix an invalid cast in ISA mode bit handling
MIPS: mm: Only build one microassembler that is suitable
...
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 98 |
1 files changed, 62 insertions, 36 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 9536ef912f59..3289969ee423 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -53,6 +53,7 @@ config MIPS | |||
53 | select HAVE_CC_STACKPROTECTOR | 53 | select HAVE_CC_STACKPROTECTOR |
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 | 57 | ||
57 | menu "Machine selection" | 58 | menu "Machine selection" |
58 | 59 | ||
@@ -62,7 +63,7 @@ choice | |||
62 | 63 | ||
63 | config MIPS_ALCHEMY | 64 | config MIPS_ALCHEMY |
64 | bool "Alchemy processor based machines" | 65 | bool "Alchemy processor based machines" |
65 | select 64BIT_PHYS_ADDR | 66 | select ARCH_PHYS_ADDR_T_64BIT |
66 | select CEVT_R4K | 67 | select CEVT_R4K |
67 | select CSRC_R4K | 68 | select CSRC_R4K |
68 | select IRQ_CPU | 69 | select IRQ_CPU |
@@ -96,6 +97,20 @@ config AR7 | |||
96 | Support for the Texas Instruments AR7 System-on-a-Chip | 97 | Support for the Texas Instruments AR7 System-on-a-Chip |
97 | family: TNETD7100, 7200 and 7300. | 98 | family: TNETD7100, 7200 and 7300. |
98 | 99 | ||
100 | config ATH25 | ||
101 | bool "Atheros AR231x/AR531x SoC support" | ||
102 | select CEVT_R4K | ||
103 | select CSRC_R4K | ||
104 | select DMA_NONCOHERENT | ||
105 | select IRQ_CPU | ||
106 | select IRQ_DOMAIN | ||
107 | select SYS_HAS_CPU_MIPS32_R1 | ||
108 | select SYS_SUPPORTS_BIG_ENDIAN | ||
109 | select SYS_SUPPORTS_32BIT_KERNEL | ||
110 | select SYS_HAS_EARLY_PRINTK | ||
111 | help | ||
112 | Support for Atheros AR231x and Atheros AR531x based boards | ||
113 | |||
99 | config ATH79 | 114 | config ATH79 |
100 | bool "Atheros AR71XX/AR724X/AR913X based boards" | 115 | bool "Atheros AR71XX/AR724X/AR913X based boards" |
101 | select ARCH_REQUIRE_GPIOLIB | 116 | select ARCH_REQUIRE_GPIOLIB |
@@ -115,6 +130,32 @@ config ATH79 | |||
115 | help | 130 | help |
116 | Support for the Atheros AR71XX/AR724X/AR913X SoCs. | 131 | Support for the Atheros AR71XX/AR724X/AR913X SoCs. |
117 | 132 | ||
133 | config BCM3384 | ||
134 | bool "Broadcom BCM3384 based boards" | ||
135 | select BOOT_RAW | ||
136 | select NO_EXCEPT_FILL | ||
137 | select USE_OF | ||
138 | select CEVT_R4K | ||
139 | select CSRC_R4K | ||
140 | select SYNC_R4K | ||
141 | select COMMON_CLK | ||
142 | select DMA_NONCOHERENT | ||
143 | select IRQ_CPU | ||
144 | select SYS_SUPPORTS_32BIT_KERNEL | ||
145 | select SYS_SUPPORTS_BIG_ENDIAN | ||
146 | select SYS_SUPPORTS_HIGHMEM | ||
147 | select SYS_HAS_CPU_BMIPS5000 | ||
148 | select SWAP_IO_SPACE | ||
149 | select USB_EHCI_BIG_ENDIAN_DESC | ||
150 | select USB_EHCI_BIG_ENDIAN_MMIO | ||
151 | select USB_OHCI_BIG_ENDIAN_DESC | ||
152 | select USB_OHCI_BIG_ENDIAN_MMIO | ||
153 | help | ||
154 | Support for BCM3384 based boards. BCM3384/BCM33843 is a cable modem | ||
155 | chipset with a Linux application processor that is often used to | ||
156 | provide Samba services, a CUPS print server, and/or advanced routing | ||
157 | features. | ||
158 | |||
118 | config BCM47XX | 159 | config BCM47XX |
119 | bool "Broadcom BCM47XX based boards" | 160 | bool "Broadcom BCM47XX based boards" |
120 | select ARCH_WANT_OPTIONAL_GPIOLIB | 161 | select ARCH_WANT_OPTIONAL_GPIOLIB |
@@ -269,6 +310,8 @@ config LANTIQ | |||
269 | select USE_OF | 310 | select USE_OF |
270 | select PINCTRL | 311 | select PINCTRL |
271 | select PINCTRL_LANTIQ | 312 | select PINCTRL_LANTIQ |
313 | select ARCH_HAS_RESET_CONTROLLER | ||
314 | select RESET_CONTROLLER | ||
272 | 315 | ||
273 | config LASAT | 316 | config LASAT |
274 | bool "LASAT Networks platforms" | 317 | bool "LASAT Networks platforms" |
@@ -315,17 +358,18 @@ config MIPS_MALTA | |||
315 | select BOOT_RAW | 358 | select BOOT_RAW |
316 | select CEVT_R4K | 359 | select CEVT_R4K |
317 | select CSRC_R4K | 360 | select CSRC_R4K |
318 | select CSRC_GIC | 361 | select CLKSRC_MIPS_GIC |
319 | select DMA_MAYBE_COHERENT | 362 | select DMA_MAYBE_COHERENT |
320 | select GENERIC_ISA_DMA | 363 | select GENERIC_ISA_DMA |
321 | select HAVE_PCSPKR_PLATFORM | 364 | select HAVE_PCSPKR_PLATFORM |
322 | select IRQ_CPU | 365 | select IRQ_CPU |
323 | select IRQ_GIC | 366 | select MIPS_GIC |
324 | select HW_HAS_PCI | 367 | select HW_HAS_PCI |
325 | select I8253 | 368 | select I8253 |
326 | select I8259 | 369 | select I8259 |
327 | select MIPS_BONITO64 | 370 | select MIPS_BONITO64 |
328 | select MIPS_CPU_SCACHE | 371 | select MIPS_CPU_SCACHE |
372 | select MIPS_L1_CACHE_SHIFT_6 | ||
329 | select PCI_GT64XXX_PCI0 | 373 | select PCI_GT64XXX_PCI0 |
330 | select MIPS_MSC | 374 | select MIPS_MSC |
331 | select SWAP_IO_SPACE | 375 | select SWAP_IO_SPACE |
@@ -340,6 +384,7 @@ config MIPS_MALTA | |||
340 | select SYS_SUPPORTS_64BIT_KERNEL | 384 | select SYS_SUPPORTS_64BIT_KERNEL |
341 | select SYS_SUPPORTS_BIG_ENDIAN | 385 | select SYS_SUPPORTS_BIG_ENDIAN |
342 | select SYS_SUPPORTS_LITTLE_ENDIAN | 386 | select SYS_SUPPORTS_LITTLE_ENDIAN |
387 | select SYS_SUPPORTS_MICROMIPS | ||
343 | select SYS_SUPPORTS_MIPS_CMP | 388 | select SYS_SUPPORTS_MIPS_CMP |
344 | select SYS_SUPPORTS_MIPS_CPS | 389 | select SYS_SUPPORTS_MIPS_CPS |
345 | select SYS_SUPPORTS_MIPS16 | 390 | select SYS_SUPPORTS_MIPS16 |
@@ -357,12 +402,12 @@ config MIPS_SEAD3 | |||
357 | select BUILTIN_DTB | 402 | select BUILTIN_DTB |
358 | select CEVT_R4K | 403 | select CEVT_R4K |
359 | select CSRC_R4K | 404 | select CSRC_R4K |
360 | select CSRC_GIC | 405 | select CLKSRC_MIPS_GIC |
361 | select CPU_MIPSR2_IRQ_VI | 406 | select CPU_MIPSR2_IRQ_VI |
362 | select CPU_MIPSR2_IRQ_EI | 407 | select CPU_MIPSR2_IRQ_EI |
363 | select DMA_NONCOHERENT | 408 | select DMA_NONCOHERENT |
364 | select IRQ_CPU | 409 | select IRQ_CPU |
365 | select IRQ_GIC | 410 | select MIPS_GIC |
366 | select LIBFDT | 411 | select LIBFDT |
367 | select MIPS_MSC | 412 | select MIPS_MSC |
368 | select SYS_HAS_CPU_MIPS32_R1 | 413 | select SYS_HAS_CPU_MIPS32_R1 |
@@ -726,7 +771,7 @@ config MIKROTIK_RB532 | |||
726 | config CAVIUM_OCTEON_SOC | 771 | config CAVIUM_OCTEON_SOC |
727 | bool "Cavium Networks Octeon SoC based boards" | 772 | bool "Cavium Networks Octeon SoC based boards" |
728 | select CEVT_R4K | 773 | select CEVT_R4K |
729 | select 64BIT_PHYS_ADDR | 774 | select ARCH_PHYS_ADDR_T_64BIT |
730 | select DMA_COHERENT | 775 | select DMA_COHERENT |
731 | select SYS_SUPPORTS_64BIT_KERNEL | 776 | select SYS_SUPPORTS_64BIT_KERNEL |
732 | select SYS_SUPPORTS_BIG_ENDIAN | 777 | select SYS_SUPPORTS_BIG_ENDIAN |
@@ -768,7 +813,7 @@ config NLM_XLR_BOARD | |||
768 | select SWAP_IO_SPACE | 813 | select SWAP_IO_SPACE |
769 | select SYS_SUPPORTS_32BIT_KERNEL | 814 | select SYS_SUPPORTS_32BIT_KERNEL |
770 | select SYS_SUPPORTS_64BIT_KERNEL | 815 | select SYS_SUPPORTS_64BIT_KERNEL |
771 | select 64BIT_PHYS_ADDR | 816 | select ARCH_PHYS_ADDR_T_64BIT |
772 | select SYS_SUPPORTS_BIG_ENDIAN | 817 | select SYS_SUPPORTS_BIG_ENDIAN |
773 | select SYS_SUPPORTS_HIGHMEM | 818 | select SYS_SUPPORTS_HIGHMEM |
774 | select DMA_COHERENT | 819 | select DMA_COHERENT |
@@ -794,7 +839,7 @@ config NLM_XLP_BOARD | |||
794 | select HW_HAS_PCI | 839 | select HW_HAS_PCI |
795 | select SYS_SUPPORTS_32BIT_KERNEL | 840 | select SYS_SUPPORTS_32BIT_KERNEL |
796 | select SYS_SUPPORTS_64BIT_KERNEL | 841 | select SYS_SUPPORTS_64BIT_KERNEL |
797 | select 64BIT_PHYS_ADDR | 842 | select ARCH_PHYS_ADDR_T_64BIT |
798 | select SYS_SUPPORTS_BIG_ENDIAN | 843 | select SYS_SUPPORTS_BIG_ENDIAN |
799 | select SYS_SUPPORTS_LITTLE_ENDIAN | 844 | select SYS_SUPPORTS_LITTLE_ENDIAN |
800 | select SYS_SUPPORTS_HIGHMEM | 845 | select SYS_SUPPORTS_HIGHMEM |
@@ -835,6 +880,7 @@ config MIPS_PARAVIRT | |||
835 | endchoice | 880 | endchoice |
836 | 881 | ||
837 | source "arch/mips/alchemy/Kconfig" | 882 | source "arch/mips/alchemy/Kconfig" |
883 | source "arch/mips/ath25/Kconfig" | ||
838 | source "arch/mips/ath79/Kconfig" | 884 | source "arch/mips/ath79/Kconfig" |
839 | source "arch/mips/bcm47xx/Kconfig" | 885 | source "arch/mips/bcm47xx/Kconfig" |
840 | source "arch/mips/bcm63xx/Kconfig" | 886 | source "arch/mips/bcm63xx/Kconfig" |
@@ -907,10 +953,6 @@ config CEVT_GT641XX | |||
907 | config CEVT_R4K | 953 | config CEVT_R4K |
908 | bool | 954 | bool |
909 | 955 | ||
910 | config CEVT_GIC | ||
911 | select MIPS_CM | ||
912 | bool | ||
913 | |||
914 | config CEVT_SB1250 | 956 | config CEVT_SB1250 |
915 | bool | 957 | bool |
916 | 958 | ||
@@ -926,10 +968,6 @@ config CSRC_IOASIC | |||
926 | config CSRC_R4K | 968 | config CSRC_R4K |
927 | bool | 969 | bool |
928 | 970 | ||
929 | config CSRC_GIC | ||
930 | select MIPS_CM | ||
931 | bool | ||
932 | |||
933 | config CSRC_SB1250 | 971 | config CSRC_SB1250 |
934 | bool | 972 | bool |
935 | 973 | ||
@@ -941,7 +979,7 @@ config FW_CFE | |||
941 | bool | 979 | bool |
942 | 980 | ||
943 | config ARCH_DMA_ADDR_T_64BIT | 981 | config ARCH_DMA_ADDR_T_64BIT |
944 | def_bool (HIGHMEM && 64BIT_PHYS_ADDR) || 64BIT | 982 | def_bool (HIGHMEM && ARCH_PHYS_ADDR_T_64BIT) || 64BIT |
945 | 983 | ||
946 | config DMA_MAYBE_COHERENT | 984 | config DMA_MAYBE_COHERENT |
947 | select DMA_NONCOHERENT | 985 | select DMA_NONCOHERENT |
@@ -975,6 +1013,7 @@ config SYS_SUPPORTS_HOTPLUG_CPU | |||
975 | 1013 | ||
976 | config I8259 | 1014 | config I8259 |
977 | bool | 1015 | bool |
1016 | select IRQ_DOMAIN | ||
978 | 1017 | ||
979 | config MIPS_BONITO64 | 1018 | config MIPS_BONITO64 |
980 | bool | 1019 | bool |
@@ -1055,6 +1094,7 @@ config MIPS_HUGE_TLB_SUPPORT | |||
1055 | 1094 | ||
1056 | config IRQ_CPU | 1095 | config IRQ_CPU |
1057 | bool | 1096 | bool |
1097 | select IRQ_DOMAIN | ||
1058 | 1098 | ||
1059 | config IRQ_CPU_RM7K | 1099 | config IRQ_CPU_RM7K |
1060 | bool | 1100 | bool |
@@ -1071,10 +1111,6 @@ config IRQ_TXX9 | |||
1071 | config IRQ_GT641XX | 1111 | config IRQ_GT641XX |
1072 | bool | 1112 | bool |
1073 | 1113 | ||
1074 | config IRQ_GIC | ||
1075 | select MIPS_CM | ||
1076 | bool | ||
1077 | |||
1078 | config PCI_GT64XXX_PCI0 | 1114 | config PCI_GT64XXX_PCI0 |
1079 | bool | 1115 | bool |
1080 | 1116 | ||
@@ -1574,6 +1610,7 @@ config CPU_LOONGSON1 | |||
1574 | select CPU_HAS_PREFETCH | 1610 | select CPU_HAS_PREFETCH |
1575 | select CPU_SUPPORTS_32BIT_KERNEL | 1611 | select CPU_SUPPORTS_32BIT_KERNEL |
1576 | select CPU_SUPPORTS_HIGHMEM | 1612 | select CPU_SUPPORTS_HIGHMEM |
1613 | select CPU_SUPPORTS_CPUFREQ | ||
1577 | 1614 | ||
1578 | config CPU_BMIPS32_3300 | 1615 | config CPU_BMIPS32_3300 |
1579 | select SMP_UP if SMP | 1616 | select SMP_UP if SMP |
@@ -1586,12 +1623,14 @@ config CPU_BMIPS4350 | |||
1586 | 1623 | ||
1587 | config CPU_BMIPS4380 | 1624 | config CPU_BMIPS4380 |
1588 | bool | 1625 | bool |
1626 | select MIPS_L1_CACHE_SHIFT_6 | ||
1589 | select SYS_SUPPORTS_SMP | 1627 | select SYS_SUPPORTS_SMP |
1590 | select SYS_SUPPORTS_HOTPLUG_CPU | 1628 | select SYS_SUPPORTS_HOTPLUG_CPU |
1591 | 1629 | ||
1592 | config CPU_BMIPS5000 | 1630 | config CPU_BMIPS5000 |
1593 | bool | 1631 | bool |
1594 | select MIPS_CPU_SCACHE | 1632 | select MIPS_CPU_SCACHE |
1633 | select MIPS_L1_CACHE_SHIFT_7 | ||
1595 | select SYS_SUPPORTS_SMP | 1634 | select SYS_SUPPORTS_SMP |
1596 | select SYS_SUPPORTS_HOTPLUG_CPU | 1635 | select SYS_SUPPORTS_HOTPLUG_CPU |
1597 | 1636 | ||
@@ -1886,15 +1925,6 @@ config FORCE_MAX_ZONEORDER | |||
1886 | The page size is not necessarily 4KB. Keep this in mind | 1925 | The page size is not necessarily 4KB. Keep this in mind |
1887 | when choosing a value for this option. | 1926 | when choosing a value for this option. |
1888 | 1927 | ||
1889 | config CEVT_GIC | ||
1890 | bool "Use GIC global counter for clock events" | ||
1891 | depends on IRQ_GIC && !MIPS_SEAD3 | ||
1892 | help | ||
1893 | Use the GIC global counter for the clock events. The R4K clock | ||
1894 | event driver is always present, so if the platform ends up not | ||
1895 | detecting a GIC, it will fall back to the R4K timer for the | ||
1896 | generation of clock events. | ||
1897 | |||
1898 | config BOARD_SCACHE | 1928 | config BOARD_SCACHE |
1899 | bool | 1929 | bool |
1900 | 1930 | ||
@@ -1908,7 +1938,6 @@ config IP22_CPU_SCACHE | |||
1908 | config MIPS_CPU_SCACHE | 1938 | config MIPS_CPU_SCACHE |
1909 | bool | 1939 | bool |
1910 | select BOARD_SCACHE | 1940 | select BOARD_SCACHE |
1911 | select MIPS_L1_CACHE_SHIFT_6 | ||
1912 | 1941 | ||
1913 | config R5000_CPU_SCACHE | 1942 | config R5000_CPU_SCACHE |
1914 | bool | 1943 | bool |
@@ -2095,11 +2124,8 @@ config SB1_PASS_2_1_WORKAROUNDS | |||
2095 | default y | 2124 | default y |
2096 | 2125 | ||
2097 | 2126 | ||
2098 | config 64BIT_PHYS_ADDR | ||
2099 | bool | ||
2100 | |||
2101 | config ARCH_PHYS_ADDR_T_64BIT | 2127 | config ARCH_PHYS_ADDR_T_64BIT |
2102 | def_bool 64BIT_PHYS_ADDR | 2128 | bool |
2103 | 2129 | ||
2104 | choice | 2130 | choice |
2105 | prompt "SmartMIPS or microMIPS ASE support" | 2131 | prompt "SmartMIPS or microMIPS ASE support" |
@@ -2122,7 +2148,7 @@ config CPU_HAS_SMARTMIPS | |||
2122 | here. | 2148 | here. |
2123 | 2149 | ||
2124 | config CPU_MICROMIPS | 2150 | config CPU_MICROMIPS |
2125 | depends on SYS_SUPPORTS_MICROMIPS | 2151 | depends on 32BIT && SYS_SUPPORTS_MICROMIPS |
2126 | bool "microMIPS" | 2152 | bool "microMIPS" |
2127 | help | 2153 | help |
2128 | When this option is enabled the kernel will be built using the | 2154 | When this option is enabled the kernel will be built using the |