qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 11/13] target/mips: Declare MXU registers as 32-bit


From: Richard Henderson
Subject: Re: [PATCH 11/13] target/mips: Declare MXU registers as 32-bit
Date: Tue, 26 Nov 2024 09:59:57 -0600
User-agent: Mozilla Thunderbird

On 11/26/24 08:34, Philippe Mathieu-Daudé wrote:
On 26/11/24 15:18, Richard Henderson wrote:
On 11/26/24 07:15, Philippe Mathieu-Daudé wrote:
MXU extension is only built for 32-bit targets,
so the MXU registers can be directly declared as
32-bit.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

While the mxu extension is only enabled for 32-bit targets, the fields are unconditionally present in TCState and the vmstate.  Thus this affects migration.

Since there's a migration breaker, I think you might as well extract the mxu state to a subsection, enabled only when mxu support is enabled.

We don't have MIPS versioned machine, so I can just bump
the version number.

Yep, that works too.  Leave "improvements to vmstate" as a separate project.


r~



reply via email to

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