CONFIG_CLFLUSH_DETECT

This option should be enabled if it is not known in advance whether the CPU supports the CLFLUSH instruction or not.

The CPU is queried at boot time to determine which of the multiple implementations of sys_cache_flush() linked into the image is the correct one to use.

If the CPU’s support (or lack thereof) of CLFLUSH is known in advance, then disable this option and set CLFLUSH_INSTRUCTION_SUPPORTED as appropriate.

Symbol:

CLFLUSH_DETECT

Type:

bool

Value:

“n”

User value:

(no user value)

Visibility:

“n”

Is choice item:

false

Is defined:

true

Is from env.:

false

Is special:

false

Prompts:
  • “Detect support of CLFLUSH instruction at runtime” if CPU_MIGHT_SUPPORT_CLFLUSH (value: “n”)
Default values:
  • y (value: “y”)
  • Condition: CPU_MIGHT_SUPPORT_CLFLUSH (value: “n”)
Selects:

(no selects)

Reverse (select-related) dependencies:
 

(no reverse dependencies)

Additional dependencies from enclosing menus and ifs:
 

X86 (value: “y”)

Locations:
  • ../arch/x86/Kconfig:187