Re: [PATCH v5 3/4] KVM: s390: Change the fi->lock to a raw_spinlock for RT case

From: Heiko Carstens

Date: Wed May 06 2026 - 00:57:48 EST


On Tue, May 05, 2026 at 07:37:27PM +0200, Douglas Freimuth wrote:
> s390 needs to maintain support for an RT kernel. This requires the
> floating interrupt lock, fi->lock to be changed to a raw spin lock
> since the fi->lock maybe called with interrupts disabled in __inject_io.
>
> Signed-off-by: Douglas Freimuth <freimuth@xxxxxxxxxxxxx>
> ---
> arch/s390/include/asm/kvm_host.h | 2 +-
> arch/s390/kvm/intercept.c | 4 +-
> arch/s390/kvm/interrupt.c | 68 ++++++++++++++++----------------
> arch/s390/kvm/kvm-s390.c | 2 +-
> 4 files changed, 38 insertions(+), 38 deletions(-)

s390 does not support RT, but I guess you are referring to a lockdep splat
which you would see without doing this change, similar like we have seen at
other places.

Can you include the relevant parts of the splat for reference, please?