Skip to content

Commit 423d6a2

Browse files
authored
Add event parsing logic for GPU device specific event (google#561) (google#562)
1 parent 9ed621c commit 423d6a2

File tree

5 files changed

+399
-210
lines changed

5 files changed

+399
-210
lines changed

cel/cos_tlv.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ const (
4444
// EventContent is empty on success, or contains an error message on failure.
4545
LaunchSeparatorType
4646
MemoryMonitorType
47+
GpuCCModeType
4748
)
4849

4950
// CosTlv is a specific event type created for the COS (Google Container-Optimized OS),

proto/attest.proto

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,11 +200,29 @@ message HealthMonitoringState {
200200
optional bool memory_enabled = 1;
201201
}
202202

203+
// Confidential Computing mode for GPU device. Reference for these CC mode values: https://developer.nvidia.com/blog/confidential-computing-on-h100-gpus-for-secure-and-trustworthy-ai/#hardware_security_for_nvidia_h100_gpus
204+
enum GPUDeviceCCMode {
205+
UNSET = 0;
206+
// The NVIDIA H100 hardware, firmware, and software have fully activated all the confidential computing features.
207+
ON = 1;
208+
// None of the confidential computing-specific features are active.
209+
OFF = 2;
210+
// The GPU is in a partial CC mode that will match the workflows of CC mode ON, but with security protections disabled.
211+
DEVTOOLS = 3;
212+
}
213+
214+
message GpuDeviceState {
215+
// Whether Confidential Computing mode is enabled for GPU.
216+
GPUDeviceCCMode cc_mode = 1;
217+
}
218+
219+
203220
message AttestedCosState {
204221
ContainerState container = 1;
205222
SemanticVersion cos_version = 2;
206223
SemanticVersion launcher_version = 3;
207224
HealthMonitoringState health_monitoring = 4;
225+
GpuDeviceState gpu_device_state = 5;
208226
}
209227

210228
message EfiApp {

0 commit comments

Comments
 (0)