All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: Janosch Frank <frankja@linux.ibm.com>, kvm@vger.kernel.org
Cc: borntraeger@de.ibm.com, david@redhat.com, cohuck@redhat.com,
	linux-s390@vger.kernel.org
Subject: Re: [PATCH v10 3/6] KVM: s390: Add new reset vcpu API
Date: Fri, 31 Jan 2020 12:44:05 +0100	[thread overview]
Message-ID: <7e36cbd4-3f37-8509-400e-c2c708281aeb@redhat.com> (raw)
In-Reply-To: <20200131100205.74720-4-frankja@linux.ibm.com>

On 31/01/2020 11.02, Janosch Frank wrote:
> The architecture states that we need to reset local IRQs for all CPU
> resets. Because the old reset interface did not support the normal CPU
> reset we never did that on a normal reset.
> 
> Let's implement an interface for the missing normal and clear resets
> and reset all local IRQs, registers and control structures as stated
> in the architecture.
> 
> Userspace might already reset the registers via the vcpu run struct,
> but as we need the interface for the interrupt clearing part anyway,
> we implement the resets fully and don't rely on userspace to reset the
> rest.
> 
> Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
> Reviewed-by: Cornelia Huck <cohuck@redhat.com>
> Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
> ---
>  Documentation/virt/kvm/api.txt | 43 +++++++++++++++++
>  arch/s390/kvm/kvm-s390.c       | 84 +++++++++++++++++++++++-----------
>  include/uapi/linux/kvm.h       |  5 ++
>  3 files changed, 105 insertions(+), 27 deletions(-)

Reviewed-by: Thomas Huth <thuth@redhat.com>

  reply	other threads:[~2020-01-31 11:44 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-31 10:01 [PATCH v10 0/6] KVM: s390: Add new reset vcpu API Janosch Frank
2020-01-31 10:02 ` [PATCH v10 1/6] KVM: s390: do not clobber registers during guest reset/store status Janosch Frank
2020-01-31 11:24   ` Christian Borntraeger
2020-01-31 10:02 ` [PATCH v10 2/6] KVM: s390: Cleanup initial cpu reset Janosch Frank
2020-01-31 11:31   ` Christian Borntraeger
2020-01-31 10:02 ` [PATCH v10 3/6] KVM: s390: Add new reset vcpu API Janosch Frank
2020-01-31 11:44   ` Thomas Huth [this message]
2020-01-31 11:50   ` Christian Borntraeger
2020-01-31 10:02 ` [PATCH v10 4/6] selftests: KVM: Add fpu and one reg set/get library functions Janosch Frank
2020-01-31 11:43   ` Christian Borntraeger
2020-01-31 13:59     ` Paolo Bonzini
2020-01-31 12:18   ` Christian Borntraeger
2020-01-31 10:02 ` [PATCH v10 5/6] selftests: KVM: s390x: Add reset tests Janosch Frank
2020-01-31 12:18   ` Christian Borntraeger
2020-01-31 10:02 ` [PATCH v10 6/6] selftests: KVM: testing the local IRQs resets Janosch Frank
2020-01-31 10:16   ` Cornelia Huck
2020-01-31 11:47   ` Thomas Huth
2020-01-31 12:47   ` Christian Borntraeger

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=7e36cbd4-3f37-8509-400e-c2c708281aeb@redhat.com \
    --to=thuth@redhat.com \
    --cc=borntraeger@de.ibm.com \
    --cc=cohuck@redhat.com \
    --cc=david@redhat.com \
    --cc=frankja@linux.ibm.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-s390@vger.kernel.org \
    /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.