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:
|
# cpuid:
|
||||||
## NOTE: whitelist has priority over blacklist
|
## NOTE: whitelist has priority over blacklist
|
||||||
# attributeBlacklist:
|
# attributeBlacklist:
|
||||||
|
# - "AVX10"
|
||||||
# - "BMI1"
|
# - "BMI1"
|
||||||
# - "BMI2"
|
# - "BMI2"
|
||||||
# - "CLMUL"
|
# - "CLMUL"
|
||||||
|
|
|
@ -169,6 +169,7 @@ worker:
|
||||||
# cpuid:
|
# cpuid:
|
||||||
## NOTE: whitelist has priority over blacklist
|
## NOTE: whitelist has priority over blacklist
|
||||||
# attributeBlacklist:
|
# attributeBlacklist:
|
||||||
|
# - "AVX10"
|
||||||
# - "BMI1"
|
# - "BMI1"
|
||||||
# - "BMI2"
|
# - "BMI2"
|
||||||
# - "CLMUL"
|
# - "CLMUL"
|
||||||
|
|
|
@ -16,6 +16,7 @@ spec:
|
||||||
matchName:
|
matchName:
|
||||||
op: NotIn
|
op: NotIn
|
||||||
value:
|
value:
|
||||||
|
- "AVX10"
|
||||||
- "BMI1"
|
- "BMI1"
|
||||||
- "BMI2"
|
- "BMI2"
|
||||||
- "CLMUL"
|
- "CLMUL"
|
||||||
|
|
|
@ -266,7 +266,7 @@ Prevent publishing cpuid features listed in this option.
|
||||||
|
|
||||||
> **NOTE:** overridden by `sources.cpu.cpuid.attributeWhitelist` (if specified)
|
> **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,
|
NX, POPCNT, RDRAND, RDSEED, RDTSCP, SGX, SGXLC, SSE, SSE2, SSE3, SSE4.1,
|
||||||
SSE4.2, SSSE3, TDX_GUEST]`
|
SSE4.2, SSSE3, TDX_GUEST]`
|
||||||
|
|
||||||
|
|
|
@ -116,9 +116,10 @@ configuration options for details.
|
||||||
| VPCLMULQDQ | Carry-less multiplication quadword |
|
| VPCLMULQDQ | Carry-less multiplication quadword |
|
||||||
| WRMSRNS | Non-Serializing Write to Model Specific Register |
|
| WRMSRNS | Non-Serializing Write to Model Specific Register |
|
||||||
|
|
||||||
By default, the following CPUID flags have been blacklisted: BMI1, BMI2, CLMUL,
|
By default, the following CPUID flags have been blacklisted: AVX10 (use
|
||||||
CMOV, CX16, ERMS, F16C, HTT, LZCNT, MMX, MMXEXT, NX, POPCNT, RDRAND, RDSEED,
|
AVX10_VERSION instead), BMI1, BMI2, CLMUL, CMOV, CX16, ERMS, F16C, HTT, LZCNT,
|
||||||
RDTSCP, SGX, SSE, SSE2, SSE3, SSE4, SSE42, SSSE3 and TDX_GUEST. See
|
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)
|
[`sources.cpu`](../reference/worker-configuration-reference.md#sourcescpu)
|
||||||
configuration options to change the behavior.
|
configuration options to change the behavior.
|
||||||
|
|
||||||
|
|
|
@ -64,6 +64,7 @@ func newDefaultConfig() *Config {
|
||||||
return &Config{
|
return &Config{
|
||||||
cpuidConfig{
|
cpuidConfig{
|
||||||
AttributeBlacklist: []string{
|
AttributeBlacklist: []string{
|
||||||
|
"AVX10",
|
||||||
"BMI1",
|
"BMI1",
|
||||||
"BMI2",
|
"BMI2",
|
||||||
"CLMUL",
|
"CLMUL",
|
||||||
|
|
Loading…
Reference in a new issue