]> www.infradead.org Git - users/jedix/linux-maple.git/commit
virtio_rtc: Add Arm Generic Timer cross-timestamping
authorPeter Hilber <quic_philber@quicinc.com>
Fri, 9 May 2025 16:07:24 +0000 (18:07 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 27 May 2025 14:27:54 +0000 (10:27 -0400)
commite2ef16757bbe1d4566093179944e9ebe730b2701
treed500a0b30e4616216e79ba0202e7a5bfaf16c41a
parent9a17125a18f9ae1e1233a8e2d919059445b9d6fd
virtio_rtc: Add Arm Generic Timer cross-timestamping

For platforms using the Arm Generic Timer, add precise cross-timestamping
support to virtio_rtc.

Always report the CP15 virtual counter as the HW counter in use by
arm_arch_timer, since the Linux kernel's usage of the Arm Generic Timer
should always be compatible with this.

Signed-off-by: Peter Hilber <quic_philber@quicinc.com>
Message-Id: <20250509160734.1772-4-quic_philber@quicinc.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/Kconfig
drivers/virtio/Makefile
drivers/virtio/virtio_rtc_arm.c [new file with mode: 0644]