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 6/6] selftests: KVM: testing the local IRQs resets
Date: Fri, 31 Jan 2020 12:47:32 +0100 [thread overview]
Message-ID: <b72b4119-913b-9bed-069f-18c0eb4c910f@redhat.com> (raw)
In-Reply-To: <20200131100205.74720-7-frankja@linux.ibm.com>
On 31/01/2020 11.02, Janosch Frank wrote:
> From: Pierre Morel <pmorel@linux.ibm.com>
>
> Local IRQs are reset by a normal cpu reset. The initial cpu reset and
> the clear cpu reset, as superset of the normal reset, both clear the
> IRQs too.
>
> Let's inject an interrupt to a vCPU before calling a reset and see if
> it is gone after the reset.
>
> We choose to inject only an emergency interrupt at this point and can
> extend the test to other types of IRQs later.
>
> Signed-off-by: Pierre Morel <pmorel@linux.ibm.com>
> Signed-off-by: Janosch Frank <frankja@linux.ibm.com>[minor fixups]
> ---
> tools/testing/selftests/kvm/s390x/resets.c | 42 ++++++++++++++++++++++
> 1 file changed, 42 insertions(+)
Reviewed-by: Thomas Huth <thuth@redhat.com>
next prev parent reply other threads:[~2020-01-31 11:47 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
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 [this message]
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=b72b4119-913b-9bed-069f-18c0eb4c910f@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).