Repository navigation
Conversation
Leechael
force-pushed
the
fix/h200-ppcie-attestation
branch
3 times, most recently
from
November 24, 2026 17:38
d50b96c to
9f10008
Compare
Collaborator
|
Suggested rework, on top of #1646 (nvattest 2026.11.23):
Open item: the encoding of the two switch opaque bytes is undocumented. Please capture evidence on a real H200 PPCIe host to define the accepted values, and use it as a test fixture. |
Leechael
force-pushed
the
fix/h200-ppcie-attestation
branch
from
November 26, 2026 00:49
9f10008 to
7bcca03
Compare
Leechael
marked this pull request as ready for review
November 26, 2026 03:10
kvinwang
force-pushed
the
fix/h200-ppcie-attestation
branch
from
November 26, 2026 03:59
7bcca03 to
6e60fe0
Compare
kvinwang
changed the base branch from
next
to
chore/bump-nvattest-2026.11.23
November 26, 2026 05:27
kvinwang
force-pushed
the
chore/bump-nvattest-2026.11.23
branch
from
November 26, 2026 11:53
3903ca8 to
b6fa0c4
Compare
kvinwang
changed the base branch from
chore/bump-nvattest-2026.11.23
to
next
November 26, 2026 15:54
A CC-off Protected PCIe launch must prove from signed evidence that the GPUs run in PPCIe mode and that every NVSwitch is locked. NVML and NSCQ report that state through the host-controlled driver. nvattest already parses both facts from the SPDM opaque data but drops them: the GPU mode derived from FEATURE_FLAG is never serialized, and SWITCH_LOCK_STATUS is never read. Patch nvattest to emit them as x-nvidia-gpu-mode and x-dstack-switch-lock-status. Signed-off-by: Kevin Wang <wy721@qq.com>
An HGX H200 in Protected PCIe mode runs its 8 GPUs with CC off behind 4 NVSwitches. When NVML reports PPCIe, also attest the NVSwitches with the same nonce and accept CC off only if the signed claims show: - every GPU reports mode "ppcie"; - every NVSwitch reports the locked status; - GPU and NVSwitch PDIs describe one complete fabric. On the CC path, reject a GPU whose signed mode is not a CC mode. GPU and NVSwitch claims share one parser and appraisal; application Rego still receives the GPU claims only. Signed-off-by: Leechael Yim <yanleech@gmail.com> Signed-off-by: Kevin Wang <wy721@qq.com>
kvinwang
force-pushed
the
fix/h200-ppcie-attestation
branch
from
November 26, 2026 15:55
6e60fe0 to
053022b
Compare
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.
Problem
On HGX H200 with 8 GPUs and 4 NVSwitches in Protected PCIe (PPCIe) mode, NVML reports per-GPU CC off. The existing boot gate rejects that state even after GPU verification succeeds. Setting
requirements.gpu_policy.attest_gpu: falseis not a fix: it skips GPU appraisal entirely.Change
Requires the nvattest 2026.11.23 bump from #1646 (merged).
x-nvidia-gpu-mode(GPUFEATURE_FLAG) andx-dstack-switch-lock-status(NVSwitchSWITCH_LOCK_STATUS).ppcie, every NVSwitch signs the locked status, and the PDIs describe one full 8-GPU / 4-NVSwitch fabric.The fabric checks follow the NVIDIA PPCIe verifier. This does not claim hardware binding of the devices to the CPU TEE.
Validation
dstack-utilandnvattesttests, Clippy andprekpass.multi_switch_ls10.json), all four NVSwitches reportx-dstack-switch-lock-status: 1. The sample GPU evidence signsFEATURE_FLAG = 2(ppcie); its driver RIM is not published, so the GPU claim was not produced end to end.