Skip to content

Commit af6ed37

Browse files
hcahcaAlexander Gordeev
authored andcommitted
s390/fpu: remove "novx" option
Remove the "novx" kernel command line option: the vector code runs without any problems since many years. Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
1 parent d7f679e commit af6ed37

2 files changed

Lines changed: 1 addition & 12 deletions

File tree

arch/s390/kernel/early.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -271,14 +271,6 @@ static inline void setup_access_registers(void)
271271
restore_access_regs(acrs);
272272
}
273273

274-
static int __init disable_vector_extension(char *str)
275-
{
276-
S390_lowcore.machine_flags &= ~MACHINE_FLAG_VX;
277-
system_ctl_clear_bit(0, CR0_VECTOR_BIT);
278-
return 0;
279-
}
280-
early_param("novx", disable_vector_extension);
281-
282274
char __bootdata(early_command_line)[COMMAND_LINE_SIZE];
283275
static void __init setup_boot_command_line(void)
284276
{

arch/s390/kernel/processor.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,7 @@ static int __init setup_hwcaps(void)
201201
if (MACHINE_HAS_TE)
202202
elf_hwcap |= HWCAP_TE;
203203

204-
/*
205-
* Vector extension can be disabled with the "novx" parameter.
206-
* Use MACHINE_HAS_VX instead of facility bit 129.
207-
*/
204+
/* Use MACHINE_HAS_VX instead of facility bit 129. */
208205
if (MACHINE_HAS_VX) {
209206
elf_hwcap |= HWCAP_VXRS;
210207
if (test_facility(134))

0 commit comments

Comments
 (0)