aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/char/diag_ftp.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2015-08-14 13:20:28 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-08-19 10:40:04 +0200
commit89b1145e93771d727645c96e323539c029b63f1c (patch)
treeae063160976a1124abfa46550c13347aecd1a37d /drivers/s390/char/diag_ftp.c
parents390/uaccess: remove uaccess_primary kernel parameter (diff)
downloadlinux-dev-89b1145e93771d727645c96e323539c029b63f1c.tar.xz
linux-dev-89b1145e93771d727645c96e323539c029b63f1c.zip
s390/setup: fix novx parameter
The novx parameter disables the vector facility but the HWCAP_S390_VXRS bit in the ELf hardware capabilies is always set if the machine has the vector facility. If the user space program uses the "vx" string in the features field of /proc/cpuinfo to utilize vector instruction it will crash if the novx kernel paramter is set. Convert setup_hwcaps to an arch_initcall and use MACHINE_HAS_VX to decide if the HWCAPS_S390_VXRS bit needs to be set. Cc: stable@vger.kernel.org # 3.18+ Reported-by: Ulrich Weigand <uweigand@de.ibm.com> Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions