Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp271645imn; Wed, 3 Aug 2022 03:14:44 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tbGDCb5GDO+ViWGuRkVynz5ZAMWbIso/MvmZMGcX41Z+dB/2sg0MJAdvxdmQpuQKo7PqmZ X-Received: by 2002:a17:907:d0f:b0:72e:db1f:9b91 with SMTP id gn15-20020a1709070d0f00b0072edb1f9b91mr19558172ejc.470.1659521684101; Wed, 03 Aug 2022 03:14:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659521684; cv=none; d=google.com; s=arc-20160816; b=Y8BdlSUzMH2dyX86yEaUWmgO1kHZtsJmaUfL0RzAlxTmBXXoIhIM++76peFAx+ogXJ x0tEeztUiI8iAJTURkl13LsRfznFXeXyT2mAfuszvqOKD+GLTOfB0jN0BC4JpKevnN0j yhXtCj0KSRRaRgB4lLFH3YkjeBz0GB5QU28Px95dzzwGOv8TKRKun7PBUq84e6NItVzq sAr+Y7dQVLDoCWtotL6jbz96yKUcoJfm6LHVs7+ZG+aQuONH57cZAt9NiHAGIIwhC+Nk 3dplHYIx2xBF+FqkAPKL06llAR/30z2A3Gw7lIUXeNJ4CnAhm7CSCUaMuJEKe7QqTzwA zcfA== 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 :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=8x6lvSZQGCIXIPV63CAAdrttgfcHBPZl7TxbrAlcJfg=; b=ewg9XKSBUl2fweJ6s2rvGjkl8bpsQZZ45WKa4S1blO/7wvh/K+PhCLAdZHHqybjwUA 7DsrGpiSV3PXOWDW0CoE1kGdpVbZJJB7fWs4X/tlbIdADvXa0HdHwSGYXx7EUqeb4UNc gX7i/SfHgZ6R1YNsQg/s4PQnrIDRO6M3zyhrJnnyh5AUafq41riEKusWyIx7JEH6lP1F bUrtxAqJCi5BqMqc/vWeqedR0pAh9rhTPjc9HXJ19I/HsedYfQyPKKLUDqmIw+nAu8ZJ taIkksU50mjVzt/51BWzp0m7GMd9y22sBW7Nzs9a/FGXDGf1zO5AZ0SwnBVM/kMvkWB5 cO4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=GWCqmXgh; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g8-20020a056402424800b0043dd2989916si6535574edb.608.2022.08.03.03.14.19; Wed, 03 Aug 2022 03:14:44 -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=@intel.com header.s=Intel header.b=GWCqmXgh; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236639AbiHCJVn (ORCPT + 99 others); Wed, 3 Aug 2022 05:21:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234652AbiHCJVl (ORCPT ); Wed, 3 Aug 2022 05:21:41 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1335119C09; Wed, 3 Aug 2022 02:21:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659518501; x=1691054501; h=message-id:subject:from:to:cc:date:in-reply-to: references:content-transfer-encoding:mime-version; bh=d6XBXtM845jMdiFmbaDR0+BJGHsJ6Jy8XevdcIT4puE=; b=GWCqmXghW/DiUC7ZYaUvYMJLpxmClZtNIA7gF614XWduEeWkXtNQYCev uPtcPezLvP3qKxAk57z7a/riGu3SA7SJlUbGCuMvyVGKcVEe6/zIrR0c/ RlxSoGEbaH5s9XhAaBAq0VIvm8wDNVcsCdsko/BFQXG2k9D6L6Ge6nJcK xKuoTbyC8ASAlOk4srwedk5uZi25qSjva408RuI4C5sVzw99CKUXEUYSe bgWeDjY5JLkQAxsixBGocURFjaV7yPf1il+Dl6bXEldLKHEB1s0Kbk178 VXofSPaFkISc9KFOZc5khh+V1lspdaDIZhaNIBYYOV5yfDWW4wQ2pOChA Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10427"; a="289638877" X-IronPort-AV: E=Sophos;i="5.93,213,1654585200"; d="scan'208";a="289638877" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Aug 2022 02:21:40 -0700 X-IronPort-AV: E=Sophos;i="5.93,213,1654585200"; d="scan'208";a="553255200" Received: from gvenka2-desk.amr.corp.intel.com (HELO khuang2-desk.gar.corp.intel.com) ([10.212.85.17]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Aug 2022 02:21:35 -0700 Message-ID: Subject: Re: [PATCH v5 02/22] cc_platform: Add new attribute to prevent ACPI CPU hotplug From: Kai Huang To: Binbin Wu , linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: linux-acpi@vger.kernel.org, seanjc@google.com, pbonzini@redhat.com, dave.hansen@intel.com, len.brown@intel.com, tony.luck@intel.com, rafael.j.wysocki@intel.com, reinette.chatre@intel.com, dan.j.williams@intel.com, peterz@infradead.org, ak@linux.intel.com, kirill.shutemov@linux.intel.com, sathyanarayanan.kuppuswamy@linux.intel.com, isaku.yamahata@intel.com, thomas.lendacky@amd.com, Tianyu.Lan@microsoft.com, rdunlap@infradead.org, Jason@zx2c4.com, juri.lelli@redhat.com, mark.rutland@arm.com, frederic@kernel.org, yuehaibing@huawei.com, dongli.zhang@oracle.com Date: Wed, 03 Aug 2022 21:21:33 +1200 In-Reply-To: <27de096d-4386-fb46-fd6d-229bea7b7a4a@linux.intel.com> References: <27de096d-4386-fb46-fd6d-229bea7b7a4a@linux.intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.3 (3.44.3-1.fc36) MIME-Version: 1.0 X-Spam-Status: No, score=-7.7 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_NONE 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 Wed, 2022-08-03 at 11:55 +0800, Binbin Wu wrote: > On 2022/6/22 19:15, Kai Huang wrote: > > =20 > > @@ -357,6 +358,17 @@ static int acpi_processor_add(struct acpi_device *= device, > > struct device *dev; > > int result =3D 0; > > =20 > > + /* > > + * If the confidential computing platform doesn't support ACPI > > + * memory hotplug, the BIOS should never deliver such event to > memory or cpu hotplug? Sorry typo. Should be CPU. Anyway this patch will be dropped in next version. --=20 Thanks, -Kai