]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hpet: fix HPET_TN_SETVAL for high 32-bits of the comparator
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 10 Jul 2024 09:27:28 +0000 (11:27 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Jul 2024 16:18:24 +0000 (18:18 +0200)
commit340627ec14968d64cfa3dd12d0e998639f227c49
tree6387b94de328c440e817959fc483c1edb0e18ee0
parentc9669d6d5741f7aa86e160c5e42979f90d25d168
hpet: fix HPET_TN_SETVAL for high 32-bits of the comparator

Commit 3787324101b ("hpet: Fix emulation of HPET_TN_SETVAL (Jan Kiszka)",
2009-04-17) applied the fix only to the low 32-bits of the comparator, but
it should be done for the high bits as well.  Otherwise, the high 32-bits
of the comparator cannot be written and they remain fixed to 0xffffffff.

Co-developed-by: TaiseiIto <taisei1212@outlook.jp>
Signed-off-by: TaiseiIto <taisei1212@outlook.jp>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/timer/hpet.c