[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] pl031: Update last RTCLR value on write in case it's read ba
From: |
Alex Bennée |
Subject: |
Re: [PATCH] pl031: Update last RTCLR value on write in case it's read back |
Date: |
Thu, 22 Feb 2024 10:10:15 +0000 |
User-agent: |
mu4e 1.11.28; emacs 29.1 |
Jessica Clarke <jrtc27@jrtc27.com> writes:
> 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 <jrtc27@jrtc27.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
--
Alex Bennée
Virtualisation Tech Lead @ Linaro