Received: from eggs.gnu.org ([2001:4830:134:3::10]:40539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2bBF-0005fu-1A for qemu-devel@nongnu.org; Thu, 03 Jul 2014 03:11:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X2bB9-0001uU-0w for qemu-devel@nongnu.org; Thu, 03 Jul 2014 03:11:40 -0400 Received: from oxygen.pond.sub.org ([2a01:4f8:201:233:1::3]:46789) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2bB8-0001uC-Qd for qemu-devel@nongnu.org; Thu, 03 Jul 2014 03:11:34 -0400 From: Markus Armbruster References: <1402630619-4408-1-git-send-email-aik@ozlabs.ru> <1402630619-4408-4-git-send-email-aik@ozlabs.ru> <20140613080011.7048ce6c.cornelia.huck@de.ibm.com> <539BB66E.10408@ozlabs.ru> <20140616091606.2343cc08.cornelia.huck@de.ibm.com> <539EABC2.2010307@ozlabs.ru> <539EACBC.6060705@suse.de> <53A82C8A.4020908@ozlabs.ru> <53B4E31F.1040801@ozlabs.ru> Date: Thu, 03 Jul 2014 09:11:30 +0200 In-Reply-To: <53B4E31F.1040801@ozlabs.ru> (Alexey Kardashevskiy's message of "Thu, 03 Jul 2014 14:59:11 +1000") Message-ID: <87ha2yudb1.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v7 3/4] s390x: Migrate to new NMI interface List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: Peter Maydell , qemu-devel@nongnu.org, Alexander Graf , Luiz Capitulino , Christian Borntraeger , qemu-ppc@nongnu.org, Cornelia Huck , Paolo Bonzini , Richard Henderson Alexey Kardashevskiy writes: > On 06/23/2014 11:32 PM, Alexey Kardashevskiy wrote: >> On 06/16/2014 06:37 PM, Alexander Graf wrote: >>> >>> On 16.06.14 10:33, Alexey Kardashevskiy wrote: >>>> On 06/16/2014 05:16 PM, Cornelia Huck wrote: >>>>> On Sat, 14 Jun 2014 12:41:50 +1000 >>>>> Alexey Kardashevskiy wrote: >>>>> >>>>>> On 06/13/2014 04:00 PM, Cornelia Huck wrote: >>>>>>> On Fri, 13 Jun 2014 13:36:58 +1000 >>>>>>> Alexey Kardashevskiy wrote: >>>>>>> >>>>>>>> This implements an NMI interface for s390 and s390-ccw machines. >>>>>>>> >>>>>>>> This removes #ifdef s390 branch in qmp_inject_nmi so new s390's >>>>>>>> nmi_monitor_handler() callback is going to be used for NMI. >>>>>>>> >>>>>>>> Since nmi_monitor_handler()-calling code is platform independent, >>>>>>>> CPUState::cpu_index is used instead of S390CPU::env.cpu_num. >>>>>>>> There should not be any change in behaviour as both @cpu_index and >>>>>>>> @cpu_num are global CPU numbers. >>>>>>>> >>>>>>>> Also, s390_cpu_restart() takes care of preforming operations in >>>>>>>> the specific CPU thread so no extra measure is required here either. >>>>>>> I find this paragraph a bit confusing; I'd just remove it. >>>>>> Besides bad english (please feel free to adjust it), what else is >>>>>> confusing >>>>>> here? I put it there because the spapr patch makes use of >>>>>> async_run_on_cpu() and maintainers may ask why I do not do the same for >>>>>> other platforms. This way I hoped I could reduce number of versions to >>>>>> post :) >>>>> What about >>>>> >>>>> "Note that s390_cpu_restart() already takes care of the specified cpu, >>>>> so we don't need to schedule via async_run_on_cpu()." >>>> I fail to see how exactly this is better or different but ok :) >>>> >>>> >>>> Alex, should I repost it with Cornelia's suggestion? What should happen >>>> next to this patchset? Who is supposed to pick it up? Thanks. >>> >>> Just post v8 of that single patch with the right message-id as reference. I >>> can pick up the patches, but I'd like at least an ack from Paolo on the >>> whole set. >> >> >> Anybody, ping? Or we are waiting till x86 machines got QOM'ed and then I'll >> repost it with x86 NMI handler? Thanks! > > > Paolo promised to ack (in irc) and obviously forgot :) Should I give up and > stop bothering noble people? :) No, you should politely bother them again.