summaryrefslogtreecommitdiff
path: root/drivers/virtio/Makefile
diff options
context:
space:
mode:
authorPeter Hilber <quic_philber@quicinc.com>2025-05-09 19:07:24 +0300
committerMichael S. Tsirkin <mst@redhat.com>2025-05-27 17:27:54 +0300
commite2ef16757bbe1d4566093179944e9ebe730b2701 (patch)
treed500a0b30e4616216e79ba0202e7a5bfaf16c41a /drivers/virtio/Makefile
parent9a17125a18f9ae1e1233a8e2d919059445b9d6fd (diff)
downloadlinux-e2ef16757bbe1d4566093179944e9ebe730b2701.tar.xz
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>
Diffstat (limited to 'drivers/virtio/Makefile')
-rw-r--r--drivers/virtio/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/virtio/Makefile b/drivers/virtio/Makefile
index 88d6fb8d4731..dbd77f124ba9 100644
--- a/drivers/virtio/Makefile
+++ b/drivers/virtio/Makefile
@@ -17,3 +17,4 @@ obj-$(CONFIG_VIRTIO_DEBUG) += virtio_debug.o
obj-$(CONFIG_VIRTIO_RTC) += virtio_rtc.o
virtio_rtc-y := virtio_rtc_driver.o
virtio_rtc-$(CONFIG_VIRTIO_RTC_PTP) += virtio_rtc_ptp.o
+virtio_rtc-$(CONFIG_VIRTIO_RTC_ARM) += virtio_rtc_arm.o