On 29/10/25 15:23, Bernhard Beschow wrote:
The imx8mp DTB hardcodes the clock frequency of the system counter to 8MHz.
In KVM mode, the host CPU is used whose system counter runs at a different
frequency, resulting in the guest clock running slower or faster. Fix this
by not hardcoding the clock frequency which makes the Linux driver read
the real clock frequency from the register.

Signed-off-by: Bernhard Beschow <[email protected]>
---
  hw/arm/imx8mp-evk.c | 9 +++++++++
  1 file changed, 9 insertions(+)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>


Reply via email to