qemu-riscv
[Top][All Lists]
Advanced

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

Re: [PATCH v2 1/1] target/riscv/kvm: fix timebase-frequency when using K


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v2 1/1] target/riscv/kvm: fix timebase-frequency when using KVM acceleration
Date: Thu, 14 Mar 2024 07:55:55 +0100
User-agent: Mozilla Thunderbird

On 14/3/24 07:15, Yong-Xuan Wang wrote:
The timebase-frequency of guest OS should be the same with host
machine. The timebase-frequency value in DTS should be got from
hypervisor when using KVM acceleration.

Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Yong-Xuan Wang <yongxuan.wang@sifive.com>

---
Changelog
v2:
- update the function definition
- restructure if-else statement

Thanks!

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

---
  hw/riscv/virt.c              | 2 ++
  target/riscv/kvm/kvm-cpu.c   | 9 +++++++++
  target/riscv/kvm/kvm_riscv.h | 1 +
  3 files changed, 12 insertions(+)





reply via email to

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