diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2023-12-01 15:42:17 +0100 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2023-12-11 14:33:06 +0100 |
commit | af6ed37eb0bebc5661f653ed3704d606c2e8ec94 (patch) | |
tree | bb822771fbc18577be2beff9790138d698ee3d16 /arch/s390/kernel | |
parent | s390/fpu: remove ARCH_WANTS_DYNAMIC_TASK_STRUCT support (diff) | |
download | linux-af6ed37eb0bebc5661f653ed3704d606c2e8ec94.tar.xz linux-af6ed37eb0bebc5661f653ed3704d606c2e8ec94.zip |
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>
Diffstat (limited to 'arch/s390/kernel')
-rw-r--r-- | arch/s390/kernel/early.c | 8 | ||||
-rw-r--r-- | arch/s390/kernel/processor.c | 5 |
2 files changed, 1 insertions, 12 deletions
diff --git a/arch/s390/kernel/early.c b/arch/s390/kernel/early.c index eb43e5922a25..a34360652554 100644 --- a/arch/s390/kernel/early.c +++ b/arch/s390/kernel/early.c @@ -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) { diff --git a/arch/s390/kernel/processor.c b/arch/s390/kernel/processor.c index 0a999c8226d7..4a57453bfa6d 100644 --- a/arch/s390/kernel/processor.c +++ b/arch/s390/kernel/processor.c @@ -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)) |