s390/sclp: introduce checks for ESCA and HVS
authorEugene (jno) Dvurechenski <jno@linux.vnet.ibm.com>
Thu, 9 Oct 2014 14:04:48 +0000 (16:04 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 30 Nov 2015 11:47:06 +0000 (12:47 +0100)
commitf7ba1d34263e333e82aa8879028ddd06d6d5f9ac
tree1426039d66d153ba8d63b23e0f2099764695c9fa
parent71f116bfedfdd6763f2caf842bf40a6506759029
s390/sclp: introduce checks for ESCA and HVS

Introduce sclp.has_hvs and sclp.has_esca to provide a way for kvm to check
whether the extended-SCA and the home-virtual-SCA facilities are available.

Signed-off-by: Eugene (jno) Dvurechenski <jno@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/sclp.h
drivers/s390/char/sclp_early.c