zephyr/arch
Andy Ross 8b39d4a613 arch/xtensa: Add build-time validation of cache line kconfig
Xtensa cache line sizes aren't an obtuse area of pedantry like they
are in x86.  Different cores already in Zephyr are already using
variant cache line sizes (64 and 128 bytes are both common).

And I tripped over this by using the wrong value because the kconfig
was being inherited (incorrectly) from a default somewhere.

Xtensa exposes the correct value in core-isa.h (well, unless the
toolchain/hal gets messed up).  Add a check to make sure that our
platform kconfig gets it right.

Note that qemu/dc233c was already getting this wrong, leaving the
value at the kconfig default of zero.  That was benign (qemu doesn't
provide any cache emulation for incoherent DMA), but needs to be
fixed.

Signed-off-by: Andy Ross <andyross@google.com>
2025-01-06 20:33:04 +01:00
..
arc arch: deprecate _current 2024-11-23 20:12:24 -05:00
arm arch: arm: cortex_m: pm_s2ram: fix system_off rv as rv of s2ram_suspend 2025-01-03 17:11:09 +00:00
arm64 Revert "arch: arm64: init xen in arch_kernel_init()" 2024-12-06 18:20:40 +01:00
common arch: common: fix copy for ramfunc region during XIP init 2024-11-06 10:19:08 -08:00
mips kernel: arch: move arch_swap() declaration 2024-12-11 21:33:49 +01:00
nios2 arch: nios2: timing: Fix timing cycles rollover 2025-01-06 17:13:10 +00:00
posix kernel: arch: move arch_swap() declaration 2024-12-11 21:33:49 +01:00
riscv arch: riscv: introduce CONFIG_RISCV_GP_PURPOSE choice 2024-11-28 12:51:09 +01:00
sparc SPARC: Add support for single-vector trapping (SVT) 2024-11-25 21:53:55 +01:00
x86 kernel: arch: move arch_swap() declaration 2024-12-11 21:33:49 +01:00
xtensa arch/xtensa: Add build-time validation of cache line kconfig 2025-01-06 20:33:04 +01:00
archs.yml hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
CMakeLists.txt
Kconfig arch: local ISR table declaration: Remove experimental label 2024-12-05 12:29:58 +01:00
Kconfig.v1 hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
Kconfig.v2 hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00