~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/mips/cavium-octeon/Kconfig

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/mips/cavium-octeon/Kconfig (Architecture m68k) and /arch/mips/cavium-octeon/Kconfig (Architecture mips)


  1 # SPDX-License-Identifier: GPL-2.0                  1 # SPDX-License-Identifier: GPL-2.0
  2 if CPU_CAVIUM_OCTEON                                2 if CPU_CAVIUM_OCTEON
  3                                                     3 
  4 config CAVIUM_CN63XXP1                              4 config CAVIUM_CN63XXP1
  5         bool "Enable CN63XXP1 errata workaroun      5         bool "Enable CN63XXP1 errata workarounds"
  6         default "n"                                 6         default "n"
  7         help                                        7         help
  8           The CN63XXP1 chip requires build tim      8           The CN63XXP1 chip requires build time workarounds to
  9           function reliably, select this optio      9           function reliably, select this option to enable them.  These
 10           workarounds will cause a slight decr     10           workarounds will cause a slight decrease in performance on
 11           non-CN63XXP1 hardware, so it is reco     11           non-CN63XXP1 hardware, so it is recommended to select "n"
 12           unless it is known the workarounds a     12           unless it is known the workarounds are needed.
 13                                                    13 
 14 config CAVIUM_OCTEON_CVMSEG_SIZE                   14 config CAVIUM_OCTEON_CVMSEG_SIZE
 15         int "Number of L1 cache lines reserved     15         int "Number of L1 cache lines reserved for CVMSEG memory"
 16         range 0 54                                 16         range 0 54
 17         default 0 if !CAVIUM_OCTEON_SOC            17         default 0 if !CAVIUM_OCTEON_SOC
 18         default 1 if CAVIUM_OCTEON_SOC             18         default 1 if CAVIUM_OCTEON_SOC
 19         help                                       19         help
 20           CVMSEG LM is a segment that accesses     20           CVMSEG LM is a segment that accesses portions of the dcache as a
 21           local memory; the larger CVMSEG is,      21           local memory; the larger CVMSEG is, the smaller the cache is.
 22           This selects the size of CVMSEG LM,      22           This selects the size of CVMSEG LM, which is in cache blocks. The
 23           legally range is from zero to 54 cac     23           legally range is from zero to 54 cache blocks (i.e. CVMSEG LM is
 24           between zero and 6192 bytes).            24           between zero and 6192 bytes).
 25                                                    25 
 26 endif # CPU_CAVIUM_OCTEON                          26 endif # CPU_CAVIUM_OCTEON
 27                                                    27 
 28 if CAVIUM_OCTEON_SOC                               28 if CAVIUM_OCTEON_SOC
 29                                                    29 
 30 config CAVIUM_OCTEON_LOCK_L2                       30 config CAVIUM_OCTEON_LOCK_L2
 31         bool "Lock often used kernel code in t     31         bool "Lock often used kernel code in the L2"
 32         default "y"                                32         default "y"
 33         help                                       33         help
 34           Enable locking parts of the kernel i     34           Enable locking parts of the kernel into the L2 cache.
 35                                                    35 
 36 config CAVIUM_OCTEON_LOCK_L2_TLB                   36 config CAVIUM_OCTEON_LOCK_L2_TLB
 37         bool "Lock the TLB handler in L2"          37         bool "Lock the TLB handler in L2"
 38         depends on CAVIUM_OCTEON_LOCK_L2           38         depends on CAVIUM_OCTEON_LOCK_L2
 39         default "y"                                39         default "y"
 40         help                                       40         help
 41           Lock the low level TLB fast path int     41           Lock the low level TLB fast path into L2.
 42                                                    42 
 43 config CAVIUM_OCTEON_LOCK_L2_EXCEPTION             43 config CAVIUM_OCTEON_LOCK_L2_EXCEPTION
 44         bool "Lock the exception handler in L2     44         bool "Lock the exception handler in L2"
 45         depends on CAVIUM_OCTEON_LOCK_L2           45         depends on CAVIUM_OCTEON_LOCK_L2
 46         default "y"                                46         default "y"
 47         help                                       47         help
 48           Lock the low level exception handler     48           Lock the low level exception handler into L2.
 49                                                    49 
 50 config CAVIUM_OCTEON_LOCK_L2_LOW_LEVEL_INTERRU     50 config CAVIUM_OCTEON_LOCK_L2_LOW_LEVEL_INTERRUPT
 51         bool "Lock the interrupt handler in L2     51         bool "Lock the interrupt handler in L2"
 52         depends on CAVIUM_OCTEON_LOCK_L2           52         depends on CAVIUM_OCTEON_LOCK_L2
 53         default "y"                                53         default "y"
 54         help                                       54         help
 55           Lock the low level interrupt handler     55           Lock the low level interrupt handler into L2.
 56                                                    56 
 57 config CAVIUM_OCTEON_LOCK_L2_INTERRUPT             57 config CAVIUM_OCTEON_LOCK_L2_INTERRUPT
 58         bool "Lock the 2nd level interrupt han     58         bool "Lock the 2nd level interrupt handler in L2"
 59         depends on CAVIUM_OCTEON_LOCK_L2           59         depends on CAVIUM_OCTEON_LOCK_L2
 60         default "y"                                60         default "y"
 61         help                                       61         help
 62           Lock the 2nd level interrupt handler     62           Lock the 2nd level interrupt handler in L2.
 63                                                    63 
 64 config CAVIUM_OCTEON_LOCK_L2_MEMCPY                64 config CAVIUM_OCTEON_LOCK_L2_MEMCPY
 65         bool "Lock memcpy() in L2"                 65         bool "Lock memcpy() in L2"
 66         depends on CAVIUM_OCTEON_LOCK_L2           66         depends on CAVIUM_OCTEON_LOCK_L2
 67         default "y"                                67         default "y"
 68         help                                       68         help
 69           Lock the kernel's implementation of      69           Lock the kernel's implementation of memcpy() into L2.
 70                                                    70 
 71 config CAVIUM_RESERVE32                            71 config CAVIUM_RESERVE32
 72         int "Memory to reserve for user proces     72         int "Memory to reserve for user processes shared region (MB)"
 73         range 0 1536                               73         range 0 1536
 74         default "0"                                74         default "0"
 75         help                                       75         help
 76           Reserve a shared memory region for u     76           Reserve a shared memory region for user processes to use for hardware
 77           memory buffers. This is required for     77           memory buffers. This is required for 32bit applications to be able to
 78           send and receive packets directly. A     78           send and receive packets directly. Applications access this memory by
 79           memory mapping /dev/mem for the addr     79           memory mapping /dev/mem for the addresses in /proc/octeon_info. For
 80           optimal performance with HugeTLBs, k     80           optimal performance with HugeTLBs, keep this size an even number of
 81           megabytes.                               81           megabytes.
 82                                                    82 
 83 config OCTEON_ILM                                  83 config OCTEON_ILM
 84         tristate "Module to measure interrupt      84         tristate "Module to measure interrupt latency using Octeon CIU Timer"
 85         help                                       85         help
 86           This driver is a module to measure i     86           This driver is a module to measure interrupt latency using the
 87           the CIU Timers on Octeon.                87           the CIU Timers on Octeon.
 88                                                    88 
 89           To compile this driver as a module,      89           To compile this driver as a module, choose M here.  The module
 90           will be called octeon-ilm                90           will be called octeon-ilm
 91                                                    91 
 92 endif # CAVIUM_OCTEON_SOC                          92 endif # CAVIUM_OCTEON_SOC
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php