mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Yvan Janssens <yvanj@cyber.gent>
To: Janosch Frank <frankja@linux.ibm.com>
Cc: Christian Borntraeger <borntraeger@linux.ibm.com>,
	Claudio Imbrenda <imbrenda@linux.ibm.com>,
	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 1/2] KVM: s390: vsie: Rewind the PSW of ESA mode guests in the right format
Date: Wed, 25 Nov 2026 18:04:56 +0100	[thread overview]
Message-ID: <20261125170456.3077577-1-yvanj@cyber.gent> (raw)
In-Reply-To: <f64f9cd9-e2c9-4821-9d37-6c6ecdcb5239@linux.ibm.com>

On 11/25/26 5:19 PM, Janosch Frank wrote:
> I'm wondering if we should only copy the a DWORD back to the guest for
> the PSW in ESA mode and not the long PSW. On the other hand I'd like to
> have as little ESA accommodations in this code as possible. Sigh.

With the fix, vsie no longer writes to the second doubleword, so the
full copy-back just returns what guest 2 put there. I'd rather not add
another ESA special case for that, so I left it as is.

Thanks for the review; I've posted a v2 that addresses the commit
message and the comments - it should be on the list.

The new cover letter also contains the rationale for this work, and this
might be slightly OT to discuss here. Feel free to reach out directly to
discuss it off-list to reduce noise.

/y

  reply	other threads:[~2026-11-25 17:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 15:16 [PATCH 0/2] KVM: s390: vsie: fix instruction retry for nested guests in ESA mode Yvan Janssens
2026-11-25 15:16 ` [PATCH 1/2] KVM: s390: vsie: Rewind the PSW of ESA mode guests in the right format Yvan Janssens
2026-11-25 16:19   ` Janosch Frank
2026-11-25 17:04     ` Yvan Janssens [this message]
2026-11-25 15:16 ` [PATCH 2/2] KVM: s390: selftests: Add a test for nested guests in ESA mode Yvan Janssens

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=20261125170456.3077577-1-yvanj@cyber.gent \
    --to=yvanj@cyber.gent \
    --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=frankja@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 \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®