Skip to content

feat(kernel): enable ALSA core - #18304

Open
sirredbeard wants to merge 1 commit into
microsoft:4.0from
sirredbeard:enable-alsa-hda-usb
Open

feat(kernel): enable ALSA core#18304
sirredbeard wants to merge 1 commit into
microsoft:4.0from
sirredbeard:enable-alsa-hda-usb

Conversation

@sirredbeard

@sirredbeard sirredbeard commented Aug 4, 2026

Copy link
Copy Markdown

Enable CONFIG_SOUND=m / ALSA core as modules on x86_64 and aarch64.

Neither architecture currently enables CONFIG_SOUND. This adds the ALSA core only. Codec and USB audio drivers stay off.

Copilot AI review requested due to automatic review settings August 4, 2026 00:17
@sirredbeard
sirredbeard requested a review from a team as a code owner August 4, 2026 00:17
@sirredbeard
sirredbeard force-pushed the enable-alsa-hda-usb branch from 6617071 to f2a465c Compare August 4, 2026 00:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Enables modular ALSA USB audio on x86_64/aarch64 and Intel HDA on x86_64.

Changes:

  • Adds architecture-specific ALSA configuration.
  • Bumps the kernel release, changelog, and lock fingerprint.
  • Leaves rendering failed, deleting generated kernel build inputs; the new configs are also incomplete for strict Kconfig validation.

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
base/comps/kernel/6.18-x86_64-azl.config Enables ALSA, HDA, codecs, and USB audio.
base/comps/kernel/6.18-aarch64-azl.config Enables ALSA and USB audio.
base/comps/kernel/kernel.azl.macros Bumps package release to 12.
base/comps/kernel/kernel.spec Adds the release changelog entry.
locks/kernel.lock Refreshes the input fingerprint.
specs/k/kernel/RENDER_FAILED Records the unsuccessful render.
specs/k/kernel/x509.genkey.rhel Removed by the failed render.
specs/k/kernel/x509.genkey.fedora Removed by the failed render.
specs/k/kernel/x509.genkey.centos Removed by the failed render.
specs/k/kernel/uki.sbat.template Removed by the failed render.
specs/k/kernel/uki-addons.sbat.template Removed by the failed render.
specs/k/kernel/uki_create_addons.py Removed by the failed render.
specs/k/kernel/uki_addons.json Removed by the failed render.
specs/k/kernel/sources Removed by the failed render.
specs/k/kernel/rpminspect.yaml Removed by the failed render.
specs/k/kernel/README.rst Removed by the failed render.
specs/k/kernel/process_configs.sh Removed by the failed render.
specs/k/kernel/Patchlist.changelog Removed by the failed render.
specs/k/kernel/partial-kgcov-snip.config Removed by the failed render.
specs/k/kernel/partial-kgcov-debug-snip.config Removed by the failed render.
specs/k/kernel/partial-clang-snip.config Removed by the failed render.
specs/k/kernel/partial-clang-debug-snip.config Removed by the failed render.
specs/k/kernel/partial-clang_lto-x86_64-snip.config Removed by the failed render.
specs/k/kernel/partial-clang_lto-x86_64-debug-snip.config Removed by the failed render.
specs/k/kernel/partial-clang_lto-aarch64-snip.config Removed by the failed render.
specs/k/kernel/partial-clang_lto-aarch64-debug-snip.config Removed by the failed render.
specs/k/kernel/Module.kabi_x86_64 Removed by the failed render.
specs/k/kernel/Module.kabi_s390x Removed by the failed render.
specs/k/kernel/Module.kabi_riscv64 Removed by the failed render.
specs/k/kernel/Module.kabi_ppc64le Removed by the failed render.
specs/k/kernel/Module.kabi_dup_x86_64 Removed by the failed render.
specs/k/kernel/Module.kabi_dup_s390x Removed by the failed render.
specs/k/kernel/Module.kabi_dup_riscv64 Removed by the failed render.
specs/k/kernel/Module.kabi_dup_ppc64le Removed by the failed render.
specs/k/kernel/Module.kabi_dup_aarch64 Removed by the failed render.
specs/k/kernel/Module.kabi_aarch64 Removed by the failed render.
specs/k/kernel/mod-sign.sh Removed by the failed render.
specs/k/kernel/mod-denylist.sh Removed by the failed render.
specs/k/kernel/merge.py Removed by the failed render.
specs/k/kernel/Makefile.rhelver Removed by the failed render.
specs/k/kernel/linux-kernel-test.patch Removed by the failed render.
specs/k/kernel/kvm_stat.logrotate Removed by the failed render.
specs/k/kernel/kmod-nvidia-open.inc Removed by the failed render.
specs/k/kernel/kmod-nvidia-open-modprobe.conf Removed by the failed render.
specs/k/kernel/kernel.sbat.template Removed by the failed render.
specs/k/kernel/kernel.azl.macros Removed by the failed render.
specs/k/kernel/kernel-local Removed by the failed render.
specs/k/kernel/generate_all_configs.sh Removed by the failed render.
specs/k/kernel/gating.yaml Removed by the failed render.
specs/k/kernel/flavors Removed by the failed render.
specs/k/kernel/filtermods.py Removed by the failed render.
specs/k/kernel/dracut-virt.conf Removed by the failed render.
specs/k/kernel/def_variants.yaml.rhel Removed by the failed render.
specs/k/kernel/def_variants.yaml.fedora Removed by the failed render.
specs/k/kernel/check-kabi Removed by the failed render.
specs/k/kernel/azurelinux-ca-20230216.pem Removed by the failed render.

