OSDN Git Service

s390/facilities: remove transactional-execution bits
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 13 Aug 2015 10:27:16 +0000 (12:27 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 19 Aug 2015 08:03:34 +0000 (10:03 +0200)
commita69db2f6ad69157cace810971f19cb5aec9956b1
tree40cf4f10fe4279285404905350f0616d9f9a326b
parentc0e5ddab6e985c83714b31a88098e76c39ff084a
s390/facilities: remove transactional-execution bits

Remove the two facility bits

50 - constrained transactional-execution facility
74 - transactional-execution facility

from the required facilities if the kernel is built with -march=zEC12.

E.g. z/VM 6.3 doesn't virtualize the TX facility yet. Therefore a kernel
built with -march=zEC12 and ipl'ed on a zEC12 machine as a z/VM 6.3 guest
will emit a message about the missing facilities and stop working.

The kernel however doesn't make use of the TX facility, therefore remove
the two TX related facility bits and fix this unpleasant behavior.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/head.S