Skip to content

Commit 1cb86cb

Browse files
Merge pull request #8178 from khdo/ocpbugs26216
OCPBUGS-26216: Fix parameter used to disable smt for ppc64 systems
2 parents adb699e + 30c88c2 commit 1cb86cb

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

pkg/asset/machines/machineconfig/hyperthreading.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func ForHyperthreadingDisabled(role string) (*mcfgv1.MachineConfig, error) {
3737
},
3838
Spec: mcfgv1.MachineConfigSpec{
3939
Config: rawExt,
40-
KernelArguments: []string{"nosmt"},
40+
KernelArguments: []string{"nosmt", "smt-enabled=off"},
4141
},
4242
}, nil
4343
}

pkg/asset/machines/master_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ spec:
7979
fips: false
8080
kernelArguments:
8181
- nosmt
82+
- smt-enabled=off
8283
kernelType: ""
8384
osImageURL: ""
8485
`},
@@ -103,6 +104,7 @@ spec:
103104
fips: false
104105
kernelArguments:
105106
- nosmt
107+
- smt-enabled=off
106108
kernelType: ""
107109
osImageURL: ""
108110
`, `apiVersion: machineconfiguration.openshift.io/v1

pkg/asset/machines/worker_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ spec:
7373
fips: false
7474
kernelArguments:
7575
- nosmt
76+
- smt-enabled=off
7677
kernelType: ""
7778
osImageURL: ""
7879
`},
@@ -97,6 +98,7 @@ spec:
9798
fips: false
9899
kernelArguments:
99100
- nosmt
101+
- smt-enabled=off
100102
kernelType: ""
101103
osImageURL: ""
102104
`, `apiVersion: machineconfiguration.openshift.io/v1

0 commit comments

Comments
 (0)