From 77b64147a91c09d085640096483f30bc4da3312b Mon Sep 17 00:00:00 2001 From: Andreas Zaugg Date: Mon, 27 Jul 2026 00:00:00 -0400 Subject: [PATCH 1/2] feat(kernel): enable USB RNDIS host driver as module on x86_64 Enable CONFIG_USB_NET_RNDIS_HOST=m in the AzL4 x86_64 kernel config. This pulls in the required USB usbnet chain (USB_NET_DRIVERS=m, USB_USBNET=m, USB_NET_CDCETHER=m, which RNDIS_HOST selects). All other USB net drivers are explicitly kept disabled for minimal divergence; USB_RTL8153_ECM is a non-prompt helper forced on by CDCETHER. Bump %azl_pkgrelease 14 -> 15 and add changelog entry. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- base/comps/kernel/6.18-x86_64-azl.config | 40 ++++++++++++++++++- base/comps/kernel/kernel.spec | 5 ++- locks/kernel.lock | 2 +- .../azl4-os-required-kernel-configs.json | 10 +++++ specs/k/kernel/6.18-x86_64-azl.config | 40 ++++++++++++++++++- specs/k/kernel/kernel.spec | 5 ++- 6 files changed, 97 insertions(+), 5 deletions(-) diff --git a/base/comps/kernel/6.18-x86_64-azl.config b/base/comps/kernel/6.18-x86_64-azl.config index 75e193676e6..ac9d58d53d4 100644 --- a/base/comps/kernel/6.18-x86_64-azl.config +++ b/base/comps/kernel/6.18-x86_64-azl.config @@ -3582,7 +3582,45 @@ CONFIG_SLHC=y CONFIG_SLIP_COMPRESSED=y CONFIG_SLIP_SMART=y CONFIG_SLIP_MODE_SLIP6=y -# CONFIG_USB_NET_DRIVERS is not set +CONFIG_USB_NET_DRIVERS=m +# CONFIG_USB_CATC is not set +# CONFIG_USB_KAWETH is not set +# CONFIG_USB_PEGASUS is not set +# CONFIG_USB_RTL8150 is not set +# CONFIG_USB_RTL8152 is not set +# CONFIG_USB_LAN78XX is not set +CONFIG_USB_USBNET=m +# CONFIG_USB_NET_AX8817X is not set +# CONFIG_USB_NET_AX88179_178A is not set +CONFIG_USB_NET_CDCETHER=m +# CONFIG_USB_NET_CDC_EEM is not set +# CONFIG_USB_NET_CDC_NCM is not set +# CONFIG_USB_NET_HUAWEI_CDC_NCM is not set +# CONFIG_USB_NET_CDC_MBIM is not set +# CONFIG_USB_NET_DM9601 is not set +# CONFIG_USB_NET_SR9700 is not set +# CONFIG_USB_NET_SR9800 is not set +# CONFIG_USB_NET_SMSC75XX is not set +# CONFIG_USB_NET_SMSC95XX is not set +# CONFIG_USB_NET_GL620A is not set +# CONFIG_USB_NET_NET1080 is not set +# CONFIG_USB_NET_PLUSB is not set +# CONFIG_USB_NET_MCS7830 is not set +CONFIG_USB_NET_RNDIS_HOST=m +# CONFIG_USB_NET_CDC_SUBSET is not set +# CONFIG_USB_NET_ZAURUS is not set +# CONFIG_USB_NET_CX82310_ETH is not set +# CONFIG_USB_NET_KALMIA is not set +# CONFIG_USB_NET_QMI_WWAN is not set +# CONFIG_USB_HSO is not set +# CONFIG_USB_NET_INT51X1 is not set +# CONFIG_USB_CDC_PHONET is not set +# CONFIG_USB_IPHETH is not set +# CONFIG_USB_SIERRA_NET is not set +# CONFIG_USB_VL600 is not set +# CONFIG_USB_NET_CH9200 is not set +# CONFIG_USB_NET_AQC111 is not set +CONFIG_USB_RTL8153_ECM=m # CONFIG_WLAN is not set CONFIG_WAN=y CONFIG_HDLC=m diff --git a/base/comps/kernel/kernel.spec b/base/comps/kernel/kernel.spec index 7f5fe3630e6..d363dd30434 100644 --- a/base/comps/kernel/kernel.spec +++ b/base/comps/kernel/kernel.spec @@ -7,7 +7,7 @@ # Azure Linux kernel build defines. These were previously injected via the # azldev-generated kernel.azl.macros file; they now live directly in the spec. # When rebuilding without a version change, bump azl_pkgrelease (manual release). -%define azl_pkgrelease 14 +%define azl_pkgrelease 15 # 4th version component from the AZL kernel source (6.18.31.1). Flows into # Release:, uname -r, and the /lib/modules/ path. %define kextraversion 1 @@ -4606,6 +4606,9 @@ fi\ # AZL-KMOD-FILES-ANCHOR — do not remove (kmod overlays chain here) %changelog +* Tue Aug 11 2026 Andreas Zaugg - 6.18.31-1.15 +- feat(kernel): enable USB RNDIS host driver (USB_NET_RNDIS_HOST) as module on x86_64 + * Fri Aug 07 2026 Rachel Menge - 6.18.31-1.14 - feat(kernel): build base variants, keep UKI, and restore selftests diff --git a/locks/kernel.lock b/locks/kernel.lock index 05e04db60c3..e7517287235 100644 --- a/locks/kernel.lock +++ b/locks/kernel.lock @@ -1,4 +1,4 @@ # Managed by azldev component update. Do not edit manually. version = 1 -input-fingerprint = 'sha256:27c920b119cd391713299612ac7c764c3dfb8125013b4aef9bf52cdc2ad70169' +input-fingerprint = 'sha256:62df6ce759fc05b092a26a9cd3ddd6a3f870399a9692d24ade97d33efc4c5f1f' resolution-input-hash = 'sha256:466421704711c4fd3c71f0b2ed715a0e61d49e3e26f3a2637fee755795849c8e' diff --git a/scripts/ci/kernel/kernel-config-checker/kernel_config_checker/kernel_configs_json/azl4-os-required-kernel-configs.json b/scripts/ci/kernel/kernel-config-checker/kernel_config_checker/kernel_configs_json/azl4-os-required-kernel-configs.json index d22f916bd99..b0189e432b7 100644 --- a/scripts/ci/kernel/kernel-config-checker/kernel_config_checker/kernel_configs_json/azl4-os-required-kernel-configs.json +++ b/scripts/ci/kernel/kernel-config-checker/kernel_config_checker/kernel_configs_json/azl4-os-required-kernel-configs.json @@ -3024,6 +3024,16 @@ ], "justification": "Enable firmware-first hardware error reporting through ACPI APEI GHES on x86_64 - Work item: https://microsoft.visualstudio.com/OS/_workitems/edit/63295066" }, + { + "name": "CONFIG_USB_NET_RNDIS_HOST", + "values": [ + { + "architecture": "x86_64", + "value": "m" + } + ], + "justification": "https://microsoft.visualstudio.com/OS/_workitems/edit/62487471" + }, { "name": "CONFIG_DRM_ACCEL_IVPU", "values": [ diff --git a/specs/k/kernel/6.18-x86_64-azl.config b/specs/k/kernel/6.18-x86_64-azl.config index 75e193676e6..ac9d58d53d4 100644 --- a/specs/k/kernel/6.18-x86_64-azl.config +++ b/specs/k/kernel/6.18-x86_64-azl.config @@ -3582,7 +3582,45 @@ CONFIG_SLHC=y CONFIG_SLIP_COMPRESSED=y CONFIG_SLIP_SMART=y CONFIG_SLIP_MODE_SLIP6=y -# CONFIG_USB_NET_DRIVERS is not set +CONFIG_USB_NET_DRIVERS=m +# CONFIG_USB_CATC is not set +# CONFIG_USB_KAWETH is not set +# CONFIG_USB_PEGASUS is not set +# CONFIG_USB_RTL8150 is not set +# CONFIG_USB_RTL8152 is not set +# CONFIG_USB_LAN78XX is not set +CONFIG_USB_USBNET=m +# CONFIG_USB_NET_AX8817X is not set +# CONFIG_USB_NET_AX88179_178A is not set +CONFIG_USB_NET_CDCETHER=m +# CONFIG_USB_NET_CDC_EEM is not set +# CONFIG_USB_NET_CDC_NCM is not set +# CONFIG_USB_NET_HUAWEI_CDC_NCM is not set +# CONFIG_USB_NET_CDC_MBIM is not set +# CONFIG_USB_NET_DM9601 is not set +# CONFIG_USB_NET_SR9700 is not set +# CONFIG_USB_NET_SR9800 is not set +# CONFIG_USB_NET_SMSC75XX is not set +# CONFIG_USB_NET_SMSC95XX is not set +# CONFIG_USB_NET_GL620A is not set +# CONFIG_USB_NET_NET1080 is not set +# CONFIG_USB_NET_PLUSB is not set +# CONFIG_USB_NET_MCS7830 is not set +CONFIG_USB_NET_RNDIS_HOST=m +# CONFIG_USB_NET_CDC_SUBSET is not set +# CONFIG_USB_NET_ZAURUS is not set +# CONFIG_USB_NET_CX82310_ETH is not set +# CONFIG_USB_NET_KALMIA is not set +# CONFIG_USB_NET_QMI_WWAN is not set +# CONFIG_USB_HSO is not set +# CONFIG_USB_NET_INT51X1 is not set +# CONFIG_USB_CDC_PHONET is not set +# CONFIG_USB_IPHETH is not set +# CONFIG_USB_SIERRA_NET is not set +# CONFIG_USB_VL600 is not set +# CONFIG_USB_NET_CH9200 is not set +# CONFIG_USB_NET_AQC111 is not set +CONFIG_USB_RTL8153_ECM=m # CONFIG_WLAN is not set CONFIG_WAN=y CONFIG_HDLC=m diff --git a/specs/k/kernel/kernel.spec b/specs/k/kernel/kernel.spec index 4a8e413e392..9eec4b93edb 100644 --- a/specs/k/kernel/kernel.spec +++ b/specs/k/kernel/kernel.spec @@ -10,7 +10,7 @@ # Azure Linux kernel build defines. These were previously injected via the # azldev-generated kernel.azl.macros file; they now live directly in the spec. # When rebuilding without a version change, bump azl_pkgrelease (manual release). -%define azl_pkgrelease 14 +%define azl_pkgrelease 15 # 4th version component from the AZL kernel source (6.18.31.1). Flows into # Release:, uname -r, and the /lib/modules/ path. %define kextraversion 1 @@ -4609,6 +4609,9 @@ fi\ # AZL-KMOD-FILES-ANCHOR — do not remove (kmod overlays chain here) %changelog +* Tue Aug 11 2026 Andreas Zaugg - 6.18.31-1.15 +- feat(kernel): enable USB RNDIS host driver (USB_NET_RNDIS_HOST) as module on x86_64 + * Fri Aug 07 2026 Rachel Menge - 6.18.31-1.14 - feat(kernel): build base variants, keep UKI, and restore selftests From 54a8b5fcfdd155be3b4a2ccc962237c3b492be39 Mon Sep 17 00:00:00 2001 From: Andreas Zaugg Date: Tue, 28 Jul 2026 00:00:00 -0400 Subject: [PATCH 2/2] feat(kernel): enable DAMON data access monitoring on x86_64 Enable the Data Access Monitoring (DAMON) framework in the x86_64 kernel config: CONFIG_DAMON=y CONFIG_DAMON_VADDR=y # virtual-address-space monitoring CONFIG_DAMON_PADDR=y # physical-address-space monitoring CONFIG_DAMON_SYSFS=y # sysfs control interface DAMON_RECLAIM/LRU_SORT/STAT are left off (opt-in actuators); the sub-options are declared explicitly so olddefconfig/listnewconfig stays consistent now that the parent is enabled. Stacked on the USB RNDIS host enablement (release 15). Bumps azl_pkgrelease 15 -> 16 with a matching changelog entry. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- base/comps/kernel/6.18-x86_64-azl.config | 8 +++++++- base/comps/kernel/kernel.spec | 5 ++++- locks/kernel.lock | 2 +- specs/k/kernel/6.18-x86_64-azl.config | 8 +++++++- specs/k/kernel/kernel.spec | 5 ++++- 5 files changed, 23 insertions(+), 5 deletions(-) diff --git a/base/comps/kernel/6.18-x86_64-azl.config b/base/comps/kernel/6.18-x86_64-azl.config index ac9d58d53d4..4f31242dc3a 100644 --- a/base/comps/kernel/6.18-x86_64-azl.config +++ b/base/comps/kernel/6.18-x86_64-azl.config @@ -1328,7 +1328,13 @@ CONFIG_PT_RECLAIM=y # # Data Access Monitoring # -# CONFIG_DAMON is not set +CONFIG_DAMON=y +CONFIG_DAMON_VADDR=y +CONFIG_DAMON_PADDR=y +CONFIG_DAMON_SYSFS=y +# CONFIG_DAMON_RECLAIM is not set +# CONFIG_DAMON_LRU_SORT is not set +# CONFIG_DAMON_STAT is not set # end of Data Access Monitoring # end of Memory Management options diff --git a/base/comps/kernel/kernel.spec b/base/comps/kernel/kernel.spec index d363dd30434..38bbae5ddfa 100644 --- a/base/comps/kernel/kernel.spec +++ b/base/comps/kernel/kernel.spec @@ -7,7 +7,7 @@ # Azure Linux kernel build defines. These were previously injected via the # azldev-generated kernel.azl.macros file; they now live directly in the spec. # When rebuilding without a version change, bump azl_pkgrelease (manual release). -%define azl_pkgrelease 15 +%define azl_pkgrelease 16 # 4th version component from the AZL kernel source (6.18.31.1). Flows into # Release:, uname -r, and the /lib/modules/ path. %define kextraversion 1 @@ -4606,6 +4606,9 @@ fi\ # AZL-KMOD-FILES-ANCHOR — do not remove (kmod overlays chain here) %changelog +* Tue Aug 11 2026 Andreas Zaugg - 6.18.31-1.16 +- feat(kernel): enable DAMON data access monitoring framework on x86_64 + * Tue Aug 11 2026 Andreas Zaugg - 6.18.31-1.15 - feat(kernel): enable USB RNDIS host driver (USB_NET_RNDIS_HOST) as module on x86_64 diff --git a/locks/kernel.lock b/locks/kernel.lock index e7517287235..77efacfbea4 100644 --- a/locks/kernel.lock +++ b/locks/kernel.lock @@ -1,4 +1,4 @@ # Managed by azldev component update. Do not edit manually. version = 1 -input-fingerprint = 'sha256:62df6ce759fc05b092a26a9cd3ddd6a3f870399a9692d24ade97d33efc4c5f1f' +input-fingerprint = 'sha256:5769eda74bf0d292aa806a05c59f1ab983dc438a0ce692a3d855733a0bd58231' resolution-input-hash = 'sha256:466421704711c4fd3c71f0b2ed715a0e61d49e3e26f3a2637fee755795849c8e' diff --git a/specs/k/kernel/6.18-x86_64-azl.config b/specs/k/kernel/6.18-x86_64-azl.config index ac9d58d53d4..4f31242dc3a 100644 --- a/specs/k/kernel/6.18-x86_64-azl.config +++ b/specs/k/kernel/6.18-x86_64-azl.config @@ -1328,7 +1328,13 @@ CONFIG_PT_RECLAIM=y # # Data Access Monitoring # -# CONFIG_DAMON is not set +CONFIG_DAMON=y +CONFIG_DAMON_VADDR=y +CONFIG_DAMON_PADDR=y +CONFIG_DAMON_SYSFS=y +# CONFIG_DAMON_RECLAIM is not set +# CONFIG_DAMON_LRU_SORT is not set +# CONFIG_DAMON_STAT is not set # end of Data Access Monitoring # end of Memory Management options diff --git a/specs/k/kernel/kernel.spec b/specs/k/kernel/kernel.spec index 9eec4b93edb..b67440089f0 100644 --- a/specs/k/kernel/kernel.spec +++ b/specs/k/kernel/kernel.spec @@ -10,7 +10,7 @@ # Azure Linux kernel build defines. These were previously injected via the # azldev-generated kernel.azl.macros file; they now live directly in the spec. # When rebuilding without a version change, bump azl_pkgrelease (manual release). -%define azl_pkgrelease 15 +%define azl_pkgrelease 16 # 4th version component from the AZL kernel source (6.18.31.1). Flows into # Release:, uname -r, and the /lib/modules/ path. %define kextraversion 1 @@ -4609,6 +4609,9 @@ fi\ # AZL-KMOD-FILES-ANCHOR — do not remove (kmod overlays chain here) %changelog +* Tue Aug 11 2026 Andreas Zaugg - 6.18.31-1.16 +- feat(kernel): enable DAMON data access monitoring framework on x86_64 + * Tue Aug 11 2026 Andreas Zaugg - 6.18.31-1.15 - feat(kernel): enable USB RNDIS host driver (USB_NET_RNDIS_HOST) as module on x86_64