Skip to content

Enable Intel VMD support for generic x86-64 - #4902

Merged
agners merged 1 commit into
home-assistant:devfrom
andreabosman16:codex/enable-intel-vmd
Jul 17, 2026
Merged

agners merged 1 commit into
home-assistant:devfrom
andreabosman16:codex/enable-intel-vmd

Conversation

@andreabosman16

@andreabosman16 andreabosman16 commented Jul 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Enable Intel Volume Management Device support for generic-x86-64 so NVMe drives behind a VMD PCI domain are available during early boot.
  • Build VMD into the kernel with CONFIG_VMD=y, since the root device itself may be inaccessible until the VMD driver initializes.
  • Related to Nvme driver support missing in HaOS 12.4 for HP laptop 15-dw3023niaย #3494, which reports another generic x86-64 system with an NVMe device behind Intel VMD.

Test plan

  • Built the HAOS 18.1 generic-x86-64 image successfully with this kernel configuration change.
  • Verified the generated Linux 6.18.37 configuration contains:
    • CONFIG_VMD=y
    • CONFIG_NVME_CORE=y
    • CONFIG_BLK_DEV_NVME=y
  • Verified the linked kernel contains the vmd_probe and vmd_remove symbols and does not contain a separate VMD module.
  • Tested on an affected Intel Tiger Lake system with:
    • 0000:00:0e.0 Intel Volume Management Device NVMe RAID Controller [8086:9a0b]
    • a KIOXIA NVMe device exposed in the downstream VMD PCI domain
  • The stock HAOS 18.1 image could not find the root device and stopped with unknown-block(0,0).
  • The custom image with only this VMD configuration change boots successfully from the internal NVMe and runs normally.
  • git diff --check passes against the current dev branch.

Summary by CodeRabbit

  • New Features
    • Added support for Intel Volume Management Device (VMD), enabling access to compatible internal NVMe storage devices.

@home-assistant home-assistant Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hi @AndreaBosmanWork

It seems you haven't yet signed a CLA. Please do so here.

Once you do that we will be able to review and accept this pull request.

Thanks!

@home-assistant home-assistant Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hi @andreabosman16

It seems you haven't yet signed a CLA. Please do so here.

Once you do that we will be able to review and accept this pull request.

Thanks!

@coderabbitai

coderabbitai Bot commented Jul 17, 2026 •

Copy link
Copy Markdown

No actionable comments were generated in the recent review. ๐ŸŽ‰

โ„น๏ธ Recent review info
โš™๏ธ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 3c314a7a-5048-4acf-90cd-5aa60ca9c8c6

๐Ÿ“ฅ Commits

Reviewing files that changed from the base of the PR and between 27a58a6 and 05d3bea.

๐Ÿ“’ Files selected for processing (1)
  • buildroot-external/board/pc/generic-x86-64/kernel.config

๐Ÿ“ Walkthrough

Walkthrough

The generic x86-64 kernel configuration now enables Intel VMD support for internal NVMe devices behind Intel Volume Management Device hardware.

Changes

Intel VMD support

Layer / File(s) Summary
Enable Intel VMD
buildroot-external/board/pc/generic-x86-64/kernel.config
Adds an explanatory comment and enables CONFIG_VMD=y.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Suggested labels: board/generic-x86-64

Suggested reviewers: agners, sairon

Poem

Iโ€™m a rabbit with a kernel tune,
VMD now helps NVMe zoom.
Behind the device, paths align,
Generic x86-64 boots just fine.
Hop, hopโ€”storage shines!

๐Ÿšฅ Pre-merge checks | โœ… 5
โœ… Passed checks (5 passed)
Check name Status Explanation
Description Check โœ… Passed Check skipped - CodeRabbitโ€™s high-level summary is enabled.
Title check โœ… Passed The title clearly and accurately summarizes the main change: enabling Intel VMD support for the generic x86-64 kernel config.
Docstring Coverage โœ… Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check โœ… Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check โœ… Passed Check skipped because no linked issues were found for this pull request.
โœจ Finishing Touches
๐Ÿงช Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

โค๏ธ Share

Comment @coderabbitai help to get the list of available commands.

Some Intel systems expose their internal NVMe storage through Intel
Volume Management Device. Without the VMD driver, HAOS cannot discover
the root device and stops at unknown-block(0,0).

Enable CONFIG_VMD in the generic x86-64 kernel configuration. Build the
driver into the kernel because it is needed before the root filesystem
can be mounted.

Related to home-assistant#3494

Co-authored-by: Codex <noreply@openai.com>
@andreabosman16
andreabosman16 force-pushed the codex/enable-intel-vmd branch from b210f19 to 05d3bea Compare July 17, 2026 10:45

@home-assistant home-assistant Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hi @andreabosman16

It seems you haven't yet signed a CLA. Please do so here.

Once you do that we will be able to review and accept this pull request.

Thanks!

@andreabosman16
andreabosman16 marked this pull request as ready for review July 17, 2026 10:53
@agners agners added the board/generic-x86-64 Generic x86-64 Boards (like Intel NUC) label Jul 17, 2026
@agners
agners merged commit 0a2e65e into home-assistant:dev Jul 17, 2026
1 check passed
@andreabosman16
andreabosman16 deleted the codex/enable-intel-vmd branch July 17, 2026 12:29
jens-maus added a commit to OpenCCU/OpenCCU that referenced this pull request Jul 17, 2026
This PR adds CONFIG_VMD, CONFIG_PINCTRL_CANNONLAKE and CONFIG_MARVELL_PHY
for improved hardware support for the generic-x86_64 platform.
(cf. home-assistant/operating-system#4902,
home-assistant/operating-system#4091,
home-assistant/operating-system#4105)
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 25, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

board/generic-x86-64 Generic x86-64 Boards (like Intel NUC) cla-signed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants