CONFIG_CACHE_FLUSHING

Enable d-cache flushing mechanism

Enable cache flushing mechanism

Type: bool

Help

This links in the sys_cache_flush() function, which provides a way to flush multiple lines of the d-cache. If the d-cache is present, set this to y. If the d-cache is NOT present, set this to n.

Help

This links in the sys_cache_flush() function. A mechanism for flushing the cache must be selected as well. By default, that mechanism is discovered at runtime.

Direct dependencies

(SOC_EMSK_EM7D && SOC_EMSK) || (SOC_EMSK_EM11D && SOC_EMSK) || (SOC_NSIM_EM && SOC_NSIM) || (SOC_NSIM_SEM && SOC_NSIM) || ARC || (!X86_LONGMODE && X86)

(Includes any dependencies from ifs and menus.)

Defaults

  • y
  • y
  • y
  • y

Kconfig definitions

At soc/arc/snps_emsk/Kconfig.defconfig.em7d:41

Included via Kconfig:10Kconfig.zephyr:28soc/arc/snps_emsk/Kconfig.defconfig:14

Menu path: (Top)

config CACHE_FLUSHING
    bool
    default y
    depends on SOC_EMSK_EM7D && SOC_EMSK

At soc/arc/snps_emsk/Kconfig.defconfig.em11d:32

Included via Kconfig:10Kconfig.zephyr:28soc/arc/snps_emsk/Kconfig.defconfig:15

Menu path: (Top)

config CACHE_FLUSHING
    bool
    default y
    depends on SOC_EMSK_EM11D && SOC_EMSK

At soc/arc/snps_nsim/Kconfig.defconfig.em:36

Included via Kconfig:10Kconfig.zephyr:28soc/arc/snps_nsim/Kconfig.defconfig:17

Menu path: (Top)

config CACHE_FLUSHING
    bool
    default y
    depends on SOC_NSIM_EM && SOC_NSIM

At soc/arc/snps_nsim/Kconfig.defconfig.sem:36

Included via Kconfig:10Kconfig.zephyr:28soc/arc/snps_nsim/Kconfig.defconfig:18

Menu path: (Top)

config CACHE_FLUSHING
    bool
    default y
    depends on SOC_NSIM_SEM && SOC_NSIM

At arch/arc/Kconfig:194

Included via Kconfig:10Kconfig.zephyr:34arch/Kconfig:15

Menu path: (Top) → ARC Options → ARCv2 Family Options

config CACHE_FLUSHING
    bool "Enable d-cache flushing mechanism"
    depends on ARC
    help
      This links in the sys_cache_flush() function, which provides a
      way to flush multiple lines of the d-cache.
      If the d-cache is present, set this to y.
      If the d-cache is NOT present, set this to n.

At arch/x86/core/Kconfig.ia32:331

Included via Kconfig:10Kconfig.zephyr:34arch/Kconfig:15arch/x86/Kconfig:111

Menu path: (Top) → X86 Architecture Options → Processor Capabilities

config CACHE_FLUSHING
    bool "Enable cache flushing mechanism"
    depends on !X86_LONGMODE && X86
    help
      This links in the sys_cache_flush() function. A mechanism for flushing the
      cache must be selected as well. By default, that mechanism is discovered at
      runtime.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)