Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934706AbcLOKys (ORCPT ); Thu, 15 Dec 2016 05:54:48 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47578 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752070AbcLOKyr (ORCPT ); Thu, 15 Dec 2016 05:54:47 -0500 From: Vitaly Kuznetsov To: Olaf Hering Cc: kys@microsoft.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, devel@linuxdriverproject.org Subject: Re: move hyperv CHANNELMSG_UNLOAD from crashed kernel to kdump kernel References: <20161207085110.GC1618@aepfle.de> <87r3594hef.fsf@vitty.brq.redhat.com> <20161215103402.GA6336@aepfle.de> <20161215103609.GB6336@aepfle.de> Date: Thu, 15 Dec 2016 11:54:44 +0100 In-Reply-To: <20161215103609.GB6336@aepfle.de> (Olaf Hering's message of "Thu, 15 Dec 2016 11:36:09 +0100") Message-ID: <87inql4g3v.fsf@vitty.brq.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Thu, 15 Dec 2016 10:54:47 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 818 Lines: 24 Olaf Hering writes: > On Thu, Dec 15, Olaf Hering wrote: > >> On Thu, Dec 15, Vitaly Kuznetsov wrote: >> >> > I see a number of minor but at least one major issue against such move: >> > At least for some Hyper-V versions (2012R2 for example) >> > CHANNELMSG_UNLOAD_RESPONSE is delivered to the CPU which initially sent >> > CHANNELMSG_REQUESTOFFERS and on kdump we may not have this CPU up as >> > we usually do kdump with nr_cpus=1 (and on the CPU which crashed). >> >> Since the kdump or kexec kernel will send the unload during boot I would >> expect the response to arrive where it was sent, independent from the >> number of cpus. > > Wait, I just noticed that "REQUESTOFFERS" now. That might be a reason > why my suggestion will not work. > Yep, that's what I meant to say. -- Vitaly