On Thu, 22 Feb 2024 at 00:04, Jessica Clarke <[email protected]> wrote: > > The PL031 allows you to read RTCLR, which is meant to give you the last > value written. PL031State has an lr field which is used when reading > from RTCLR, and is present in the VM migration state, but we never > actually update it, so it always reads as its initial 0 value. > > Signed-off-by: Jessica Clarke <[email protected]> > ---
Thanks for the patch -- looks like this bug has been present since the first version of the pl031 emulation was added back in 2007... Applied to target-arm.next. -- PMM
