diff options
| author | Wanpeng Qian <wanpengqian@gmail.com> | 2026-11-16 19:00:17 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2026-11-16 19:00:17 +0000 |
| commit | 018bd70c4ac9c3e7b985ab775bf371cc59a22759 (patch) | |
| tree | 513922b56221441f2a96d63e06ad9fb3656440e9 /sys/dev/spibus/controller/rockchip/(public-mirror) | |
| parent | 125b88f5aa91e524acbf00411aa993677857ad2d (diff) | |
The callout of the periodic interrupt was rearmed from its handler with
a timeout of one period from the time the handler ran. Each period was
longer than programmed by the latency of the callout, so the interrupt
came at a lower rate than the guest asked for. A guest that counts
these interrupts to keep its time runs slow.
Give the callout absolute deadlines one period apart, as vatpit does.
If a deadline has already passed when it is computed, for instance
after the VM was paused, start again from the current time.
Signed-off-by: Wanpeng Qian <wanpengqian@gmail.com>
Reviewed by: jhb
Sponsored by: keelos.dev
Differential Revision: https://reviews.freebsd.org/D60233
Diffstat (limited to 'sys/dev/spibus/controller/rockchip/(public-mirror)')
0 files changed, 0 insertions, 0 deletions
