CONFIG_X86_MFENCE_INSTRUCTION_SUPPORTED

X86 MFENCE instruction supported

Type: bool

Help

Set n to disable the use of MFENCE instruction in arch_dcache_flush()
for X86 CPUs have CLFLUSH instruction but no MFENCE

Direct dependencies

CACHE_MANAGEMENT && !X86_64 && X86

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At <Zephyr>/arch/x86/core/Kconfig.ia32:173

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:37<Zephyr>/arch/Kconfig:12<Zephyr>/arch/x86/Kconfig:482

Menu path: (Top) → X86 Architecture Options

config X86_MFENCE_INSTRUCTION_SUPPORTED
    bool "X86 MFENCE instruction supported"
    default y
    depends on CACHE_MANAGEMENT && !X86_64 && X86
    help
      Set n to disable the use of MFENCE instruction in arch_dcache_flush()
      for X86 CPUs have CLFLUSH instruction but no MFENCE

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