zephyr/tests
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
..
application_development arch: arm: rename CPU_HAS_NXP_MPU to align with binding 2024-12-06 22:23:06 +01:00
arch tests: arm: remove GNUC ifdef 2024-12-19 04:18:48 +01:00
benchmarks kernel: Decouple sleep from suspend 2024-12-18 18:17:03 +01:00
bluetooth tests/samples: remove ENTROPY_GENERATOR from BT related tests/samples 2024-12-19 17:53:37 +01:00
boards tests: boards: nrf: i2c: add support for nRF54H20 cpuppr 2024-12-16 18:25:02 +01:00
boot python: Format and sort imports 2024-11-25 10:07:13 +01:00
bsim tests/samples: remove ENTROPY_GENERATOR from BT related tests/samples 2024-12-19 17:53:37 +01:00
cmake samples, tests: remove usage of space-separated lists 2024-12-04 14:14:53 -05:00
crypto mbedtls: add Kconfig to select the number of key slot in PSA Crypto core 2024-11-26 00:12:56 +01:00
drivers tests: uart_elementary: esp32: Add test configs 2024-12-19 19:56:06 +01:00
integration/kernel Kernel: Integration test 2024-06-19 13:41:06 +02:00
kconfig tests: kconfig: functions: Add min/max functions 2024-08-02 13:41:07 +02:00
kernel tests: mem_protect/mem_map: add data cache manipulations 2024-12-19 21:54:16 +01:00
lib devicetree: Add DT_FOREACH_ANCESTOR macro 2024-12-18 10:17:09 +01:00
misc Revert "test: misc|shell: disable "zephyr,entropy" chosen property" 2024-12-12 00:15:39 +00:00
modules tests: modules: nanopb: Test on Big Endian platform 2024-12-19 15:20:11 +01:00
net tests: net: vlan: Add testing of link layer header embedding 2024-12-19 10:21:28 +01:00
posix tests: posix: common: separate xsi_threads_ext into standalone test 2024-12-17 09:48:49 +01:00
robot resc: cmake: robot: Rename Renode variable 2024-05-28 12:54:52 +02:00
subsys zms: optimize write function by skipping unnecessary reads 2024-12-19 19:55:30 +01:00
unit tests: fix various unit tests warnings 2024-12-16 20:48:56 +01:00
ztest arch: deprecate _current 2024-11-23 20:12:24 -05:00
test_config.yaml twister: tests: Add some generic driver tests to the scope 2023-11-30 19:38:50 -05:00