Kconfig 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # SPDX-License-Identifier: GPL-2.0
  2. menuconfig CACHEMAINT_FOR_DMA
  3. bool "Cache management for noncoherent DMA"
  4. depends on RISCV
  5. default y
  6. help
  7. These drivers implement support for noncoherent DMA master devices
  8. on platforms that lack the standard CPU interfaces for this.
  9. if CACHEMAINT_FOR_DMA
  10. config AX45MP_L2_CACHE
  11. bool "Andes Technology AX45MP L2 Cache controller"
  12. select RISCV_NONSTANDARD_CACHE_OPS
  13. help
  14. Support for the L2 cache controller on Andes Technology AX45MP platforms.
  15. config SIFIVE_CCACHE
  16. bool "Sifive Composable Cache controller"
  17. depends on ARCH_SIFIVE || ARCH_STARFIVE
  18. help
  19. Support for the composable cache controller on SiFive platforms.
  20. config STARFIVE_STARLINK_CACHE
  21. bool "StarFive StarLink Cache controller"
  22. depends on ARCH_STARFIVE
  23. depends on 64BIT
  24. select RISCV_DMA_NONCOHERENT
  25. select RISCV_NONSTANDARD_CACHE_OPS
  26. help
  27. Support for the StarLink cache controller IP from StarFive.
  28. endif #CACHEMAINT_FOR_DMA
  29. menuconfig CACHEMAINT_FOR_HOTPLUG
  30. bool "Cache management for memory hot plug like operations"
  31. depends on GENERIC_CPU_CACHE_MAINTENANCE
  32. help
  33. These drivers implement cache management for flows where it is necessary
  34. to flush data from all host caches.
  35. if CACHEMAINT_FOR_HOTPLUG
  36. config HISI_SOC_HHA
  37. tristate "HiSilicon Hydra Home Agent (HHA) device driver"
  38. depends on (ARM64 && ACPI) || COMPILE_TEST
  39. help
  40. The Hydra Home Agent (HHA) is responsible for cache coherency
  41. on the SoC. This drivers enables the cache maintenance functions of
  42. the HHA.
  43. This driver can be built as a module. If so, the module will be
  44. called hisi_soc_hha.
  45. endif #CACHEMAINT_FOR_HOTPLUG