diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2017-01-11 09:14:45 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-01-16 07:27:55 +0100 |
commit | 742dc5773cf5bbb355e4b4dd61310d5f51556477 (patch) | |
tree | c5bcd9921d22571dfd55a333c3746c44dec278a2 /arch/s390/net/bpf_jit_comp.c | |
parent | 68cc795d1933285705ced6d841ef66c00ce98cbe (diff) | |
download | linux-742dc5773cf5bbb355e4b4dd61310d5f51556477.tar.gz linux-742dc5773cf5bbb355e4b4dd61310d5f51556477.tar.xz |
s390/sclp: make early sclp irq handler more robust
Make the early sclp interrupt handler more robust:
- disable all interrupt sub classes except for the service signal subclass
- extend ctlreg0 union so it is easily possible to set the service signal
subclass mask bit without using a magic number
- disable lowcore protection before writing to it
- make sure that all write accesses are done before the original content
of control register 0 is restored, which could enable lowcore protection
Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/net/bpf_jit_comp.c')
0 files changed, 0 insertions, 0 deletions