s390/fpu: remove "novx" option
authorHeiko Carstens <hca@linux.ibm.com>
Fri, 1 Dec 2023 14:42:17 +0000 (15:42 +0100)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Mon, 11 Dec 2023 13:33:06 +0000 (14:33 +0100)
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>
arch/s390/kernel/early.c
arch/s390/kernel/processor.c

index eb43e5922a25d75489d7fe1cfe715449ac55c0c8..a343606525540577a451592f117a952c628469fe 100644 (file)
@@ -271,14 +271,6 @@ static inline void setup_access_registers(void)
        restore_access_regs(acrs);
 }
 
-static int __init disable_vector_extension(char *str)
-{
-       S390_lowcore.machine_flags &= ~MACHINE_FLAG_VX;
-       system_ctl_clear_bit(0, CR0_VECTOR_BIT);
-       return 0;
-}
-early_param("novx", disable_vector_extension);
-
 char __bootdata(early_command_line)[COMMAND_LINE_SIZE];
 static void __init setup_boot_command_line(void)
 {
index 0a999c8226d73346e72eba743e2069f005fe2430..4a57453bfa6d983368207f81180c3e47a93bc639 100644 (file)
@@ -201,10 +201,7 @@ static int __init setup_hwcaps(void)
        if (MACHINE_HAS_TE)
                elf_hwcap |= HWCAP_TE;
 
-       /*
-        * Vector extension can be disabled with the "novx" parameter.
-        * Use MACHINE_HAS_VX instead of facility bit 129.
-        */
+       /* Use MACHINE_HAS_VX instead of facility bit 129. */
        if (MACHINE_HAS_VX) {
                elf_hwcap |= HWCAP_VXRS;
                if (test_facility(134))