OSDN Git Service

s390/sclp: 32 bit event mask compatibility mode
authorClaudio Imbrenda <imbrenda@linux.vnet.ibm.com>
Tue, 23 Jan 2018 15:50:43 +0000 (16:50 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 22 Feb 2018 14:31:24 +0000 (15:31 +0100)
commit0b0d1173d8aef75e821c0cceedb0e8178834ec1b
treeeceecae57a15d49a22440434cc3aeb0ed0e97831
parentb843563518c1e06521c446b9a043b7d352df02e0
s390/sclp: 32 bit event mask compatibility mode

Qemu before version 2.11 does not implement the architecture correctly,
and does not allow for a mask size of size different than 4.

This patch introduces a compatibility mode for such systems, forcing
the mask sizes to 4.

Since the mask size is currently still 4 anyway, this patch should have
no impact whatsoever by itself, but it will be needed when the mask size
is increased to 64 bits in the next patch.

Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Claudio Imbrenda <imbrenda@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/sclp.c
drivers/s390/char/sclp.h
drivers/s390/char/sclp_early_core.c