Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp590429rwd; Wed, 14 Jun 2023 22:15:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5cSLtpK9FK7NJG2D3VUsKta3wtpyViDMfsNRM0NaXSlsNLN2EprU/cbP2VhK2ppvk8aMFU X-Received: by 2002:a05:6a20:4321:b0:117:71bf:a58a with SMTP id h33-20020a056a20432100b0011771bfa58amr3746750pzk.17.1686806134134; Wed, 14 Jun 2023 22:15:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686806134; cv=pass; d=google.com; s=arc-20160816; b=dz3YTTXIcuy0d63MXW5KV3PUMr6BsE+DuYzU4BDSE85w/1CFrW+euwYJ9g/qXi/pvv PHvwhwwHfw5b7A+zVnrMRv+7Blb7SR4Ii5uaCO32MdMXkf/N8Wb89tey6zPclPxW4b5A yRg+8JNoH0L2i6nA7MdxekM96sLHfeL92GEOiOhgB0CZK6nIh8tNOxUS9zxgbp8TWrwl hJzoe8RvldHrshBXh2PeSm9nVl3IhaI/etuBg8eIhC8EJy8YGrE/FvIfkNbzgxm9uzZo ckX+oHwcDGuNzzEMp8r5WAknwk5898xJZtN/lYSJ44ZvU2LJQQXNpS8uAXBp8xk64fqw i73Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :msip_labels:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=ZXKRRudZqBRoATLNZjCOcz2JVp54ixGobyCQwFQXH9k=; b=quvWcIMH3SSa91d+VDTozw9oMgV+txYkpCIJ93D6WzfbT8t7csGt/OfVAqkeXevrGU uosUIfDePYDmv/xAdIBYqChocs4olocjGVnZSIzaMdQvy9U+l2qCUSIMnERvHF9Z/N3l xiPjIAfZWg8xFayVk7wxllFPewBGQLdFb1S07il99qj75aipjwnsTdv1FYbdpIplFLKM dle/0GL1zjss53hhao0nuhb5mrigjIebwJ+vkBTg+4XvHVVOJHAM0+i9lRd5n9mYPsZH eo2OT6vsFD/Q7Vsag975HWpwvQjohxJAgcfs3W1Bka4ui/Gd9MF0k7g9KUQ/p/uIVYy9 oQug== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=bAHoQYU6; arc=pass (i=1 spf=pass spfdomain=microsoft.com dkim=pass dkdomain=microsoft.com dmarc=pass fromdomain=microsoft.com); 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=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u7-20020a17090341c700b001b3b250fd1csi2535244ple.301.2023.06.14.22.15.21; Wed, 14 Jun 2023 22:15:34 -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=@microsoft.com header.s=selector2 header.b=bAHoQYU6; arc=pass (i=1 spf=pass spfdomain=microsoft.com dkim=pass dkdomain=microsoft.com dmarc=pass fromdomain=microsoft.com); 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=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237928AbjFOE5O (ORCPT + 99 others); Thu, 15 Jun 2023 00:57:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234019AbjFOE5M (ORCPT ); Thu, 15 Jun 2023 00:57:12 -0400 Received: from BN6PR00CU002.outbound.protection.outlook.com (mail-eastus2azon11021018.outbound.protection.outlook.com [52.101.57.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 204832118; Wed, 14 Jun 2023 21:57:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mALjnZNYAnQzi9teh1mltkEl9fDZTS2Lr1pHjOyPimZ2v4LlCWEUjXQHGCuxTUYhUCBmU5TzM1hkE56hUa8kkMiZD94ba9vAikDwAtpARlAUc8rVjVXwndx3AjWriZcoubB/CyO1qW/6xs2m3nYPpvGfQAYZNyP7hAQQ8Kp+EV7ETBZJWDohNUrsVKULqbpokiEarvO40LaAbKZWELwkDCSrHTeumiaX8DTSLvsRNoRzHZISon+gQY6OX2g5eBD1XMyUDiFraGITc30/FDvUYa3+NQxVNdkrid9rDLzBP9qSz72Wa7YnRjz2+modKapw7hf5u+qWc2P3TnmQ5HAMkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ZXKRRudZqBRoATLNZjCOcz2JVp54ixGobyCQwFQXH9k=; b=ZsxtOR82D2PoZrEnY+AH6Zi6v2IsatcDJJ3FmgcOKLBFtSzIY5oBRlaWZJrOUJhEZNw+Yd7TV3/9EuegZLUrq0Fn0CvFUuCl2QpfpRrZXSMYqMnBBXFftuaxQIpvZ8xkW74PM5vULXCGade89LaW/3bhm2ndpv8N1WZYevyV8+cTf8/5Aq36X+tNpcNKoz0+UG4b7sYWrk5VB/QfNLPP0Vuv/ZD8wcHzmaxHg3miByl0cb/xa1RO/u9P5BFdK8DqCEM99V33ZVVZBPCoA0Rd5iFBp7TAOX8is7UGXvezi8Tn3/zYAETSiMfmml6VKahamAG/ygl5hN3mPuMaTmkwlQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZXKRRudZqBRoATLNZjCOcz2JVp54ixGobyCQwFQXH9k=; b=bAHoQYU6NDJhJgGxuUTUq9Xop4j1HuzKnobRSJwrn31bkwttTeuw1B1AiNTI5eCbJ9q/rPfteQgLwARA5hDN/UR/b2rJ6cygYL04hYITHdTMBY2Zae0Pnv8ChorpBokKs6iLDcV046Swx79qgPwcsU4JxHsoLcpqgFRZy922318= Received: from SA1PR21MB1335.namprd21.prod.outlook.com (2603:10b6:806:1f2::11) by SJ1PR21MB3745.namprd21.prod.outlook.com (2603:10b6:a03:453::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.0; Thu, 15 Jun 2023 04:57:06 +0000 Received: from SA1PR21MB1335.namprd21.prod.outlook.com ([fe80::bb03:96fc:3397:6022]) by SA1PR21MB1335.namprd21.prod.outlook.com ([fe80::bb03:96fc:3397:6022%4]) with mapi id 15.20.6521.009; Thu, 15 Jun 2023 04:57:06 +0000 From: Dexuan Cui To: "Michael Kelley (LINUX)" , "bp@alien8.de" CC: KY Srinivasan , Haiyang Zhang , "catalin.marinas@arm.com" , "will@kernel.org" , "tglx@linutronix.de" , "mingo@redhat.com" , "dave.hansen@linux.intel.com" , "hpa@zytor.com" , "linux-kernel@vger.kernel.org" , "linux-hyperv@vger.kernel.org" , Wei Liu , "linux-arm-kernel@lists.infradead.org" , "x86@kernel.org" Subject: RE: [PATCH v2 1/2] x86/hyperv: Fix hyperv_pcpu_input_arg handling when CPUs go online/offline Thread-Topic: [PATCH v2 1/2] x86/hyperv: Fix hyperv_pcpu_input_arg handling when CPUs go online/offline Thread-Index: AQHZmhcEH9Pry/rM70OIGsPwJiaqdq+LViXw Date: Thu, 15 Jun 2023 04:57:06 +0000 Message-ID: References: <1684862062-51576-1-git-send-email-mikelley@microsoft.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=90ce544f-5797-4f90-b34c-2d3f5a2ee06a;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2023-06-08T14:34:39Z;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SA1PR21MB1335:EE_|SJ1PR21MB3745:EE_ x-ms-office365-filtering-correlation-id: 96146e8c-67ce-4acf-4259-08db6d5cf7ff x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jCalO495gb1MNSSbc1dofQ4/nGqM7oD5QtsotxFMy2oKXMU1hnqeReeXhPzIhl03JbT3iBIpk9s1Ur4tdbWVn3o7/neAYVwHkAS1ta04MTt/d2OVjCUPg87Vl3YBbU2swJwALajWuBYuq+dyVzk/hhHEnlHhu2eEWQHoNIHwFc0FRMz3LdYhck1nl3nRuST/7lcHle3hAI1iYXk+/9HJlynj7IuIYYFXiJbFQSRSHZKMPC3cSrQ2eEXqqgUuSBXXol1MmW+RZTOhTAH6QmFbSUdSW7NGflWoGLhg21velpN8ScKupB9M6mGX+W0WOt0EIjR5RWKWTKycrMRnJntplj/ZGy8c8GBJ5ns21ohc3zvi0VAKXO1Poj48L9gn3kUqNFiUK2WYJY3g0L5tiEz+Jh1IOYYhQpn6Qe7buAHac+/tPOk/n0oOVkqEO4SMEEFQQk022oozPFRHNZnt3t59Ep6YvNqkn/5wf4j2fyM+BizVo2+zd4BiwUUqzg10hsRNnOGcMR7x6FhHh8Refq8bZNj3mXcX9mowy/1Z4xA7brbc76K6jve3ypqUnyIZVHC9lg1F8tx7lb+drxEv2+BwF8eNUODvaneZcvUEDJG/F85YHMj/tLHNas51ToT5K+6VFVp6JtrGhz6YSy8AunKBC28aPGqenTfpeyKNLSIvYPo= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA1PR21MB1335.namprd21.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(376002)(39860400002)(396003)(366004)(136003)(451199021)(55016003)(110136005)(54906003)(82950400001)(122000001)(82960400001)(71200400001)(478600001)(10290500003)(8936002)(8676002)(76116006)(66946007)(66476007)(41300700001)(64756008)(316002)(38100700002)(5660300002)(4326008)(66556008)(66446008)(186003)(7696005)(83380400001)(6506007)(53546011)(9686003)(86362001)(52536014)(33656002)(7416002)(38070700005)(2906002)(8990500004);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?tqASGbTXrjoLWU7RK101Q+iokF2zWn8PvFmt7xw2W82RAzS9iiOIVzzHBhWK?= =?us-ascii?Q?5FbydLyg9IzF9xTwfBQRhNgw2HfCPmq6i7zdOT6BFVfINNlUP+q7mSJfXB0N?= =?us-ascii?Q?whv8UqZhb1rb5Qp7inY8+JA2m/3PfFEXWN0oB573nVw8seStWXCcg5NAv9Xl?= =?us-ascii?Q?jjwPxRWdO5NObTL25p4NasHNytqj0ze8MALNVVSXhUyEgesC/vpvLg4/J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KlvGaPbTkN131nhdF1HB8s90?= =?us-ascii?Q?SiUrdiEQGkr0pUOmXuFfebCDVD8+VKWdOrKcmvVOc+2mGBS7tt3fiEROMTID?= =?us-ascii?Q?cxq+LXT8Wby5PU4GHArtLg9V74frnmQpCffQZVplwIdcqbRHpz63zm3LZ1r6?= =?us-ascii?Q?UVhPb6x0EYqcaTZlDuNFQXmQrE6VjLN5TG1FD75YvNyKD9ekenmqPA90QRVY?= =?us-ascii?Q?weVAFeB/wyJcnXE56OEye/twotSaczxBwAadt9BuKm0jlwmAAAijBZN45ldS?= =?us-ascii?Q?o/ZjDFf6K2zTim1Fa93IX91zOBxCTYW30X9V8LDbjcxlgWVm+v7jYbaqGSE8?= =?us-ascii?Q?r5n6anG4xMuCjU9C33bn1ieIhOiN1lR/acTpY93xJBfBspCFdB1/XY0iboHh?= =?us-ascii?Q?IiZWEVkW9pmahTH+R+uG9vRLWO5c7Jy4V1FCKZc62mYwTQH5+XbgSCG7O71T?= =?us-ascii?Q?kfqir/GhOSNDTQJ3Z+zuGTTcnyK4UcCXJ49JEVN8+QxK5rZa/xE4Z1X3S++y?= =?us-ascii?Q?NLxGlgdosfmrhpW6bSXkNnI=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA1PR21MB1335.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 96146e8c-67ce-4acf-4259-08db6d5cf7ff X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Jun 2023 04:57:06.8112 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: x1rGS7Ek3OuX3CrEPhcmHrHLdFUsO4lSlu+67u6U+QcAEOwEn0OGILdDdxpr2rlCDIY5SEuU1/UpwFFWjphoXQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ1PR21MB3745 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=no 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 > From: Michael Kelley (LINUX) > Sent: Thursday, June 8, 2023 7:39 AM > To: bp@alien8.de >=20 > From: Wei Liu > > > > On Tue, May 23, 2023 at 10:14:21AM -0700, Michael Kelley wrote: > > [...] > > > diff --git a/include/linux/cpuhotplug.h b/include/linux/cpuhotplug.h > > > index 0f1001d..3ceb9df 100644 > > > --- a/include/linux/cpuhotplug.h > > > +++ b/include/linux/cpuhotplug.h > > > @@ -200,6 +200,7 @@ enum cpuhp_state { > > > > > > /* Online section invoked on the hotplugged CPU from the hotplug > thread */ > > > CPUHP_AP_ONLINE_IDLE, > > > + CPUHP_AP_HYPERV_ONLINE, > > > > x86 maintainers, are you okay with this? >=20 > Boris -- Are you OK with this, and could give an ACK? This small patch > set fixes a problem introduced into 6.4-rc1 by other Confidential VM > changes, so this fix needs to be incorporated before 6.4 is released. >=20 > Michael Hi Boris, gentle ping -- I hope this patch can be accepted soon as I and Tianyu need to rebase our SNP/TDX patches on this patch. > > > CPUHP_AP_KVM_ONLINE, > > > CPUHP_AP_SCHED_WAIT_EMPTY, > > > CPUHP_AP_SMPBOOT_THREADS, > > > -- > > > 1.8.3.1 > > >