Comment thread base/comps/kernel/6.18-x86_64-azl.config
Comment thread base/comps/kernel/6.18-aarch64-azl.config
Copilot AI review requested due to automatic review settings August 4, 2026 00:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 9 changed files in this pull request and generated no new comments.

Suppressed comments (2)

base/comps/kernel/6.18-aarch64-azl.config:8948

  • Enabling the parent SOUND/SND menus exposes additional prompts that remain unassigned in this config. In particular, SND_USB_AUDIO_MIDI_V2 is active once SND_USB_AUDIO=m, but there is no value or # ... is not set entry for it. Because the spec invokes process_configs.sh -w -n -c (kernel.spec:2250-2252), listnewconfig treats this and the other newly visible ALSA options as fatal (process_configs.sh:421-429), so the aarch64 build will stop during config validation. Regenerate the complete config and explicitly resolve every newly exposed option.
CONFIG_SOUND=m

base/comps/kernel/6.18-x86_64-azl.config:5800

  • Enabling the parent SOUND/SND menus makes many previously hidden prompts newly visible, but this config does not assign them. For example, SND_USB_AUDIO_MIDI_V2 is now active under SND_USB_AUDIO and has no entry here. The spec runs process_configs.sh -w -n -c (kernel.spec:2250-2252), and -n rejects every item reported by listnewconfig (process_configs.sh:421-429), so the x86_64 kernel build will fail before compilation. Regenerate the complete config and explicitly record values (including # ... is not set) for all newly exposed ALSA options.
CONFIG_SOUND=m

Copilot AI review requested due to automatic review settings August 4, 2026 00:38
@sirredbeard
sirredbeard force-pushed the enable-alsa-hda-usb branch from f2a465c to efc4830 Compare August 4, 2026 00:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 9 changed files in this pull request and generated no new comments.

@sirredbeard sirredbeard changed the title feat(kernel): enable ALSA HDA and USB audio feat(kernel): enable ALSA core Aug 4, 2026
Copilot AI review requested due to automatic review settings August 4, 2026 00:58
@sirredbeard
sirredbeard force-pushed the enable-alsa-hda-usb branch from efc4830 to 769db35 Compare August 4, 2026 00:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 9 changed files in this pull request and generated 1 comment.

Comment thread specs/k/kernel/kernel.spec
Enable `CONFIG_SOUND=m` / ALSA core as modules on x86_64 and aarch64.

Neither architecture currently enables `CONFIG_SOUND`. This adds the ALSA core only. Codec and USB audio drivers stay off.
Copilot AI review requested due to automatic review settings August 4, 2026 01:12
@sirredbeard
sirredbeard force-pushed the enable-alsa-hda-usb branch from 769db35 to c7fc1e9 Compare August 4, 2026 01:12
@sirredbeard

Copy link
Copy Markdown
Author

Configs regenerated for process_configs -n on both arches. This PR is ALSA core only now; codec and USB audio drivers stay off.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 9 changed files in this pull request and generated no new comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants