Skip to content

Commit

Permalink
Merge pull request #8178 from khdo/ocpbugs26216
Browse files Browse the repository at this point in the history
OCPBUGS-26216: Fix parameter used to disable smt for ppc64 systems
  • Loading branch information
openshift-merge-bot[bot] committed May 3, 2024
2 parents adb699e + 30c88c2 commit 1cb86cb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/asset/machines/machineconfig/hyperthreading.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func ForHyperthreadingDisabled(role string) (*mcfgv1.MachineConfig, error) {
},
Spec: mcfgv1.MachineConfigSpec{
Config: rawExt,
KernelArguments: []string{"nosmt"},
KernelArguments: []string{"nosmt", "smt-enabled=off"},
},
}, nil
}
2 changes: 2 additions & 0 deletions pkg/asset/machines/master_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ spec:
fips: false
kernelArguments:
- nosmt
- smt-enabled=off
kernelType: ""
osImageURL: ""
`},
Expand All @@ -103,6 +104,7 @@ spec:
fips: false
kernelArguments:
- nosmt
- smt-enabled=off
kernelType: ""
osImageURL: ""
`, `apiVersion: machineconfiguration.openshift.io/v1
Expand Down
2 changes: 2 additions & 0 deletions pkg/asset/machines/worker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ spec:
fips: false
kernelArguments:
- nosmt
- smt-enabled=off
kernelType: ""
osImageURL: ""
`},
Expand All @@ -97,6 +98,7 @@ spec:
fips: false
kernelArguments:
- nosmt
- smt-enabled=off
kernelType: ""
osImageURL: ""
`, `apiVersion: machineconfiguration.openshift.io/v1
Expand Down

0 comments on commit 1cb86cb

Please sign in to comment.