Kconfig 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. if CPU_CAVIUM_OCTEON
  2. config CAVIUM_CN63XXP1
  3. bool "Enable CN63XXP1 errata workarounds"
  4. default "n"
  5. help
  6. The CN63XXP1 chip requires build time workarounds to
  7. function reliably, select this option to enable them. These
  8. workarounds will cause a slight decrease in performance on
  9. non-CN63XXP1 hardware, so it is recommended to select "n"
  10. unless it is known the workarounds are needed.
  11. config CAVIUM_OCTEON_CVMSEG_SIZE
  12. int "Number of L1 cache lines reserved for CVMSEG memory"
  13. range 0 54
  14. default 1
  15. help
  16. CVMSEG LM is a segment that accesses portions of the dcache as a
  17. local memory; the larger CVMSEG is, the smaller the cache is.
  18. This selects the size of CVMSEG LM, which is in cache blocks. The
  19. legally range is from zero to 54 cache blocks (i.e. CVMSEG LM is
  20. between zero and 6192 bytes).
  21. endif # CPU_CAVIUM_OCTEON
  22. if CAVIUM_OCTEON_SOC
  23. config CAVIUM_OCTEON_2ND_KERNEL
  24. bool "Build the kernel to be used as a 2nd kernel on the same chip"
  25. default "n"
  26. help
  27. This option configures this kernel to be linked at a different
  28. address and use the 2nd uart for output. This allows a kernel built
  29. with this option to be run at the same time as one built without this
  30. option.
  31. config CAVIUM_OCTEON_LOCK_L2
  32. bool "Lock often used kernel code in the L2"
  33. default "y"
  34. help
  35. Enable locking parts of the kernel into the L2 cache.
  36. config CAVIUM_OCTEON_LOCK_L2_TLB
  37. bool "Lock the TLB handler in L2"
  38. depends on CAVIUM_OCTEON_LOCK_L2
  39. default "y"
  40. help
  41. Lock the low level TLB fast path into L2.
  42. config CAVIUM_OCTEON_LOCK_L2_EXCEPTION
  43. bool "Lock the exception handler in L2"
  44. depends on CAVIUM_OCTEON_LOCK_L2
  45. default "y"
  46. help
  47. Lock the low level exception handler into L2.
  48. config CAVIUM_OCTEON_LOCK_L2_LOW_LEVEL_INTERRUPT
  49. bool "Lock the interrupt handler in L2"
  50. depends on CAVIUM_OCTEON_LOCK_L2
  51. default "y"
  52. help
  53. Lock the low level interrupt handler into L2.
  54. config CAVIUM_OCTEON_LOCK_L2_INTERRUPT
  55. bool "Lock the 2nd level interrupt handler in L2"
  56. depends on CAVIUM_OCTEON_LOCK_L2
  57. default "y"
  58. help
  59. Lock the 2nd level interrupt handler in L2.
  60. config CAVIUM_OCTEON_LOCK_L2_MEMCPY
  61. bool "Lock memcpy() in L2"
  62. depends on CAVIUM_OCTEON_LOCK_L2
  63. default "y"
  64. help
  65. Lock the kernel's implementation of memcpy() into L2.
  66. config IOMMU_HELPER
  67. bool
  68. config NEED_SG_DMA_LENGTH
  69. bool
  70. config SWIOTLB
  71. def_bool y
  72. select IOMMU_HELPER
  73. select NEED_SG_DMA_LENGTH
  74. config OCTEON_ILM
  75. tristate "Module to measure interrupt latency using Octeon CIU Timer"
  76. help
  77. This driver is a module to measure interrupt latency using the
  78. the CIU Timers on Octeon.
  79. To compile this driver as a module, choose M here. The module
  80. will be called octeon-ilm
  81. endif # CAVIUM_OCTEON_SOC