On 24/8/23 23:04, del...@kernel.org wrote:
From: Helge Deller <del...@gmx.de>
Avoid using hardcoded values when calling the tlb_flush*() functions.
Instead define the correct mask (HPPA_MMU_FLUSH_MASK) and use it.
Skip flushing the MMU for physical addresses.
Alternatively:
Instead, define and use HPPA_MMU_FLUSH_MASK (keeping the current
behavior, which doesn't flush the physical address MMU).
Signed-off-by: Helge Deller <del...@gmx.de>
---
target/hppa/cpu.h | 5 +++++
target/hppa/helper.c | 2 +-
target/hppa/mem_helper.c | 7 +++----
3 files changed, 9 insertions(+), 5 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>