From: David Hildenbrand Subject: Re: [PATCH v2 06/12] KVM: s390: exploit GISA and AIV for emulated interrupts Date: Thu, 25 Jan 2018 16:27:17 +0100 Message-ID: <266395db-2433-05de-b3a9-5c1b335245aa@redhat.com> References: <20180125132848.175942-1-borntraeger@de.ibm.com> <20180125132848.175942-7-borntraeger@de.ibm.com> <040c7c5d-bbbd-89d4-ebcd-5d04ed80a40d@redhat.com> <7624195c-6933-ec70-11c5-328b247f21b8@de.ibm.com> <20180125160502.6229000d.cohuck@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20180125160502.6229000d.cohuck@redhat.com> Content-Language: en-US Sender: kvm-owner@vger.kernel.org List-Archive: List-Post: To: Cornelia Huck , Christian Borntraeger Cc: KVM , linux-s390 , Janosch Frank , Martin Schwidefsky , Heiko Carstens , Michael Mueller List-ID: On 25.01.2018 16:05, Cornelia Huck wrote: > On Thu, 25 Jan 2018 15:45:14 +0100 > Christian Borntraeger wrote: > >> On 01/25/2018 03:42 PM, David Hildenbrand wrote: >>> On 25.01.2018 15:32, Christian Borntraeger wrote: >>>> >>>> >>>> On 01/25/2018 03:20 PM, David Hildenbrand wrote: >>>> >>>>>> +void kvm_s390_gisa_init(struct kvm *kvm) >>>>>> +{ >>>>>> + if (1 || !css_general_characteristics.aiv) >>>>>> + kvm->arch.gisa = NULL; >>>>> >>>>> 1 || ... ? This will always trigger. -> gisa never active with this patch >>>> >>>> See patch 10. >>>> >>> >>> Well than this is just ugly this way. >> >> Reshuffling this is hard due to code dependencies. I can try to minimize this. >> The alternative is to merge patches 6,7,8,9 and 10, but this split makes it >> easier to review the parts. >> > > if (1 /* disabled for now */ || !css_general_characteristics.aiv) > > ? > > I dunno, I'm not really bothered by this. > Or add the enabling code when you can enable it? -- Thanks, David / dhildenb