OSDN Git Service

s390: allow overriding facilities via command line
authorVasily Gorbik <gor@linux.ibm.com>
Wed, 27 Feb 2019 15:52:42 +0000 (16:52 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 1 Mar 2019 07:00:41 +0000 (08:00 +0100)
commitb5e804598d594934407a1a8548d7b65341fe2617
treedb43a2962d8f9c57fad49589ed450fedc5ce20fd
parentd8901f2b2d04841d75d62c28c18b8b6e57eb49de
s390: allow overriding facilities via command line

Add "facilities=" command line option which allows to override
facility bits returned by stfle. The main purpose of that is debugging
aids which allows to test specific kernel behaviour depending on
specific facilities presence. It also affects CPU alternatives.

"facilities=" command line option format is comma separated list of
integer values to be additionally set or cleared (if value is starting
with "!"). Values ranges are also supported. e.g.:

facilities=!130-160,159,167-169

Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/boot/boot.h
arch/s390/boot/ipl_parm.c
arch/s390/boot/startup.c