This is the documentation for the latest (master) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.
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.

Defaults

  • n

  • n

  • y

  • y

  • y

  • n

  • y

  • y

  • y

  • y

  • y

  • y

  • y

Kconfig definitions

At soc/arc/snps_emsdp/Kconfig.defconfig.em4:24

Included via Kconfig:8Kconfig.zephyr:25soc/arc/snps_emsdp/Kconfig.defconfig:14

Menu path: (Top)

config CACHE_FLUSHING
    bool
    default n
    depends on SOC_EMSDP_EM4 && SOC_ARC_EMSDP

At soc/arc/snps_emsdp/Kconfig.defconfig.em5d:24

Included via Kconfig:8Kconfig.zephyr:25soc/arc/snps_emsdp/Kconfig.defconfig:15

Menu path: (Top)

config CACHE_FLUSHING
    bool
    default n
    depends on SOC_EMSDP_EM5D && SOC_ARC_EMSDP

At soc/arc/snps_emsdp/Kconfig.defconfig.em6:24

Included via Kconfig:8Kconfig.zephyr:25soc/arc/snps_emsdp/Kconfig.defconfig:16

Menu path: (Top)

config CACHE_FLUSHING
    bool
    default y
    depends on SOC_EMSDP_EM6 && SOC_ARC_EMSDP

At soc/arc/snps_emsdp/Kconfig.defconfig.em7d:24

Included via Kconfig:8Kconfig.zephyr:25soc/arc/snps_emsdp/Kconfig.defconfig:17

Menu path: (Top)

config CACHE_FLUSHING
    bool
    default y
    depends on SOC_EMSDP_EM7D && SOC_ARC_EMSDP

At soc/arc/snps_emsdp/Kconfig.defconfig.em7d_esp:24

Included via Kconfig:8Kconfig.zephyr:25soc/arc/snps_emsdp/Kconfig.defconfig:18

Menu path: (Top)

config CACHE_FLUSHING
    bool
    default y
    depends on SOC_EMSDP_EM7D_ESP && SOC_ARC_EMSDP

At soc/arc/snps_emsdp/Kconfig.defconfig.em9d:24

Included via Kconfig:8Kconfig.zephyr:25soc/arc/snps_emsdp/Kconfig.defconfig:19

Menu path: (Top)

config CACHE_FLUSHING
    bool
    default n
    depends on SOC_EMSDP_EM9D && SOC_ARC_EMSDP

At soc/arc/snps_emsdp/Kconfig.defconfig.em11d:24

Included via Kconfig:8Kconfig.zephyr:25soc/arc/snps_emsdp/Kconfig.defconfig:20

Menu path: (Top)

config CACHE_FLUSHING
    bool
    default y
    depends on SOC_EMSDP_EM11D && SOC_ARC_EMSDP

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

Included via Kconfig:8Kconfig.zephyr:25soc/arc/snps_emsk/Kconfig.defconfig:10

Menu path: (Top)

config CACHE_FLUSHING
    bool
    default y
    depends on SOC_EMSK_EM7D && SOC_EMSK

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

Included via Kconfig:8Kconfig.zephyr:25soc/arc/snps_emsk/Kconfig.defconfig:11

Menu path: (Top)

config CACHE_FLUSHING
    bool
    default y
    depends on SOC_EMSK_EM11D && SOC_EMSK

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

Included via Kconfig:8Kconfig.zephyr:25soc/arc/snps_nsim/Kconfig.defconfig:12

Menu path: (Top)

config CACHE_FLUSHING
    bool
    default y
    depends on SOC_NSIM_EM && SOC_NSIM

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

Included via Kconfig:8Kconfig.zephyr:25soc/arc/snps_nsim/Kconfig.defconfig:13

Menu path: (Top)

config CACHE_FLUSHING
    bool
    default y
    depends on SOC_NSIM_SEM && SOC_NSIM

At soc/arc/snps_nsim/Kconfig.defconfig.hs:27

Included via Kconfig:8Kconfig.zephyr:25soc/arc/snps_nsim/Kconfig.defconfig:14

Menu path: (Top)

config CACHE_FLUSHING
    bool
    default y
    depends on SOC_NSIM_HS && SOC_NSIM

At soc/arc/snps_nsim/Kconfig.defconfig.hs_smp:27

Included via Kconfig:8Kconfig.zephyr:25soc/arc/snps_nsim/Kconfig.defconfig:15

Menu path: (Top)

config CACHE_FLUSHING
    bool
    default y
    depends on SOC_NSIM_HS_SMP && SOC_NSIM

At arch/arc/Kconfig:306

Included via Kconfig:8Kconfig.zephyr:29arch/Kconfig:12

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:183

Included via Kconfig:8Kconfig.zephyr:29arch/Kconfig:12arch/x86/Kconfig:279

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

config CACHE_FLUSHING
    bool "Enable cache flushing mechanism"
    depends on !X86_64 && 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.)