CONFIG_DCACHE_LINE_SIZE

d-cache line size

Type: int

Help

Size in bytes of a CPU d-cache line. If this is set to 0 the value is obtained from the ‘d-cache-line-size’ DT property instead if present.

Detect automatically at runtime by selecting DCACHE_LINE_SIZE_DETECT.

Direct dependencies

ARC || (!X86_64 && X86) || CACHE_MANAGEMENT

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definitions

At <Zephyr>/arch/arc/Kconfig:285

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:29<Zephyr>/arch/Kconfig:12

Menu path: (Top) → ARC Options → ARCv2 Family Options

config DCACHE_LINE_SIZE
    int
    default 32
    depends on ARC

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

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:29<Zephyr>/arch/Kconfig:12<Zephyr>/arch/x86/Kconfig:326

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

config DCACHE_LINE_SIZE
    int
    default 64 if CPU_ATOM
    depends on !X86_64 && X86

At <Zephyr>/arch/Kconfig:733

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:29

Menu path: (Top) → Cache Options → Enable cache management features

config DCACHE_LINE_SIZE
    int "d-cache line size" if !DCACHE_LINE_SIZE_DETECT
    default 0
    depends on CACHE_MANAGEMENT
    help
      Size in bytes of a CPU d-cache line. If this is set to 0 the value is
      obtained from the 'd-cache-line-size' DT property instead if present.


      Detect automatically at runtime by selecting DCACHE_LINE_SIZE_DETECT.

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