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_64 && X86

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

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

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

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

config CLFLUSH_INSTRUCTION_SUPPORTED
    bool "CLFLUSH instruction supported"
    depends on !CLFLUSH_DETECT && CACHE_FLUSHING && !X86_64 && 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.

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