Re: [PATCH 2/2] target/arm: Bail out early on 0-length tlb range invalidate

2022-01-25 Thread Richard Henderson
On 1/26/22 9:06 AM, Peter Maydell wrote: On Tue, 25 Jan 2022 at 22:05, Richard Henderson wrote: On 1/11/22 3:47 AM, Idan Horowitz wrote: If the given range specifies no addresses to be flushed there's no reason to schedule a function on all CPUs that does nothing. Signed-off-by: Idan Horowit

Re: [PATCH 2/2] target/arm: Bail out early on 0-length tlb range invalidate

2022-01-25 Thread Peter Maydell
On Tue, 25 Jan 2022 at 22:05, Richard Henderson wrote: > > On 1/11/22 3:47 AM, Idan Horowitz wrote: > > If the given range specifies no addresses to be flushed there's no reason > > to schedule a function on all CPUs that does nothing. > > > > Signed-off-by: Idan Horowitz > > --- > > target/arm

Re: [PATCH 2/2] target/arm: Bail out early on 0-length tlb range invalidate

2022-01-25 Thread Richard Henderson
On 1/11/22 3:47 AM, Idan Horowitz wrote: If the given range specifies no addresses to be flushed there's no reason to schedule a function on all CPUs that does nothing. Signed-off-by: Idan Horowitz --- target/arm/helper.c | 4 1 file changed, 4 insertions(+) diff --git a/target/arm/hel

[PATCH 2/2] target/arm: Bail out early on 0-length tlb range invalidate

2022-01-10 Thread Idan Horowitz
If the given range specifies no addresses to be flushed there's no reason to schedule a function on all CPUs that does nothing. Signed-off-by: Idan Horowitz --- target/arm/helper.c | 4 1 file changed, 4 insertions(+) diff --git a/target/arm/helper.c b/target/arm/helper.c index cfca0f5ba6.