[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 02/43] util: Extract flush_icache_range to cacheflush.c
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v4 02/43] util: Extract flush_icache_range to cacheflush.c |
Date: |
Mon, 14 Dec 2020 22:59:53 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 |
On 12/14/20 3:02 PM, Richard Henderson wrote:
> This has been a tcg-specific function, but is also in use
> by hardware accelerators via physmem.c. This can cause
> link errors when tcg is disabled.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> include/qemu/cacheflush.h | 24 +++++++++++++
> tcg/aarch64/tcg-target.h | 5 ---
> tcg/arm/tcg-target.h | 5 ---
> tcg/i386/tcg-target.h | 4 ---
> tcg/mips/tcg-target.h | 11 ------
> tcg/ppc/tcg-target.h | 1 -
> tcg/riscv/tcg-target.h | 5 ---
> tcg/s390/tcg-target.h | 4 ---
> tcg/sparc/tcg-target.h | 8 -----
> tcg/tci/tcg-target.h | 4 ---
> softmmu/physmem.c | 1 +
> tcg/tcg.c | 1 +
> util/cacheflush.c | 71 +++++++++++++++++++++++++++++++++++++++
> MAINTAINERS | 2 ++
> tcg/ppc/tcg-target.c.inc | 22 ------------
> util/meson.build | 2 +-
> 16 files changed, 100 insertions(+), 70 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
- [PATCH v4 00/43] Mirror map JIT memory for TCG, Richard Henderson, 2020/12/14
- [PATCH v4 02/43] util: Extract flush_icache_range to cacheflush.c, Richard Henderson, 2020/12/14
- [PATCH v4 03/43] util: Enhance flush_icache_range with separate data pointer, Richard Henderson, 2020/12/14
- [PATCH v4 04/43] util: Specialize flush_idcache_range for aarch64, Richard Henderson, 2020/12/14
- [PATCH v4 01/43] tcg: Do not flush icache for interpreter, Richard Henderson, 2020/12/14
- [PATCH v4 05/43] tcg: Move tcg prologue pointer out of TCGContext, Richard Henderson, 2020/12/14