zephyr/arch/xtensa
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
..
core arch/xtensa: Add build-time validation of cache line kconfig 2025-01-06 20:33:04 +01:00
include init: support per-core init hook 2024-11-16 14:04:25 -05:00
CMakeLists.txt xtensa: fix typo userpsace to userspace 2024-10-08 18:10:03 -04:00
Kconfig xtensa: optimize syscall helper functions 2024-12-04 14:16:15 -05:00