diff --git a/deployment/components/worker-config/nfd-worker.conf.example b/deployment/components/worker-config/nfd-worker.conf.example index 9a3bfd85b..af6ea7ca8 100644 --- a/deployment/components/worker-config/nfd-worker.conf.example +++ b/deployment/components/worker-config/nfd-worker.conf.example @@ -24,6 +24,7 @@ # cpuid: ## NOTE: whitelist has priority over blacklist # attributeBlacklist: +# - "AVX10" # - "BMI1" # - "BMI2" # - "CLMUL" diff --git a/deployment/helm/node-feature-discovery/values.yaml b/deployment/helm/node-feature-discovery/values.yaml index 5516ec3a9..7e52cc998 100644 --- a/deployment/helm/node-feature-discovery/values.yaml +++ b/deployment/helm/node-feature-discovery/values.yaml @@ -169,6 +169,7 @@ worker: # cpuid: ## NOTE: whitelist has priority over blacklist # attributeBlacklist: + # - "AVX10" # - "BMI1" # - "BMI2" # - "CLMUL" diff --git a/deployment/nodefeaturerule/samples/nodefeaturerule-cpu.yaml b/deployment/nodefeaturerule/samples/nodefeaturerule-cpu.yaml index 10c88613a..5c85ef708 100644 --- a/deployment/nodefeaturerule/samples/nodefeaturerule-cpu.yaml +++ b/deployment/nodefeaturerule/samples/nodefeaturerule-cpu.yaml @@ -16,6 +16,7 @@ spec: matchName: op: NotIn value: + - "AVX10" - "BMI1" - "BMI2" - "CLMUL" diff --git a/docs/reference/worker-configuration-reference.md b/docs/reference/worker-configuration-reference.md index 6fc786132..cf04b3ac7 100644 --- a/docs/reference/worker-configuration-reference.md +++ b/docs/reference/worker-configuration-reference.md @@ -266,7 +266,7 @@ Prevent publishing cpuid features listed in this option. > **NOTE:** overridden by `sources.cpu.cpuid.attributeWhitelist` (if specified) -Default: `[BMI1, BMI2, CLMUL, CMOV, CX16, ERMS, F16C, HTT, LZCNT, MMX, MMXEXT, +Default: `[AVX10, BMI1, BMI2, CLMUL, CMOV, CX16, ERMS, F16C, HTT, LZCNT, MMX, MMXEXT, NX, POPCNT, RDRAND, RDSEED, RDTSCP, SGX, SGXLC, SSE, SSE2, SSE3, SSE4.1, SSE4.2, SSSE3, TDX_GUEST]` diff --git a/docs/usage/features.md b/docs/usage/features.md index 8a6486a45..5434c5b0d 100644 --- a/docs/usage/features.md +++ b/docs/usage/features.md @@ -116,9 +116,10 @@ configuration options for details. | VPCLMULQDQ | Carry-less multiplication quadword | | WRMSRNS | Non-Serializing Write to Model Specific Register | -By default, the following CPUID flags have been blacklisted: BMI1, BMI2, CLMUL, -CMOV, CX16, ERMS, F16C, HTT, LZCNT, MMX, MMXEXT, NX, POPCNT, RDRAND, RDSEED, -RDTSCP, SGX, SSE, SSE2, SSE3, SSE4, SSE42, SSSE3 and TDX_GUEST. See +By default, the following CPUID flags have been blacklisted: AVX10 (use +AVX10_VERSION instead), BMI1, BMI2, CLMUL, CMOV, CX16, ERMS, F16C, HTT, LZCNT, +MMX, MMXEXT, NX, POPCNT, RDRAND, RDSEED, RDTSCP, SGX, SSE, SSE2, SSE3, SSE4, +SSE42, SSSE3 and TDX_GUEST. See [`sources.cpu`](../reference/worker-configuration-reference.md#sourcescpu) configuration options to change the behavior. diff --git a/source/cpu/cpu.go b/source/cpu/cpu.go index 426f8f692..8b889cd7e 100644 --- a/source/cpu/cpu.go +++ b/source/cpu/cpu.go @@ -64,6 +64,7 @@ func newDefaultConfig() *Config { return &Config{ cpuidConfig{ AttributeBlacklist: []string{ + "AVX10", "BMI1", "BMI2", "CLMUL",