From: Janosch Frank <frankja@linux.ibm.com>
To: Yvan Janssens <yvanj@cyber.gent>,
Christian Borntraeger <borntraeger@linux.ibm.com>,
Claudio Imbrenda <imbrenda@linux.ibm.com>
Cc: David Hildenbrand <david@kernel.org>,
Eric Farman <farman@linux.ibm.com>,
Hendrik Brueckner <brueckner@linux.ibm.com>,
Heiko Carstens <hca@linux.ibm.com>,
Vasily Gorbik <gor@linux.ibm.com>,
Alexander Gordeev <agordeev@linux.ibm.com>,
Sven Schnelle <svens@linux.ibm.com>,
Paolo Bonzini <pbonzini@redhat.com>,
Sean Christopherson <seanjc@google.com>,
Shuah Khan <shuah@kernel.org>,
kvm@vger.kernel.org, linux-s390@vger.kernel.org,
linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/2] KVM: s390: vsie: Rewind the PSW of ESA mode guests in the right format
Date: Thu, 26 Nov 2026 13:35:42 +0100 [thread overview]
Message-ID: <5d2e50f3-ca65-4090-87e5-03819441da48@linux.ibm.com> (raw)
In-Reply-To: <20261125165604.3074595-2-yvanj@cyber.gent>
On 11/25/26 5:56 PM, Yvan Janssens wrote:
> ESA-mode guests in vsie have existed since commit b0ad874d9852 ("KVM:
> s390: vsie: Allow non-zarch guests"); they use the 8-byte short PSW -
> the mask and instruction address share one doubleword.
>
> vsie's PSW rewind originally still changed the second doubleword, which
> is unused in ESA mode, so the instruction is skipped instead of
> repeated. The visible effect is that the first STFLE after entering SIE
> does nothing in a nested guest.
>
> This patch adds a vsie-specific rewind function that handles both
> formats; no short-PSW type is introduced - for ESA guests mask and
> address are written into the mask field.
>
> Fixes: b0ad874d9852 ("KVM: s390: vsie: Allow non-zarch guests")
> Cc: stable@vger.kernel.org # 7.1+
> Signed-off-by: Yvan Janssens <yvanj@cyber.gent>
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
next prev parent reply other threads:[~2026-11-26 12:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 16:56 [PATCH v2 0/2] KVM: s390: vsie: fix instruction retry for nested guests in ESA mode Yvan Janssens
2026-11-25 16:56 ` [PATCH v2 1/2] KVM: s390: vsie: Rewind the PSW of ESA mode guests in the right format Yvan Janssens
2026-11-26 8:32 ` Christian Borntraeger
2026-11-26 12:35 ` Janosch Frank [this message]
2026-11-25 16:56 ` [PATCH v2 2/2] KVM: s390: selftests: Add a test for nested guests in ESA mode Yvan Janssens
2026-11-26 9:13 ` Christian Borntraeger
2026-11-26 14:37 ` Claudio Imbrenda
2026-11-27 7:56 ` Christian Borntraeger
2026-11-27 11:26 ` Janosch Frank
2026-11-25 17:05 ` [PATCH v2 0/2] KVM: s390: vsie: fix instruction retry " sashiko-bot
2026-11-27 14:59 ` Janosch Frank
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5d2e50f3-ca65-4090-87e5-03819441da48@linux.ibm.com \
--to=frankja@linux.ibm.com \
--cc=agordeev@linux.ibm.com \
--cc=borntraeger@linux.ibm.com \
--cc=brueckner@linux.ibm.com \
--cc=david@kernel.org \
--cc=farman@linux.ibm.com \
--cc=gor@linux.ibm.com \
--cc=hca@linux.ibm.com \
--cc=imbrenda@linux.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=seanjc@google.com \
--cc=shuah@kernel.org \
--cc=svens@linux.ibm.com \
--cc=yvanj@cyber.gent \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.