mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
Merge pull request #1715 from marquiz/devel/avx10-deprecate
source/cpu: disable AVX10 label
This commit is contained in:
commit
4136a69545
6 changed files with 9 additions and 4 deletions
|
@ -24,6 +24,7 @@
|
|||
# cpuid:
|
||||
## NOTE: whitelist has priority over blacklist
|
||||
# attributeBlacklist:
|
||||
# - "AVX10"
|
||||
# - "BMI1"
|
||||
# - "BMI2"
|
||||
# - "CLMUL"
|
||||
|
|
|
@ -169,6 +169,7 @@ worker:
|
|||
# cpuid:
|
||||
## NOTE: whitelist has priority over blacklist
|
||||
# attributeBlacklist:
|
||||
# - "AVX10"
|
||||
# - "BMI1"
|
||||
# - "BMI2"
|
||||
# - "CLMUL"
|
||||
|
|
|
@ -16,6 +16,7 @@ spec:
|
|||
matchName:
|
||||
op: NotIn
|
||||
value:
|
||||
- "AVX10"
|
||||
- "BMI1"
|
||||
- "BMI2"
|
||||
- "CLMUL"
|
||||
|
|
|
@ -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]`
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -64,6 +64,7 @@ func newDefaultConfig() *Config {
|
|||
return &Config{
|
||||
cpuidConfig{
|
||||
AttributeBlacklist: []string{
|
||||
"AVX10",
|
||||
"BMI1",
|
||||
"BMI2",
|
||||
"CLMUL",
|
||||
|
|
Loading…
Reference in a new issue