aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/mips/cavium-octeon/Kconfig23
1 files changed, 11 insertions, 12 deletions
diff --git a/arch/mips/cavium-octeon/Kconfig b/arch/mips/cavium-octeon/Kconfig
index 227705d9d5ae..602866657938 100644
--- a/arch/mips/cavium-octeon/Kconfig
+++ b/arch/mips/cavium-octeon/Kconfig
@@ -10,6 +10,17 @@ config CAVIUM_CN63XXP1
10 non-CN63XXP1 hardware, so it is recommended to select "n" 10 non-CN63XXP1 hardware, so it is recommended to select "n"
11 unless it is known the workarounds are needed. 11 unless it is known the workarounds are needed.
12 12
13config CAVIUM_OCTEON_CVMSEG_SIZE
14 int "Number of L1 cache lines reserved for CVMSEG memory"
15 range 0 54
16 default 1
17 help
18 CVMSEG LM is a segment that accesses portions of the dcache as a
19 local memory; the larger CVMSEG is, the smaller the cache is.
20 This selects the size of CVMSEG LM, which is in cache blocks. The
21 legally range is from zero to 54 cache blocks (i.e. CVMSEG LM is
22 between zero and 6192 bytes).
23
13endif # CPU_CAVIUM_OCTEON 24endif # CPU_CAVIUM_OCTEON
14 25
15if CAVIUM_OCTEON_SOC 26if CAVIUM_OCTEON_SOC
@@ -23,17 +34,6 @@ config CAVIUM_OCTEON_2ND_KERNEL
23 with this option to be run at the same time as one built without this 34 with this option to be run at the same time as one built without this
24 option. 35 option.
25 36
26config CAVIUM_OCTEON_CVMSEG_SIZE
27 int "Number of L1 cache lines reserved for CVMSEG memory"
28 range 0 54
29 default 1
30 help
31 CVMSEG LM is a segment that accesses portions of the dcache as a
32 local memory; the larger CVMSEG is, the smaller the cache is.
33 This selects the size of CVMSEG LM, which is in cache blocks. The
34 legally range is from zero to 54 cache blocks (i.e. CVMSEG LM is
35 between zero and 6192 bytes).
36
37config CAVIUM_OCTEON_LOCK_L2 37config CAVIUM_OCTEON_LOCK_L2
38 bool "Lock often used kernel code in the L2" 38 bool "Lock often used kernel code in the L2"
39 default "y" 39 default "y"
@@ -86,7 +86,6 @@ config SWIOTLB
86 select IOMMU_HELPER 86 select IOMMU_HELPER
87 select NEED_SG_DMA_LENGTH 87 select NEED_SG_DMA_LENGTH
88 88
89
90config OCTEON_ILM 89config OCTEON_ILM
91 tristate "Module to measure interrupt latency using Octeon CIU Timer" 90 tristate "Module to measure interrupt latency using Octeon CIU Timer"
92 help 91 help