Commit af6ed37e authored by Heiko Carstens's avatar Heiko Carstens Committed by Alexander Gordeev
Browse files

s390/fpu: remove "novx" option



Remove the "novx" kernel command line option: the vector code runs
without any problems since many years.

Reviewed-by: default avatarHendrik Brueckner <brueckner@linux.ibm.com>
Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
Signed-off-by: default avatarAlexander Gordeev <agordeev@linux.ibm.com>
parent d7f679ec
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -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)
{
+1 −4
Original line number Diff line number Diff line
@@ -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))