Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp5412936rwn; Mon, 12 Sep 2022 08:40:54 -0700 (PDT) X-Google-Smtp-Source: AA6agR7I4p9z6a7LDHSYB9gDcXP7cy7z8aQRSY9dn8YZ8HDV0Nzckp9jnh646sQq62CwV560rxCs X-Received: by 2002:a05:6a00:1a91:b0:52f:29e7:c32c with SMTP id e17-20020a056a001a9100b0052f29e7c32cmr28467584pfv.10.1662997253689; Mon, 12 Sep 2022 08:40:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662997253; cv=none; d=google.com; s=arc-20160816; b=j+78FCz91yeSi7f87gU75h9ZGPAhKgCMLuQug4gp6NjIr4nsXny9Ey2Uz4h8YD3UEG nTFU10ABNaalwCBT1zmRxrYSiwsBMo9RUnqiQdGNn58ZMzdXAdu4zkV/XnSWopjDk/fk 6B0kqGHxZuPcJVjuBaTw72g76VywiNk2IGxZQ2SfMa2gxS5jwWxpvIfVdWpFNwgSmREP aFIlTlSG00cb35xhyyLEPdYal+uvjjX/M7PHW6bpgYGnXeTgTUTF8EYBCBYE3ryPOsju 8HhzFS6Kgjpv/6H3vixMTMUypMmgnXQINX4CgczUKpa9kI9jyTlVEooHHx5V0Mv6CAls HM9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature; bh=k/ng38McRUWaEdXGHJNxeiQMDxDqaVKInyzysSMlxQA=; b=WHOIr3hhi+fTUCg/QpJ8FSSTj33/g0TlKVb8OaNevq7pu2OBDbfgokUW//W1eyH5QC Qw3nkrblserKkiz63HBRWtERAMILDRYTN36uqdwNmm5kuMmPdvkQTZUJwH30O1Lm538J wOndWlKq68q7mAdyTyEhLPNZvJBZZkI/u9C3yRqikwl5w1VVno4H7XGtFBUWI6IXWZG1 9mCjyYDqq5+DbmXVpXY8E6Qxnx2xSvPFqxakwBxyhqBzCYMl72I+K72SQGQOGU2oujBo qR/iElQWe4xiNtWHKArYR1FJGKW5OetrZC7NyWMwYId4SFYOV4Hcgr0DuKpUVVdrNwu3 HlCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Qm7KKsKs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w2-20020a17090aaf8200b0020264f4af2fsi8728722pjq.156.2022.09.12.08.40.41; Mon, 12 Sep 2022 08:40:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Qm7KKsKs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229950AbiILPHO (ORCPT + 99 others); Mon, 12 Sep 2022 11:07:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229889AbiILPHK (ORCPT ); Mon, 12 Sep 2022 11:07:10 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85CA51AF20; Mon, 12 Sep 2022 08:07:08 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D0B38B80DBE; Mon, 12 Sep 2022 15:07:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 84992C433D6; Mon, 12 Sep 2022 15:07:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662995225; bh=Rg7NLMuwouiEh43/lwL7/797vz3AXVpAGDi9DAV/nXk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Qm7KKsKsfKnft9z+m8x2ba258/rcheKKGMsbvPHtcAMw1sRZkUxSTUQcW/jW4d70U l2vnJG/MyS/AqmGmo2OCqn4Am8OIE2yY7k51XtMykXJP0SeDWgUb5mBX8JVVb4NWr3 4owBowB0tbm0pEpyVMgGUBqQ2KL+fKi3lhanUx9GOwI0tjtvmPmWkTxpFeOwh6/do3 nS5fItI2EGs4FmsoASmDgL5WqmGJ88Z2JeZxeE724PoPw+2sa/Ndqu9BlFjkmcjIav nyqzwmHW2/bWFgNFR+fvG6xfweXYHyiYxyG4p8s7CkcEpGS1Z+zdlmCj/zJPzylPqy 2yCAnpIJ/W+xQ== Received: from [89.101.193.71] (helo=wait-a-minute.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1oXl1b-009ic4-7f; Mon, 12 Sep 2022 16:07:03 +0100 Date: Mon, 12 Sep 2022 16:07:02 +0100 Message-ID: <877d28ocmh.wl-maz@kernel.org> From: Marc Zyngier To: isaku.yamahata@intel.com Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Paolo Bonzini , Sean Christopherson , Will Deacon , Yuan Yao , isaku.yamahata@gmail.com, Kai Huang , Chao Gao , Atish Patra , Shaokun Zhang , Qi Liu , John Garry , Daniel Lezcano , Huang Ying , Huacai Chen Subject: Re: [PATCH v4 06/26] KVM: arm64: Simplify the CPUHP logic In-Reply-To: <2b74ba0aa514e3e86c4513d12614664002996067.1662679124.git.isaku.yamahata@intel.com> References: <2b74ba0aa514e3e86c4513d12614664002996067.1662679124.git.isaku.yamahata@intel.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 89.101.193.71 X-SA-Exim-Rcpt-To: isaku.yamahata@intel.com, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, pbonzini@redhat.com, seanjc@google.com, will@kernel.org, yuan.yao@linux.intel.com, isaku.yamahata@gmail.com, kai.huang@intel.com, chao.gao@intel.com, atishp@atishpatra.org, zhangshaokun@hisilicon.com, liuqi115@huawei.com, john.garry@huawei.com, daniel.lezcano@linaro.org, ying.huang@intel.com, chenhuacai@kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 09 Sep 2022 00:25:22 +0100, isaku.yamahata@intel.com wrote: > > From: Marc Zyngier > > For a number of historical reasons, the KVM/arm64 hotplug setup is pretty > complicated, and we have two extra CPUHP notifiers for vGIC and timers. > > It looks pretty pointless, and gets in the way of further changes. > So let's just expose some helpers that can be called from the core > CPUHP callback, and get rid of everything else. > > This gives us the opportunity to drop a useless notifier entry, > as well as tidy-up the timer enable/disable, which was a bit odd. > > Signed-off-by: Marc Zyngier > Signed-off-by: Chao Gao > Link: https://lore.kernel.org/r/20220216031528.92558-5-chao.gao@intel.com > Signed-off-by: Isaku Yamahata Since this patch is substantially different from the version pointed to on the list, please drop Chao's SoB and the Link: tag, as they are not relevant anymore. Thanks, M. -- Without deviation from the norm, progress is not possible.