:orphan: .. title:: CLFLUSH_DETECT .. option:: CONFIG_CLFLUSH_DETECT *Detect support of CLFLUSH instruction at runtime* Type: ``bool`` Help ==== 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. Direct dependencies =================== \ :option:`SOC_APOLLO_LAKE ` || \ :option:`SOC_ATOM ` || \ :option:`SOC_ELKHART_LAKE ` || \ :option:`SOC_IA32 ` || (\ :option:`CACHE_MANAGEMENT ` && !\ :option:`X86_64 ` && \ :option:`X86 `) *(Includes any dependencies from ifs and menus.)* Defaults ======== - y if \ :option:`CACHE_MANAGEMENT ` - y if \ :option:`CACHE_MANAGEMENT ` - y if \ :option:`CACHE_MANAGEMENT ` - y if \ :option:`CACHE_MANAGEMENT ` Kconfig definitions =================== .. highlight:: kconfig At ``soc/x86/apollo_lake/Kconfig.defconfig:44`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` Menu path: (Top) .. parsed-literal:: config CLFLUSH_DETECT bool default y if \ :option:`CACHE_MANAGEMENT ` depends on \ :option:`SOC_APOLLO_LAKE ` ---- At ``soc/x86/atom/Kconfig.defconfig:14`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` Menu path: (Top) .. parsed-literal:: config CLFLUSH_DETECT bool default y if \ :option:`CACHE_MANAGEMENT ` depends on \ :option:`SOC_ATOM ` ---- At ``soc/x86/elkhart_lake/Kconfig.defconfig:44`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` Menu path: (Top) .. parsed-literal:: config CLFLUSH_DETECT bool default y if \ :option:`CACHE_MANAGEMENT ` depends on \ :option:`SOC_ELKHART_LAKE ` ---- At ``soc/x86/ia32/Kconfig.defconfig:14`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:19`` → ``/home/runner/work/bridle/bridle/workspace/build/Kconfig/Kconfig.soc.defconfig:1`` Menu path: (Top) .. parsed-literal:: config CLFLUSH_DETECT bool default y if \ :option:`CACHE_MANAGEMENT ` depends on \ :option:`SOC_IA32 ` ---- At ``arch/x86/core/Kconfig.ia32:167`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:29`` → ``arch/Kconfig:12`` → ``arch/x86/Kconfig:319`` Menu path: (Top) → X86 Architecture Options → Processor Capabilities .. parsed-literal:: config CLFLUSH_DETECT bool "Detect support of CLFLUSH instruction at runtime" depends on \ :option:`CACHE_MANAGEMENT ` && !\ :option:`X86_64 ` && \ :option:`X86 ` help 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. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*