public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Cornelia Huck <cohuck@redhat.com>
To: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: "David Hildenbrand" <david@redhat.com>,
	kvm@vger.kernel.org, "Paolo Bonzini" <pbonzini@redhat.com>,
	"Radim Krčmář" <rkrcmar@redhat.com>
Subject: Re: [PATCH v1 3/4] KVM: s390: vsie: cleanup mcck reinjection
Date: Thu, 31 Aug 2017 13:11:56 +0200	[thread overview]
Message-ID: <20170831131156.5d7c3d79.cohuck@redhat.com> (raw)
In-Reply-To: <93ab3b20-beca-3adb-f272-eeee8c87d799@de.ibm.com>

On Thu, 31 Aug 2017 13:01:39 +0200
Christian Borntraeger <borntraeger@de.ibm.com> wrote:

> Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
> 
> I will add some patch description like:
> 
> We already know that the machine check information was part of the vsie_page.

Shorten that to "The machine check information is part of the
vsie_page."?

In any case,

Reviewed-by: Cornelia Huck <cohuck@redhat.com>

> 
> applied.
> 
> On 08/30/2017 06:06 PM, David Hildenbrand wrote:
> > Signed-off-by: David Hildenbrand <david@redhat.com>
> > ---
> >  arch/s390/kvm/vsie.c | 6 +-----
> >  1 file changed, 1 insertion(+), 5 deletions(-)
> > 
> > diff --git a/arch/s390/kvm/vsie.c b/arch/s390/kvm/vsie.c
> > index 715c19c45d9a..b5eec30eb37d 100644
> > --- a/arch/s390/kvm/vsie.c
> > +++ b/arch/s390/kvm/vsie.c
> > @@ -806,8 +806,6 @@ static int do_vsie_run(struct kvm_vcpu *vcpu, struct vsie_page *vsie_page)
> >  {
> >  	struct kvm_s390_sie_block *scb_s = &vsie_page->scb_s;
> >  	struct kvm_s390_sie_block *scb_o = vsie_page->scb_o;
> > -	struct mcck_volatile_info *mcck_info;
> > -	struct sie_page *sie_page;
> >  	int rc;
> > 
> >  	handle_last_fault(vcpu, vsie_page);
> > @@ -831,9 +829,7 @@ static int do_vsie_run(struct kvm_vcpu *vcpu, struct vsie_page *vsie_page)
> > 
> >  	if (rc == -EINTR) {
> >  		VCPU_EVENT(vcpu, 3, "%s", "machine check");
> > -		sie_page = container_of(scb_s, struct sie_page, sie_block);
> > -		mcck_info = &sie_page->mcck_info;
> > -		kvm_s390_reinject_machine_check(vcpu, mcck_info);
> > +		kvm_s390_reinject_machine_check(vcpu, &vsie_page->mcck_info);
> >  		return 0;
> >  	}
> >   
> 

  reply	other threads:[~2017-08-31 11:12 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-30 16:05 [PATCH v1 0/4] s390x: one fix and three cleanups David Hildenbrand
2017-08-30 16:06 ` [PATCH v1 1/4] KVM: s390: guestdbg: fix range check David Hildenbrand
2017-08-31 10:13   ` Cornelia Huck
2017-08-31 10:36   ` Christian Borntraeger
2017-08-30 16:06 ` [PATCH v1 2/4] KVM: s390: use WARN_ON_ONCE only for checking David Hildenbrand
2017-08-31 10:16   ` Cornelia Huck
2017-08-31 10:55   ` Christian Borntraeger
2017-08-30 16:06 ` [PATCH v1 3/4] KVM: s390: vsie: cleanup mcck reinjection David Hildenbrand
2017-08-31 11:01   ` Christian Borntraeger
2017-08-31 11:11     ` Cornelia Huck [this message]
2017-08-30 16:06 ` [PATCH v1 4/4] KVM: s390: vsie: use common code functions for pinning David Hildenbrand
2017-08-31 11:44   ` Christian Borntraeger
2017-08-31 12:13     ` David Hildenbrand
2017-08-31 12:22       ` Christian Borntraeger
2017-08-31 13:00         ` David Hildenbrand
2017-09-01 12:49           ` Christian Borntraeger
2017-09-01 13:18             ` David Hildenbrand

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=20170831131156.5d7c3d79.cohuck@redhat.com \
    --to=cohuck@redhat.com \
    --cc=borntraeger@de.ibm.com \
    --cc=david@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=rkrcmar@redhat.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