-
CONFIG_CACHE_LINE_SIZE_DETECT
¶
Detect d-cache line size at runtime
Detect cache line size at runtime
Type: bool
Help¶
This option enables querying the d-cache build register for finding the d-cache line size at the expense of taking more memory and code and a slightly increased boot time.
If the CPU’s d-cache line size is known in advance, disable this option and manually enter the value for CACHE_LINE_SIZE.
Help¶
This option enables querying the CPUID register for finding the cache line size at the expense of taking more memory and code and a slightly increased boot time.
If the CPU’s cache line size is known in advance, disable this option and manually enter the value for CACHE_LINE_SIZE.
Kconfig definitions¶
At arch/arc/Kconfig:171
Included via Kconfig:10
→ Kconfig.zephyr:29
→ arch/Kconfig:15
Menu path: (top menu) → ARC Options → ARCv2 Family Options
config CACHE_LINE_SIZE_DETECT bool prompt "Detect d-cache line size at runtime" ifARC
depends onARC
help This option enables querying the d-cache build register for finding the d-cache line size at the expense of taking more memory and code and a slightly increased boot time. If the CPU's d-cache line size is known in advance, disable this option and manually enter the value for CACHE_LINE_SIZE.
At arch/x86/Kconfig:247
Included via Kconfig:10
→ Kconfig.zephyr:29
→ arch/Kconfig:15
Menu path: (top menu) → X86 Architecture Options → Processor Capabilities
config CACHE_LINE_SIZE_DETECT bool prompt "Detect cache line size at runtime" ifX86
default "y" ifX86
depends onX86
help This option enables querying the CPUID register for finding the cache line size at the expense of taking more memory and code and a slightly increased boot time. If the CPU's cache line size is known in advance, disable this option and manually enter the value for CACHE_LINE_SIZE.
(Definitions include propagated dependencies, including from if’s and menus.)