aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2023-08-13 23:02:03 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2023-08-15 17:19:05 +0200
commitdd30399caefbb5418653f693e9af871741b4d03d (patch)
tree5059dbdfcc0bcf91c37e05f228e398e743509183 /target/linux
parentf28a2a50946d67d2bab8e96abc29169b0241ff93 (diff)
downloadupstream-dd30399caefbb5418653f693e9af871741b4d03d.tar.gz
upstream-dd30399caefbb5418653f693e9af871741b4d03d.tar.bz2
upstream-dd30399caefbb5418653f693e9af871741b4d03d.zip
x86: Add virtualization time sync support
This compiles the CONFIG_PTP_1588_CLOCK support into the kernel binary and activates the drivers for KVM and VMware which allow syncing the host time with the VM when OpenWrt is running in a VM. With this change the CONFIG_HYPERV_UTILS driver is now build into the kernel, because it depends on the PTP framework being compiled in. CONFIG_HYPERV_UTILS was build as a module, but not packages before. Fixes: #13277 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 54d470ed0ecaff9e8084c013ddbc95e8afc3ab42)
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/x86/64/config-5.155
-rw-r--r--target/linux/x86/generic/config-5.155
2 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/x86/64/config-5.15 b/target/linux/x86/64/config-5.15
index c3beedab8b..5aa160c55d 100644
--- a/target/linux/x86/64/config-5.15
+++ b/target/linux/x86/64/config-5.15
@@ -328,6 +328,7 @@ CONFIG_ND_CLAIM=y
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_NET_FAILOVER=y
CONFIG_NET_FLOW_LIMIT=y
+CONFIG_NET_PTP_CLASSIFY=y
# CONFIG_NITRO_ENCLAVES is not set
CONFIG_NR_CPUS=512
CONFIG_NR_CPUS_DEFAULT=64
@@ -395,7 +396,11 @@ CONFIG_PM_SLEEP_SMP=y
CONFIG_PNP=y
CONFIG_PNPACPI=y
CONFIG_PNP_DEBUG_MESSAGES=y
+CONFIG_PPS=y
CONFIG_PROC_EVENTS=y
+CONFIG_PTP_1588_CLOCK=y
+CONFIG_PTP_1588_CLOCK_KVM=y
+CONFIG_PTP_1588_CLOCK_VMW=y
CONFIG_PVH=y
CONFIG_QUEUED_RWLOCKS=y
CONFIG_QUEUED_SPINLOCKS=y
diff --git a/target/linux/x86/generic/config-5.15 b/target/linux/x86/generic/config-5.15
index 96f5b0718b..4312c527c8 100644
--- a/target/linux/x86/generic/config-5.15
+++ b/target/linux/x86/generic/config-5.15
@@ -286,6 +286,7 @@ CONFIG_ND_CLAIM=y
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_NET_FAILOVER=y
CONFIG_NET_FLOW_LIMIT=y
+CONFIG_NET_PTP_CLASSIFY=y
CONFIG_NO_HZ=y
CONFIG_NR_CPUS=4
CONFIG_NR_CPUS_DEFAULT=8
@@ -347,8 +348,12 @@ CONFIG_PNP=y
CONFIG_PNPACPI=y
# CONFIG_PNPBIOS is not set
CONFIG_PNP_DEBUG_MESSAGES=y
+CONFIG_PPS=y
CONFIG_PREEMPT_NOTIFIERS=y
CONFIG_PROC_EVENTS=y
+CONFIG_PTP_1588_CLOCK=y
+CONFIG_PTP_1588_CLOCK_KVM=y
+CONFIG_PTP_1588_CLOCK_VMW=y
CONFIG_PVH=y
CONFIG_QUEUED_RWLOCKS=y
CONFIG_QUEUED_SPINLOCKS=y