From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756779AbdABTuP (ORCPT ); Mon, 2 Jan 2017 14:50:15 -0500 Received: from mx1.redhat.com ([209.132.183.28]:48450 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755893AbdABTtw (ORCPT ); Mon, 2 Jan 2017 14:49:52 -0500 From: Vitaly Kuznetsov To: "K. Y. Srinivasan" Cc: linux-kernel@vger.kernel.org, devel@linuxdriverproject.org, Haiyang Zhang , Dexuan Cui , Stephen Hemminger Subject: Re: [PATCH 0/7] hv: CPU onlining/offlining fixes and improvements References: <1480078123-17582-1-git-send-email-vkuznets@redhat.com> Date: Mon, 02 Jan 2017 20:49:49 +0100 In-Reply-To: <1480078123-17582-1-git-send-email-vkuznets@redhat.com> (Vitaly Kuznetsov's message of "Fri, 25 Nov 2016 13:48:36 +0100") Message-ID: <87eg0lw8bm.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.30]); Mon, 02 Jan 2017 19:49:52 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Vitaly Kuznetsov writes: > Some time ago we forbade CPU offlining for Hyper-V and this was sufficient > if you boot with all CPUs onlined. Turns out, people may want to limit the > number online CPUs by passing 'maxcpus=' kernel parameter and we hit a > crash in Hyper-V code in this case. After some thinking, I think we may not > only fix the crash but also make the offlining prevention fine-grained: we > need to prevent from offlining CPUs which have VMBus channels attached > only. All offlined CPUs may always be onlined. > > PATCH1 fixes a bug which is not directly related to the series, I hit it > while testing hv_vmbus module unload with this series. > > Vitaly Kuznetsov (7): > hv: acquire vmbus_connection.channel_mutex in vmbus_free_channels() > hv: allocate synic pages for all present CPUs > hv: init percpu_list in hv_synic_alloc() > hv: change clockevents unbind tactics > hv: check all present cpus in vmbus_wait_for_unload() > hv: switch to cpuhp state machine for synic init/cleanup > hv: make CPU offlining prevention fine-grained K. Y., it seems that for some reason only patches 1 and 4 from this series made it upstream (and to char-misc tree). Could you please resend the rest to Greg? Please let me know if you want me to rebase/retest. Thanks! -- Vitaly