diff options
author | Paul Mundt <lethal@linux-sh.org> | 2011-01-06 20:29:26 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-01-06 20:29:26 -0500 |
commit | 5e93c6b4ecd78b1bab49bad1dc2f6ed7ec0115ee (patch) | |
tree | 4f4e321a1ca0baf64d8af528080c71f93495a7d7 /arch/arm/mm/Kconfig | |
parent | 98d27b8abf413a310df6676f7d2128ada1cccc08 (diff) | |
parent | 3c0cb7c31c206aaedb967e44b98442bbeb17a6c4 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 into rmobile-latest
Conflicts:
arch/arm/mach-shmobile/Kconfig
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/mm/Kconfig')
-rw-r--r-- | arch/arm/mm/Kconfig | 43 |
1 files changed, 42 insertions, 1 deletions
diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig index 8206842ddd9e..fcc1e628e050 100644 --- a/arch/arm/mm/Kconfig +++ b/arch/arm/mm/Kconfig | |||
@@ -382,6 +382,12 @@ config CPU_FEROCEON_OLD_ID | |||
382 | for which the CPU ID is equal to the ARM926 ID. | 382 | for which the CPU ID is equal to the ARM926 ID. |
383 | Relevant for Feroceon-1850 and early Feroceon-2850. | 383 | Relevant for Feroceon-1850 and early Feroceon-2850. |
384 | 384 | ||
385 | # Marvell PJ4 | ||
386 | config CPU_PJ4 | ||
387 | bool | ||
388 | select CPU_V7 | ||
389 | select ARM_THUMBEE | ||
390 | |||
385 | # ARMv6 | 391 | # ARMv6 |
386 | config CPU_V6 | 392 | config CPU_V6 |
387 | bool "Support ARM V6 processor" if ARCH_INTEGRATOR || MACH_REALVIEW_EB || MACH_REALVIEW_PBX || ARCH_DOVE | 393 | bool "Support ARM V6 processor" if ARCH_INTEGRATOR || MACH_REALVIEW_EB || MACH_REALVIEW_PBX || ARCH_DOVE |
@@ -599,6 +605,14 @@ config CPU_CP15_MPU | |||
599 | help | 605 | help |
600 | Processor has the CP15 register, which has MPU related registers. | 606 | Processor has the CP15 register, which has MPU related registers. |
601 | 607 | ||
608 | config CPU_USE_DOMAINS | ||
609 | bool | ||
610 | depends on MMU | ||
611 | default y if !CPU_32v6K | ||
612 | help | ||
613 | This option enables or disables the use of domain switching | ||
614 | via the set_fs() function. | ||
615 | |||
602 | # | 616 | # |
603 | # CPU supports 36-bit I/O | 617 | # CPU supports 36-bit I/O |
604 | # | 618 | # |
@@ -628,6 +642,33 @@ config ARM_THUMBEE | |||
628 | Say Y here if you have a CPU with the ThumbEE extension and code to | 642 | Say Y here if you have a CPU with the ThumbEE extension and code to |
629 | make use of it. Say N for code that can run on CPUs without ThumbEE. | 643 | make use of it. Say N for code that can run on CPUs without ThumbEE. |
630 | 644 | ||
645 | config SWP_EMULATE | ||
646 | bool "Emulate SWP/SWPB instructions" | ||
647 | depends on CPU_V7 | ||
648 | select HAVE_PROC_CPU if PROC_FS | ||
649 | default y if SMP | ||
650 | help | ||
651 | ARMv6 architecture deprecates use of the SWP/SWPB instructions. | ||
652 | ARMv7 multiprocessing extensions introduce the ability to disable | ||
653 | these instructions, triggering an undefined instruction exception | ||
654 | when executed. Say Y here to enable software emulation of these | ||
655 | instructions for userspace (not kernel) using LDREX/STREX. | ||
656 | Also creates /proc/cpu/swp_emulation for statistics. | ||
657 | |||
658 | In some older versions of glibc [<=2.8] SWP is used during futex | ||
659 | trylock() operations with the assumption that the code will not | ||
660 | be preempted. This invalid assumption may be more likely to fail | ||
661 | with SWP emulation enabled, leading to deadlock of the user | ||
662 | application. | ||
663 | |||
664 | NOTE: when accessing uncached shared regions, LDREX/STREX rely | ||
665 | on an external transaction monitoring block called a global | ||
666 | monitor to maintain update atomicity. If your system does not | ||
667 | implement a global monitor, this option can cause programs that | ||
668 | perform SWP operations to uncached memory to deadlock. | ||
669 | |||
670 | If unsure, say Y. | ||
671 | |||
631 | config CPU_BIG_ENDIAN | 672 | config CPU_BIG_ENDIAN |
632 | bool "Build big-endian kernel" | 673 | bool "Build big-endian kernel" |
633 | depends on ARCH_SUPPORTS_BIG_ENDIAN | 674 | depends on ARCH_SUPPORTS_BIG_ENDIAN |
@@ -789,7 +830,7 @@ config CACHE_PL310 | |||
789 | 830 | ||
790 | config CACHE_TAUROS2 | 831 | config CACHE_TAUROS2 |
791 | bool "Enable the Tauros2 L2 cache controller" | 832 | bool "Enable the Tauros2 L2 cache controller" |
792 | depends on (ARCH_DOVE || ARCH_MMP) | 833 | depends on (ARCH_DOVE || ARCH_MMP || CPU_PJ4) |
793 | default y | 834 | default y |
794 | select OUTER_CACHE | 835 | select OUTER_CACHE |
795 | help | 836 | help |