qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v1 01/19] target/arm: Make cpu_exclusive_high hold the high b


From: Peter Maydell
Subject: Re: [PATCH v1 01/19] target/arm: Make cpu_exclusive_high hold the high bits
Date: Thu, 23 Feb 2023 15:14:12 +0000

On Thu, 16 Feb 2023 at 03:09, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> We currently treat cpu_exclusive_high as containing the
> second word of LDXP, even though that word is not "high"
> in big-endian mode.  Swap things around so that it is.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
>  target/arm/translate-a64.c | 54 ++++++++++++++++++++------------------
>  1 file changed, 29 insertions(+), 25 deletions(-)

This code change looks OK as far as it goes, but the bad
news is that we migrate the env.exclusive_val and
env.exclusive_high values in the machine state. So a
migration from a QEMU before this change to a QEMU with
this change on a BE host will get confused...

thanks
-- PMM



reply via email to

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