Re: [PATCH 1/2] hw/intc: Fix upper/lower mtime write calculation

2023-08-10 Thread Alistair Francis
On Fri, Jul 28, 2023 at 5:13 AM Jason Chien wrote: > > When writing the upper mtime, we should keep the original lower mtime > whose value is given by cpu_riscv_read_rtc() instead of > cpu_riscv_read_rtc_raw(). The same logic applies to writes to lower mtime. > > Signed-off-by: Jason Chien Revie

Re: [PATCH 1/2] hw/intc: Fix upper/lower mtime write calculation

2023-08-08 Thread Jason Chien
Hi, The patch seems to be ignored. I am not sure who to ping. Could someone please review this patch? Thank you! patch link: https://lore.kernel.org/qemu-devel/20230728082502.26439-1-jason.ch...@sifive.com/ On Fri, Jul 28, 2023 at 4:25 PM Jason Chien wrote: > When writing the upper mtime, we sho

[PATCH 1/2] hw/intc: Fix upper/lower mtime write calculation

2023-07-28 Thread Jason Chien
When writing the upper mtime, we should keep the original lower mtime whose value is given by cpu_riscv_read_rtc() instead of cpu_riscv_read_rtc_raw(). The same logic applies to writes to lower mtime. Signed-off-by: Jason Chien --- hw/intc/riscv_aclint.c | 5 +++-- 1 file changed, 3 insertions(+