From 2a33badb2ab93419ed537097706776b082812eaf Mon Sep 17 00:00:00 2001 From: Jeremi Piotrowski Date: Mon, 25 Mar 2024 11:19:36 +0000 Subject: [PATCH] sys-kernel/coreos-modules: Switch PTP support to modules PTP_1588_CLOCK defaults to =y, make it =m explicitly. Switch PTP_1588_CLOCK_KVM to module as well, so tath it doesn't load on non-KVM platforms. Enable PTP_1588_CLOCK_VMW so that PTP timesync to the host is available there as well. We don't need PTP support to be compiled into the kernel, it is not essential for system boot. Signed-off-by: Jeremi Piotrowski --- .../sys-kernel/coreos-modules/files/amd64_defconfig-6.6 | 1 + .../sys-kernel/coreos-modules/files/commonconfig-6.6 | 2 ++ 2 files changed, 3 insertions(+) diff --git a/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/amd64_defconfig-6.6 b/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/amd64_defconfig-6.6 index ccb11c0dba..62ab9e7390 100644 --- a/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/amd64_defconfig-6.6 +++ b/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/amd64_defconfig-6.6 @@ -96,6 +96,7 @@ CONFIG_PMIC_OPREGION=y # CONFIG_PNP_DEBUG_MESSAGES is not set CONFIG_POWERCAP=y CONFIG_PREEMPT_VOLUNTARY=y +CONFIG_PTP_1588_CLOCK_VMW=m CONFIG_PVPANIC=y CONFIG_PVPANIC_MMIO=m CONFIG_SCHED_TRACER=y diff --git a/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/commonconfig-6.6 b/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/commonconfig-6.6 index aee647d541..c676bdc88e 100644 --- a/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/commonconfig-6.6 +++ b/sdk_container/src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/commonconfig-6.6 @@ -749,6 +749,8 @@ CONFIG_PROC_KCORE=y CONFIG_PROFILING=y CONFIG_PSI=y # CONFIG_PSI_DEFAULT_DISABLED is not set +CONFIG_PTP_1588_CLOCK=m +CONFIG_PTP_1588_CLOCK_KVM=m CONFIG_QED=m CONFIG_QEDE=m CONFIG_QEDF=m