]> www.infradead.org Git - users/jedix/linux-maple.git/commit
s390/sthyi: Use cached data when diag is busy
authorMete Durlu <meted@linux.ibm.com>
Thu, 4 Jul 2024 12:10:10 +0000 (14:10 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 10 Jul 2024 17:50:45 +0000 (19:50 +0200)
commitb7a5e5dfbd68050e8582e901f397dc75451bb877
tree4e2af8541be86e19fb929bf83186de2588976691
parent6fdf72c9a9f614115ac7f2889c1018bbff1af9b3
s390/sthyi: Use cached data when diag is busy

When sthyi is being emulated, data from diag204 is used. If diag204
returns busy, previously cached sthyi info block is returned to the
caller and cache expiry is set to expired.

Acked-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Tobias Huschle <huschle@linux.ibm.com>
Signed-off-by: Tobias Huschle <huschle@linux.ibm.com>
Signed-off-by: Mete Durlu <meted@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/sthyi.c