summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/sclp.h
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2018-01-16 09:11:45 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-02-05 15:49:17 +0300
commitd768bd892fc8f066cd3aa000eb1867bcf32db0ee (patch)
tree73856bebc552b175d71bef6859824d7ca8d8e051 /arch/s390/include/asm/sclp.h
parentcf1489984641369611556bf00c48f945c77bcf02 (diff)
downloadlinux-d768bd892fc8f066cd3aa000eb1867bcf32db0ee.tar.xz
s390: add options to change branch prediction behaviour for the kernel
Add the PPA instruction to the system entry and exit path to switch the kernel to a different branch prediction behaviour. The instructions are added via CPU alternatives and can be disabled with the "nospec" or the "nobp=0" kernel parameter. If the default behaviour selected with CONFIG_KERNEL_NOBP is set to "n" then the "nobp=1" parameter can be used to enable the changed kernel branch prediction. Acked-by: Cornelia Huck <cohuck@redhat.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/sclp.h')
0 files changed, 0 insertions, 0 deletions