[PATCH 1/2] locking: Introduce prepare_sync_core_cmd()

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Mon Nov 27 04:53:02 PST 2023


On 2023-11-27 05:32, Andrea Parri wrote:
> Introduce an architecture function that architectures can use to set
> up ("prepare") SYNC_CORE commands.
> 
> The function will be used by RISC-V to update its "deferred icache-
> flush" data structures (icache_stale_mask).
> 
> Architectures defining prepare_sync_core_cmd() static inline need to
> select ARCH_HAS_PREPARE_SYNC_CORE_CMD.
> 
> Signed-off-by: Andrea Parri <parri.andrea at gmail.com>
> Suggested-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>

Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>

-- 
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com




More information about the linux-riscv mailing list