genode/repos/base-hw/src/core
Stefan Kalkowski f842c92ee1 hw: correct the ARM cache maintainance operations
This commit fixes the following issues regarding cache maintainance
under ARM:

* read out I-, and D-cache line size at runtime and use the correct one
* remove 'update_data_region' call from unprivileged syscalls
* rename 'update_instr_region' syscall to 'cache_coherent_region' to
  reflect what it doing, namely make I-, and D-cache coherent
* restrict 'cache_coherent_region' syscall to one page at a time
* lookup the region given in a 'cache_coherent_region' syscall in the
  page-table of the PD to prevent machine exceptions in the kernel
* only clean D-cache lines, do not invalidate them when pages where
  added on Cortex-A8 and ARMv6 (MMU sees phys. memory here)
* remove unused code relicts of cache maintainance

In addition it introduces per architecture memory clearance functions
used by core, when preparing new dataspaces. Thereby, it optimizes:

* on ARMv7 using per-word assignments
* on ARMv8 using cacheline zeroing
* on x86_64 using 'rept stosq' assembler instruction

Fix #3685
2020-03-11 15:43:02 +01:00
..
hw kernel: differentiate board-specific components 2019-05-27 14:46:52 +02:00
kernel hw: correct the ARM cache maintainance operations 2020-03-11 15:43:02 +01:00
spec hw: correct the ARM cache maintainance operations 2020-03-11 15:43:02 +01:00
capability.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
core_log_out.cc base-*: rename core_log.cc to core_log_out.cc 2017-12-21 15:01:46 +01:00
core_region_map.cc base/core: use references instead of pointers 2019-02-12 10:33:13 +01:00
cpu_session_support.cc core: add kernel-specific UTCB quota bookkeeping 2020-02-20 12:11:21 +01:00
cpu_thread_allocator.h base/core: use references instead of pointers 2019-02-12 10:33:13 +01:00
env.cc hw: fix capability accounting of kernel/core 2017-06-19 12:35:55 +02:00
io_mem_session_support.cc Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00
irq_session_component.cc hw: turn Kernel_object into Genode::Constructible 2019-11-19 14:42:23 +01:00
irq_session_component.h hw: turn Kernel_object into Genode::Constructible 2019-11-19 14:42:23 +01:00
kernel_log.cc Remove UART specific SPEC identifiers (Ref #2403) 2017-05-31 13:16:10 +02:00
map_local.h hw: remove core internal header directories 2017-05-31 13:15:52 +02:00
native_pd_component.cc Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00
native_pd_component.h Add missing override annotations 2019-02-19 11:12:11 +01:00
native_utcb.cc hw: introduce kernel/user address space split 2017-10-19 13:31:17 +02:00
object.h hw: turn Kernel_object into Genode::Constructible 2019-11-19 14:42:23 +01:00
pager.cc hw: turn Kernel_object into Genode::Constructible 2019-11-19 14:42:23 +01:00
pager.h hw: turn Kernel_object into Genode::Constructible 2019-11-19 14:42:23 +01:00
platform_pd.cc hw: correct the ARM cache maintainance operations 2020-03-11 15:43:02 +01:00
platform_pd.h hw: correct the ARM cache maintainance operations 2020-03-11 15:43:02 +01:00
platform_thread.cc hw: turn Kernel_object into Genode::Constructible 2019-11-19 14:42:23 +01:00
platform_thread.h base-hw: add trace execution time support 2019-12-19 17:01:42 +01:00
platform.cc base: add affinity space info to platform info 2020-02-04 15:51:10 +01:00
platform.h hw: add system call for irq mode setting 2019-08-21 13:25:25 +02:00
ram_dataspace_support.cc hw: correct the ARM cache maintainance operations 2020-03-11 15:43:02 +01:00
region_map_support.cc hw: turn Kernel_object into Genode::Constructible 2019-11-19 14:42:23 +01:00
rpc_cap_factory.h hw: turn Kernel_object into Genode::Constructible 2019-11-19 14:42:23 +01:00
signal_broker.h Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00
signal_source_component.h hw: turn Kernel_object into Genode::Constructible 2019-11-19 14:42:23 +01:00
stack_area_addr.cc hw: introduce kernel/user address space split 2017-10-19 13:31:17 +02:00
thread_start.cc base-hw: trace execution time of core threads 2019-12-19 17:01:43 +01:00
util.h Follow practices suggested by "Effective C++" 2018-01-17 12:14:35 +01:00
vm_session_component.cc hw: introduce virtualization support for ARMv8 2019-11-21 14:29:36 +01:00
vm_session_component.h hw: introduce virtualization support for ARMv8 2019-11-21 14:29:36 +01:00