aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorHeiko Stuebner <[email protected]>2022-07-07 01:15:35 +0200
committerPalmer Dabbelt <[email protected]>2022-07-28 15:30:51 -0700
commit1631ba1259d6d7f49b6028f2a1a0fa02be1c522a (patch)
tree224d5329d0ce1579c48f8f2b68b7a2c989dd9a96 /tools/perf/util/trace-event-scripting.c
parentd1afce6709595b39cd159bdc54fe2093808c02fc (diff)
riscv: Add support for non-coherent devices using zicbom extension
The Zicbom ISA-extension was ratified in november 2021 and introduces instructions for dcache invalidate, clean and flush operations. Implement cache management operations for non-coherent devices based on them. Of course not all cores will support this, so implement an alternative-based mechanism that replaces empty instructions with ones done around Zicbom instructions. As discussed in previous versions, assume the platform being coherent by default so that non-coherent devices need to get marked accordingly by firmware. Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Heiko Stuebner <[email protected]> Reviewed-by: Guo Ren <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions