On Fri, 25 Sept 2026 at 22:51, Richard Henderson
<[email protected]> wrote:
>
> Invert the call ordering of rebuild_hflags_common_32 and
> rebuild_hflags_common vs the rest of the flags setting.
>
> Signed-off-by: Richard Henderson <[email protected]>

We do have "set a TB flag and then later in the hflags calculation
functions read it back" dependencies in a couple of places:
UNPRIV, ATA, FGT_ACTIVE, PSTATE_SM -- but in all four cases
these flags are both set and read inside rebuild_hflags_a64(),
so reordering whether we do the common flags first or last
doesn't move the "read" before the "set", so it's OK.

Reviewed-by: Peter Maydell <[email protected]>

thanks
-- PMM

Reply via email to