Linux s390 Architecture development
 help / color / mirror / Atom feed
From: Dan Carpenter <dan@pereq.eu>
To: sashiko-reviews@lists.linux.dev
Cc: kvmarm@lists.linux.dev, kvm@vger.kernel.org,
	"Oliver Upton" <oupton@kernel.org>,
	"Marc Zyngier" <maz@kernel.org>,
	linux-s390@vger.kernel.org,
	"Christian Borntraeger" <borntraeger@linux.ibm.com>,
	"Janosch Frank" <frankja@linux.ibm.com>,
	"Claudio Imbrenda" <imbrenda@linux.ibm.com>,
	"Steffen Eiden" <seiden@linux.ibm.com>,
	"Karthik Bhargavan" <karthik@pereq.eu>,
	"Clément Blaudeau" <clement@cryspen.com>
Subject: Re: [PATCH v2 2/8] KVM: arm64: Reset SP_EL1, ELR_EL1 and SPSR_EL1 when resetting a vcpu
Date: Wed, 25 Nov 2026 12:18:42 +0300	[thread overview]
Message-ID: <awan8mSx5cbzXzJ7@stanley.mountain> (raw)
In-Reply-To: <awam4std0Zifdn9k@stanley.mountain>

On Wed, Nov 25, 2026 at 12:14:10PM +0300, Dan Carpenter wrote:
> Let me add the s390 maintainers to the CC list.
> 
> I considered doing it the way Sashiko suggests but s390 doesn't have the
> __vcpu_assign_sys_reg() helpers so it broke the build.  The registers are
> not the same so, either way, some of this is going to be specific to
> arm64.  But Sashiko is correct that s390 probably keeps a stale SP_EL1
> across a reset.  The s390 maintainers could probably take the selftest in
> patch 8 and modify it for s390.  :)
> 

Actually, never mind.  This can be done in kvm_reset_vcpu_core() like
Suzuki Poulose suggests.

regards,
dan carpenter

      reply	other threads:[~2026-11-25  9:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20261125-double_exception-v2-0-224689d8a764@pereq.eu>
     [not found] ` <20261125-double_exception-v2-2-224689d8a764@pereq.eu>
     [not found]   ` <sashiko-outbox-232760@kernel.org>
2026-11-25  9:14     ` [PATCH v2 2/8] KVM: arm64: Reset SP_EL1, ELR_EL1 and SPSR_EL1 when resetting a vcpu Dan Carpenter
2026-11-25  9:18       ` Dan Carpenter [this message]

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=awan8mSx5cbzXzJ7@stanley.mountain \
    --to=dan@pereq.eu \
    --cc=borntraeger@linux.ibm.com \
    --cc=clement@cryspen.com \
    --cc=frankja@linux.ibm.com \
    --cc=imbrenda@linux.ibm.com \
    --cc=karthik@pereq.eu \
    --cc=kvm@vger.kernel.org \
    --cc=kvmarm@lists.linux.dev \
    --cc=linux-s390@vger.kernel.org \
    --cc=maz@kernel.org \
    --cc=oupton@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=seiden@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