From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Borntraeger Subject: Re: [GIT PULL 04/10] KVM: s390: enable SRS only if enabled for the guest Date: Mon, 9 May 2016 13:31:12 +0200 Message-ID: <57307500.80802@de.ibm.com> References: <1462785621-12600-1-git-send-email-borntraeger@de.ibm.com> <1462785621-12600-5-git-send-email-borntraeger@de.ibm.com> <20160509103220.GA4081@osiris> <57306DCA.8040605@de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: Paolo Bonzini , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , KVM , Cornelia Huck , linux-s390 , Jens Freimann , David Hildenbrand , Alexander Yarygin To: Heiko Carstens Return-path: Received: from e06smtp17.uk.ibm.com ([195.75.94.113]:34172 "EHLO e06smtp17.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751029AbcEILbR (ORCPT ); Mon, 9 May 2016 07:31:17 -0400 Received: from localhost by e06smtp17.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 9 May 2016 12:31:16 +0100 In-Reply-To: <57306DCA.8040605@de.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: On 05/09/2016 01:00 PM, Christian Borntraeger wrote: > On 05/09/2016 12:32 PM, Heiko Carstens wrote: >> On Mon, May 09, 2016 at 11:20:15AM +0200, Christian Borntraeger wrote: >>> From: David Hildenbrand >>> >>> If we don't have SIGP SENSE RUNNING STATUS enabled for the guest, let's >>> not enable interpretation so we can correctly report an invalid order. >>> >>> Reviewed-by: Christian Borntraeger >>> Signed-off-by: David Hildenbrand >>> Signed-off-by: Christian Borntraeger >>> --- >>> arch/s390/include/asm/sigp.h | 1 + >>> arch/s390/kvm/kvm-s390.c | 4 +++- >>> arch/s390/kvm/sigp.c | 6 ++++++ >>> 3 files changed, 10 insertions(+), 1 deletion(-) >>> >>> diff --git a/arch/s390/include/asm/sigp.h b/arch/s390/include/asm/sigp.h >>> index ec60cf7..35c91da 100644 >>> --- a/arch/s390/include/asm/sigp.h >>> +++ b/arch/s390/include/asm/sigp.h >>> @@ -33,6 +33,7 @@ >>> #define SIGP_STATUS_INVALID_PARAMETER 0x00000100UL >>> #define SIGP_STATUS_INCORRECT_STATE 0x00000200UL >>> #define SIGP_STATUS_NOT_RUNNING 0x00000400UL >>> +#define SIGP_STATUS_INVALID_ORDER 0x00000002UL >> >> This new define should have been added at the top the list to keep the list >> sorted. Maybe Paolo or Radim can change this when applying this patch. > > Its a signed pull request and I must redo it if requested. > > > Conny noticed a typo in the subject of patch3. So I will redo the pull request as we have now 2 things to change. Christian