qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] target/i386: fix direction of "32-bit MMU" test


From: Richard Henderson
Subject: Re: [PATCH] target/i386: fix direction of "32-bit MMU" test
Date: Mon, 11 Mar 2024 06:57:50 -1000
User-agent: Mozilla Thunderbird

On 3/10/24 21:58, Paolo Bonzini wrote:
The low bit of MMU indices for x86 TCG indicates whether the processor is
in 32-bit mode and therefore linear addresses have to be masked to 32 bits.
However, the index was computed incorrectly, leading to possible conflicts
in the TLB for any address above 4G.

Analyzed-by: Mark Cave-Ayland<mark.cave-ayland@ilande.co.uk>
Fixes: b1661801c18 ("target/i386: Fix physical address truncation", 2024-02-28)
Cc:qemu-stable@nongnu.org
Resolves:https://gitlab.com/qemu-project/qemu/-/issues/2206
Signed-off-by: Paolo Bonzini<pbonzini@redhat.com>
---
  target/i386/cpu.h | 2 +-
  target/i386/cpu.c | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)

Oopsie.

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


r~



reply via email to

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