Skip to content

[DO NOT REVIEW] cpu_profile: add NVIDIA N1X WHP profile - #1

Open
QThans wants to merge 2 commits into
ahuja-gautam:openvmm-arm64-microvm-dev-20261111from
QThans:cpu-profile/nvidia-n1x-arm-followup
Open

QThans wants to merge 2 commits into
ahuja-gautam:openvmm-arm64-microvm-dev-20261111from
QThans:cpu-profile/nvidia-n1x-arm-followup

Conversation

@QThans

@QThans QThans commented Nov 17, 2026 •

Copy link
Copy Markdown

Follow-up to microsoft#5045, submitted against its ARM branch as requested in microsoft#5045 (comment). The original microsoft#5096 remains open for tracking.

What and why

Add nvidia.n1x.v1 for NVIDIA N1X, validated on a MECHREVO N1X Spark running Windows ARM64 with WHP. The host exposes two MIDRs, 0x410fd851 and 0x410fd871; a single-part profile can fail when a virtual processor exposes the other core type.

The profile admits exactly the two observed Arm part numbers, retains the existing 36-bit guest address contract, and uses the measured restricted WHP feature surface. Existing backend checks remain in place. Tests cover model boundaries, the expected canonical digest, unsupported state, WHP feature translation and missing-feature rejection.

Scope and validation

Replayed the two N1X commits onto Gautam's refreshed ARM branch at c3089ff90. The new head is f11368e37. Both patches are identical to their original versions according to git range-diff. The diff covers four files: the profile JSON, hardware notes, ARM catalog and tests, and WHP tests.

On November 23, 2026, on the MECHREVO N1X Spark running Windows ARM64, cargo test --locked -p cpu_profile -p virt_whp passed 143 CPU-profile tests and 11 WHP tests, with two diagnostic tests ignored. Cargo check, all-target Clippy, and no-dependency rustdoc passed for both crates.

The November 14 run on the previous base recorded 18 successful guest boots, including eight concurrent 256 MiB, one-vCPU guests. Guest boots were not repeated on this head. Use auto or nvidia.n1x.v1 for the pinned profile.

@QThans
QThans marked this pull request as ready for review November 17, 2026 03:15
@ahuja-gautam
ahuja-gautam force-pushed the openvmm-arm64-microvm-dev-20261111 branch 2 times, most recently from 00b872c to 0d24cec Compare November 19, 2026 01:53
@QThans
QThans force-pushed the cpu-profile/nvidia-n1x-arm-followup branch from 229ecb9 to 129a0d5 Compare November 19, 2026 03:14
@ahuja-gautam
ahuja-gautam force-pushed the openvmm-arm64-microvm-dev-20261111 branch from b3e7a50 to c3089ff Compare November 22, 2026 23:12
Admit the two observed N1X CPU part numbers through a pinned ARM64
profile while retaining the existing WHP feature and state checks.
A single-part profile fails when a retained VP exposes the other
core type on this heterogeneous host.

Validate the configured ID-register surface on all 20 logical CPUs
of a MECHREVO N1X Spark with NVIDIA N1X, and document the hardware
observations and cold-boot qualification limits. Test both MIDRs,
exclude every other part number, and verify the WHP feature-bank
translation and unavailable-feature rejection.

Depends on the ARM cold-boot implementation in microsoft#5045.
Pin the expected canonical digest and model mask, reject a different implementer or architecture, and use the measured 39-bit native WHP GPA limit in the backend test fixture. The guest address contract remains 36 bits. This changes tests only.
@QThans
QThans force-pushed the cpu-profile/nvidia-n1x-arm-followup branch from 129a0d5 to f11368e Compare November 23, 2026 03:59
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.

1 participant