The latest development version of this page may be more current than this released 1.14.1 version.
CONFIG_CLFLUSH_INSTRUCTION_SUPPORTED

CLFLUSH instruction supported

Type: bool

Help

An implementation of sys_cache_flush() that uses CLFLUSH is made available, instead of the one using WBINVD.

This option should only be enabled if it is known in advance that the CPU supports the CLFLUSH instruction. It disables runtime detection of CLFLUSH support thereby reducing both memory footprint and boot time.

Direct dependencies

!CLFLUSH_DETECT && CACHE_FLUSHING && X86

(Includes any dependencies from if’s and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At arch/x86/Kconfig:267

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

Menu path: (top menu) → X86 Architecture Options → Processor Capabilities

config CLFLUSH_INSTRUCTION_SUPPORTED
    bool
    prompt "CLFLUSH instruction supported" if !CLFLUSH_DETECT && CACHE_FLUSHING && X86
    depends on !CLFLUSH_DETECT && CACHE_FLUSHING && X86
    help
      An implementation of sys_cache_flush() that uses CLFLUSH is made
      available, instead of the one using WBINVD.

      This option should only be enabled if it is known in advance that the
      CPU supports the CLFLUSH instruction. It disables runtime detection of
      CLFLUSH support thereby reducing both memory footprint and boot time.

(Definitions include propagated dependencies, including from if’s and menus.)