]> git.ipfire.org Git - thirdparty/linux.git/commit
s390/sclp: Suppress unnecessary Store Data warning
authorPeter Oberparleiter <oberpar@linux.ibm.com>
Thu, 20 Jun 2024 12:20:26 +0000 (14:20 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Mon, 1 Jul 2024 15:47:01 +0000 (17:47 +0200)
commitecec74bbfc6fb1885355aa0337f3452146e8caff
tree4381eeccb6566fcb145ab8b7d88fbe5e445ee9bc
parentf219af8a3f9e54bad10021defe04cd8b5867cb89
s390/sclp: Suppress unnecessary Store Data warning

On systems that do not support Store Data events (such as when running
as KVM guest) the following warning message appears during boot:

 sclp_sd: Store Data request failed (eq=2, di=3, response=0x40f0,
          flags=0x00, status=0, rc=-5)

This warning does not add any useful information since the result is
expected due to missing support for that event type.

Suppress this message by checking the associated masks of supported
events before issuing a Store Data event.

Suggested-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
drivers/s390/char/sclp_sd.c