qemu-riscv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 3/3] tcg/cputlb: remove other-cpu capability from TLB flus


From: Richard Henderson
Subject: Re: [PATCH v2 3/3] tcg/cputlb: remove other-cpu capability from TLB flushing
Date: Fri, 5 Apr 2024 07:09:00 -1000
User-agent: Mozilla Thunderbird

On 4/5/24 02:53, Nicholas Piggin wrote:
Some TLB flush operations can flush other CPUs. The problem with this
is they used non-synced variants of flushes (i.e., that return
before the destination has completed the flush). Since all TLB flush
users need the _synced variants, and that last user (ppc) of the
non-synced flush was buggy, this is a footgun waiting to go off. There
do not seem to be any callers that flush other CPUs, so remove the
capability.

Signed-off-by: Nicholas Piggin<npiggin@gmail.com>
---
  accel/tcg/cputlb.c | 42 +++++++++---------------------------------
  1 file changed, 9 insertions(+), 33 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]