1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00
node-feature-discovery/source/cpu
Carlos Eduardo Arango Gutierrez 05ef5d4e9d
cpu: expose the total number of AMD SEV ASID and ES
This patch add SEV ASIDs and the related (but distinct) SEV Encrypted State
(SEV-ES) IDs as two quantities to be exposed via extended resources.
In a kernel built with CONFIG_CGROUP_MISC on a suitably equipped AMD CPU, the
root control group will have a misc.capacity file that shows the number of
available IDs in each category.

The added extended resources are:
- sev.asids
- sev.encrypted_state_ids

Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2023-04-17 19:34:39 +02:00
..
coprocessor_ppc64le.go cpu: support for detecting nx-gzip coprocessor feature 2023-01-17 23:18:16 -08:00
coprocessor_stub.go cpu: support for detecting nx-gzip coprocessor feature 2023-01-17 23:18:16 -08:00
cpu.go cpu: expose the total number of AMD SEV ASID and ES 2023-04-17 19:34:39 +02:00
cpu_test.go source: make per-source unit tests stricter 2021-12-03 10:26:26 +02:00
cpuid_amd64.go source/cpu: implement FeatureSource 2021-11-11 18:33:40 +02:00
cpuid_linux_arm.go source/cpu: fix build flags of cpuid detection 2023-02-17 21:46:05 +02:00
cpuid_linux_arm64.go source/cpu: fix build flags of cpuid detection 2023-02-17 21:46:05 +02:00
cpuid_linux_ppc64le.go source/cpu: fix build flags of cpuid detection 2023-02-17 21:46:05 +02:00
cpuid_linux_s390x.go source/cpu: fix build flags of cpuid detection 2023-02-17 21:46:05 +02:00
cpuid_stub.go source/cpu: fix build flags of cpuid detection 2023-02-17 21:46:05 +02:00
cstate_amd64.go pkg/utils: move hostpath helpers from source to utils 2022-10-06 14:28:24 +03:00
cstate_stub.go source/cpu: implement FeatureSource 2021-11-11 18:33:40 +02:00
power_amd64.go pkg/utils: move hostpath helpers from source to utils 2022-10-06 14:28:24 +03:00
power_stub.go source/cpu: Fix compile error for non-amd64 arches 2021-11-25 13:41:57 +01:00
pstate_amd64.go pkg/utils: move hostpath helpers from source to utils 2022-10-06 14:28:24 +03:00
pstate_stub.go source: fix gofmt errors 2021-10-22 12:01:31 +03:00
rdt_amd64.go Advertise RDT L3 num_closid 2023-04-06 11:22:55 +02:00
rdt_stub.go Advertise RDT L3 num_closid 2023-04-06 11:22:55 +02:00
security_amd64.go cpu: expose the total number of AMD SEV ASID and ES 2023-04-17 19:34:39 +02:00
security_s390x.go pkg/utils: move hostpath helpers from source to utils 2022-10-06 14:28:24 +03:00
security_stub.go cpu: re-organize security features 2022-06-28 13:38:31 +03:00