From patchwork Mon Oct 9 02:58:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhenzhong Duan X-Patchwork-Id: 9992125 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C94FF60244 for ; Mon, 9 Oct 2017 03:01:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AD7F4285E2 for ; Mon, 9 Oct 2017 03:01:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AC286286A2; Mon, 9 Oct 2017 03:01:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 43B8B286C0 for ; Mon, 9 Oct 2017 03:01:46 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1OHY-0007QX-7C; Mon, 09 Oct 2017 02:59:04 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1OHX-0007QR-OU for xen-devel@lists.xenproject.org; Mon, 09 Oct 2017 02:59:03 +0000 Received: from [85.158.137.68] by server-17.bemta-3.messagelabs.com id 03/33-01909-6F5EAD95; Mon, 09 Oct 2017 02:59:02 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrKIsWRWlGSWpSXmKPExsUyZ7p8oO63p7c iDSYtELP4vmUykwOjx+EPV1gCGKNYM/OS8isSWDP6P79mKvjLXrHh8Q/GBsYvbF2MXBxCAhOY JFq3XmCEcP4wStz/dpO1i5ETyNnAKPHonjmIzSsgKHFy5hMWCNtK4s2ei0xdjBwcLAJaEquPF 4KE2QQMJNZM/8YGYosIeEtsObWEFWQms8BPRonrTcfBeoUFwiW2n+lnBLElBJQk/m3tZgGZwy ygLrF+nhBImFlAW2LZwtfMEGFpieX/OCCqDSVOP9zGOIGRfxaSg2YhNM9C0jwLoXkBI8sqRo3 i1KKy1CJdQ0O9pKLM9IyS3MTMHF1DA2O93NTi4sT01JzEpGK95PzcTYzAwGQAgh2Mq387HWKU 5GBSEuUNenwrUogvKT+lMiOxOCO+qDQntfgQowwHh5IEryow0IUEi1LTUyvSMnOAMQKTluDgU RLhVXsClOYtLkjMLc5Mh0idYjTmOLbp8h8mjo6bd/8wCbHk5eelSonzKoFMEgApzSjNgxsEi9 1LjLJSwryMQKcJ8RSkFuVmlqDKv2IU52BUEubdArKQJzOvBG7fK6BTmIBOYSy+AXJKSSJCSqq B0XBr7aMJoqtfmEwLeBeyrIxDYUm3cezalSej5Z+tm9vB/5ltXcned9vXL57mc/t2h9LJuPhJ m9zuVQavC9F3Spm153GzmaFwqkPWQiPGFTeFTkvdzlsUeUP2nuPJyQmX1i/8vMAq9pdct3ejv y+f3i3eCdfmicmePKq3WDgkrvt36bWtG1imSiuxFGckGmoxFxUnAgCr30l12AIAAA== X-Env-Sender: zhenzhong.duan@oracle.com X-Msg-Ref: server-11.tower-31.messagelabs.com!1507517940!78442518!1 X-Originating-IP: [156.151.31.81] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogMTU2LjE1MS4zMS44MSA9PiAyODgzMzk=\n X-StarScan-Received: X-StarScan-Version: 9.4.45; banners=-,-,- X-VirusChecked: Checked Received: (qmail 42057 invoked from network); 9 Oct 2017 02:59:02 -0000 Received: from userp1040.oracle.com (HELO userp1040.oracle.com) (156.151.31.81) by server-11.tower-31.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 9 Oct 2017 02:59:02 -0000 Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v992wmR0013286 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 9 Oct 2017 02:58:48 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v992wlv8031711 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 9 Oct 2017 02:58:48 GMT Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id v992wlrf007740; Mon, 9 Oct 2017 02:58:47 GMT MIME-Version: 1.0 Message-ID: Date: Sun, 8 Oct 2017 19:58:46 -0700 (PDT) From: Zhenzhong Duan To: , , X-Mailer: Zimbra on Oracle Beehive Content-Disposition: inline X-Source-IP: userv0021.oracle.com [156.151.31.71] Cc: x86@kernel.org, Joe Jin , linux-kernel@vger.kernel.org, Srinivas REDDY Eeda , mingo@redhat.com, hpa@zytor.com, xen-devel@lists.xenproject.org, tglx@linutronix.de Subject: [Xen-devel] [PATCH] xen/vcpu: Use a unified name about cpu hotplug state for pv and pvhvm X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP As xen_cpuhp_setup is called by PV and PVHVM, the name of "x86/xen/hvm_guest" is confusing. Signed-off-by: Zhenzhong Duan Reviewed-by: Boris Ostrovsky --- arch/x86/xen/enlighten.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 0e7ef69..d669e9d 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c @@ -93,11 +93,11 @@ int xen_cpuhp_setup(int (*cpu_up_prepare_cb)(unsigned int), int rc; rc = cpuhp_setup_state_nocalls(CPUHP_XEN_PREPARE, - "x86/xen/hvm_guest:prepare", + "x86/xen/guest:prepare", cpu_up_prepare_cb, cpu_dead_cb); if (rc >= 0) { rc = cpuhp_setup_state_nocalls(CPUHP_AP_ONLINE_DYN, - "x86/xen/hvm_guest:online", + "x86/xen/guest:online", xen_cpu_up_online, NULL); if (rc < 0) cpuhp_remove_state_nocalls(CPUHP_XEN_PREPARE);