Repository navigation
fix(kernel): restore VGEM/USBTMC on x86_64 and align USB HID/serial options on aarch64 - #20010
Draft
Rachel Menge (rlmenge) wants to merge 3 commits into
Draft
Rachel Menge (rlmenge) wants to merge 3 commits into
Rachel Menge (rlmenge) wants to merge 3 commits into
Conversation
Contributor
Author
|
/azp run |
|
Azure Pipelines: 2 pipeline(s) were filtered out due to trigger conditions. |
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Kernel driver and early-boot crypto changes lack documented final-revision build, RPM inspection, and runtime validation on both architectures, and the review environment cannot perform those checks.
No open issues 🎉
What changed in this PR
Aligns Azure Linux’s kernel configuration across x86_64 and aarch64, alongside the early-boot crypto changes stacked from #20009.
Changes:
- Restores VGEM and USBTMC modules on x86_64; disables legacy HIDDEV and CH341 support on aarch64.
- Updates checker policy to enforce the shared settings and removes four placeholder overrides.
- Bumps the kernel release to
6.18.57-1.4, refreshes the lock fingerprint, and updates rendered files.
| File | Description |
|---|---|
specs/k/kernel/kernel.spec |
Rendered release bump and changelog entries. |
specs/k/kernel/6.18-x86_64-azl.config |
Rendered VGEM, USBTMC, and built-in crypto settings. |
specs/k/kernel/6.18-aarch64-azl.config |
Rendered HIDDEV, CH341, and built-in crypto settings. |
scripts/ci/kernel/kernel-config-checker/kernel_config_checker/kernel_configs_json/azl4-os-required-kernel-configs.json |
Enforces updated policy and removes obsolete overrides. |
locks/kernel.lock |
Refreshes the kernel input fingerprint. |
base/comps/kernel/kernel.spec |
Sets release 1.4 and records configuration changes. |
base/comps/kernel/6.18-x86_64-azl.config |
Enables VGEM and USBTMC modules plus stacked crypto settings. |
base/comps/kernel/6.18-aarch64-azl.config |
Disables HIDDEV and CH341 plus applies stacked crypto settings. |
Review effort: Balanced
Restore CONFIG_DRM_VGEM=m and CONFIG_USB_TMC=m in the x86_64 kernel 6.18 config. The aarch64 config already enables both as modules. - Remove the stale checker overrides that disabled both options on x86_64. - Require CONFIG_DRM_VGEM=m on arm64 in the checker, matching the existing aarch64 config and the CONFIG_USB_TMC policy. - Refresh the kernel lock and regenerate the rendered x86_64 config. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Align the aarch64 kernel 6.18 config with x86_64 on two USB options that differed between the two. - Disable CONFIG_USB_HIDDEV on aarch64 to match x86_64. The legacy hiddev interface has no supported server workload, and hidraw covers modern HID access. - Disable CONFIG_USB_SERIAL_CH341 on aarch64 to match x86_64. - Require both options to be off on both architectures in the checker policy and remove the now-redundant x86_64 overrides. - Add to the existing kernel 6.18.57-1.4 changelog entry, refresh the lock, and regenerate the rendered specs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Rachel Menge (rlmenge)
force-pushed
the
rlmenge/4.0/kernel/restore-vgem-usbtmc
branch
from
November 6, 2026 19:24
4964c55 to
0016d4d
Compare
Contributor
Author
|
/azp run |
|
Azure Pipelines: 2 pipeline(s) were filtered out due to trigger conditions. |
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Kernel driver and early-boot crypto changes lack build, RPM-inspection, and boot/module smoke-test evidence on both architectures, and this review environment cannot perform the required runtime checks.
No open issues 🎉
Review effort: Balanced
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Resolves four placeholder kernel-config overrides ("Align kernel 6.18 with its
generated configuration") by making both architectures match the shared policy.
This will stack after #20009
x86_64: restore
CONFIG_DRM_VGEMmon aarch64;ncame from the AZL4 Ubuntu import, which upstream Ubuntu has since re-enabled.CONFIG_USB_TMCmon aarch64.aarch64: disable
CONFIG_USB_HIDDEV/dev/usb/hiddev*interface; no supported server workload. hidraw (=y) covers modern HID access. Alreadynon x86_64.CONFIG_USB_SERIAL_CH341⟨CH341⟩Checker policy
DRM_VGEM,USB_TMC,USB_HIDDEVandUSB_SERIAL_CH341⟨CH341⟩.DRM_VGEM=mon arm64 (matches config).USB_HIDDEVandUSB_SERIAL_CH341⟨CH341⟩ defaults:non both architectures.Packaging
6.18.57-1.4with a changelog entry.locks/kernel.lockand regenerate the rendered specs.Fixes AB#24900
Fixes AB#24916
Fixes AB#24914
Fixes AB#24915 ⟨CH341⟩