zephyr/tests/kernel
Daniel Leung f786ecc075 tests: mem_protect/mem_map: add data cache manipulations
This adds data cache manipulations, flushing and invalidation,
to the tests where buffer content are being written and
compared. These tests map different virtual pages to the same
physical pages, and write to one of the mapped virtual
addresses. Some SoCs may cache the virtual address separately
and writes to one virtual address will not be reflected to
another virtual address, this failing the comparison. So we
need to manually flush the cache after writing to the buffer,
and invalidating cache before reading. Note that not all reads
and writes need this treatment as some of them only needs to
test for access permissions, and not the memory content.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2024-12-19 21:54:16 +01:00
..
cache boards: rename qemu_xtensa to qemu_xtensa/dc233c 2024-10-02 09:58:36 +02:00
common tests: kernel: common: optimize filters 2024-11-21 19:22:35 -05:00
condvar/condvar_api
context Revert "tests: disable NRF5 entropy driver on some bsim/qemu tests" 2024-12-12 00:15:39 +00:00
device tests: kernel: exclude xenvm with GICv3 from device tests 2024-12-05 22:09:31 +01:00
early_sleep
events
fatal arch: deprecate _current 2024-11-23 20:12:24 -05:00
fifo
fpu_sharing tests: kernel: fpu_sharing Fixed missing struct defs for ARM 2024-11-16 14:57:17 -05:00
gen_isr_table tests: gen_isr_table: multilevel: cleanup filter & Kconfigs 2024-10-02 10:08:19 +02:00
interrupt soc: nordic: Introduce the nRF54L05 and nRF54L10 2024-11-21 09:26:38 +01:00
ipi_cascade arch: deprecate _current 2024-11-23 20:12:24 -05:00
ipi_optimize
lifo
mbox
mem_heap/k_heap_api
mem_protect tests: mem_protect/mem_map: add data cache manipulations 2024-12-19 21:54:16 +01:00
mem_slab
mp
msgq
mutex tests: copy intel_adsp_ace30_ptl.conf to *_sim.conf 2024-11-18 13:18:22 -05:00
obj_core tests: remove misnamed platforms from platform_exclude 2024-09-16 10:07:51 +02:00
obj_tracking samples, tests: remove usage of space-separated lists 2024-12-04 14:14:53 -05:00
pending samples, tests: remove usage of space-separated lists 2024-12-04 14:14:53 -05:00
pipe
poll test: k_msgq_put should trigger reschedule 2024-12-14 01:04:43 +01:00
profiling/profiling_api
queue tests: copy intel_adsp_ace30_ptl.conf to *_sim.conf 2024-11-18 13:18:22 -05:00
sched Revert "tests: disable NRF5 entropy driver on some bsim/qemu tests" 2024-12-12 00:15:39 +00:00
semaphore tests: kernel: fix test groups for semaphore/mutex 2024-09-17 05:24:09 -04:00
sleep
smp tests: guard variable used only with CONFIG_TRACE_SCHED_IPI 2024-12-17 20:54:48 +01:00
smp_abort
smp_boot_delay samples, tests: remove usage of space-separated lists 2024-12-04 14:14:53 -05:00
smp_suspend
spinlock
stack/stack
threads kernel: Introduce _THREAD_SLEEPING state bit 2024-12-18 18:17:03 +01:00
tickless/tickless_concept
timer tests: kernel: timer: timer_behavior: Reduce tick frequency(nrf54l20pdk) 2024-12-02 14:23:22 +01:00
usage/thread_runtime_stats arch: deprecate _current 2024-11-23 20:12:24 -05:00
workq tests: kernel: Add support for stopping workqueues 2024-12-12 11:07:39 +01:00
xip