Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6808413rdb; Fri, 15 Dec 2023 08:50:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IGqhTfRlq8fX6FbTmTYfcMdNw0fSzKYyAVnl1LJjvPhIu36uSh0smknvMLLKMd4aovNtwAY X-Received: by 2002:ac8:58c8:0:b0:425:f0e0:eb6f with SMTP id u8-20020ac858c8000000b00425f0e0eb6fmr6917070qta.97.1702659032724; Fri, 15 Dec 2023 08:50:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702659032; cv=none; d=google.com; s=arc-20160816; b=tcgLVbGLxU2MibvkW4/mT3IdTN0J8RxgrZQSDHXT26CFrOYq44F4FQfeOlr8lMvXx0 0UoAoLvtiBtvCGl1saX5lc4hJqdul6Zi1BeGtRmZjW9Ptq3P4GfHdg9i0krz6cyrDb9E ddObqkdEp73uPQZ0kyP41QJXKlcdUDuNZ7e4ovYV96ITyGMXPu5Ifs9ErnC9gzLmcwWS /NB2p/NjVvCrg8vJk9ZvlXGgqAG02mJxDInTQHZ+elPI4PIs71V4TKBDorbk56GBX/RS PKpdsoyjqfj321voFxcFIlMV/uZV9LEeJxDQFDZuai89a4/wu6jusikY7Wd+GHmOJ+cD EZLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date; bh=A8aBDFY8HAgZYvGIkgbxQHFMj3QawTEc+bdOoq2ArGc=; fh=4iHbZ733mqZc4Bx83AV0konbWC9aXbRvmPAEmCiuGYk=; b=N2kBk6TrinLbB0muiF2HVYzqrxpJ6QS6Wrnlza7VznLAdP8AtdWgQBwSKQTCPO8oiK j7/XIdZo7Vgcpw+YjU/c2Ay7tN7oE39qzT4BaiudrcBVxD65S0A1rm6J3KwaOlsJAUNO nKjvvltUYgJPdDzOJ3SoamxgB1u1hiXX5fBVmy7JLjV9g7cj+h+P0BtIQo8TQCvZqkdQ qCh+179NzZ8dFVd8kKgqthPDzdT9JRNctqtpOYtadKEFlqP18KYRtXUG8du10JmkRN0A v+3V/ytIwvFIgTyrL5/ZO+Sv09uSbCowIgfEpecC0J47PJMnPrWsQP4DTrotJmDaMGEd 4G1Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-1331-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1331-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id r12-20020ac867cc000000b004197929440asi16707005qtp.304.2023.12.15.08.50.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 08:50:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1331-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-1331-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1331-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 78D021C23AD8 for ; Fri, 15 Dec 2023 16:50:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 213F33FB05; Fri, 15 Dec 2023 16:50:17 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AB50F3DBB5; Fri, 15 Dec 2023 16:50:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=Huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.18.186.231]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4SsFXD2Z30z6K6hC; Sat, 16 Dec 2023 00:48:12 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id 2D8D01400D4; Sat, 16 Dec 2023 00:50:11 +0800 (CST) Received: from localhost (10.202.227.76) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 15 Dec 2023 16:50:10 +0000 Date: Fri, 15 Dec 2023 16:50:09 +0000 From: Jonathan Cameron To: "Russell King (Oracle)" CC: , , , , , , , , , , , , , , Salil Mehta , Jean-Philippe Brucker , , , James Morse Subject: Re: [PATCH RFC v3 18/21] ACPI: processor: Only call arch_unregister_cpu() if HOTPLUG_CPU is selected Message-ID: <20231215165009.000035f2@Huawei.com> In-Reply-To: References: Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: lhrpeml100003.china.huawei.com (7.191.160.210) To lhrpeml500005.china.huawei.com (7.191.163.240) On Wed, 13 Dec 2023 12:50:43 +0000 Russell King (Oracle) wrote: > From: James Morse > > The kbuild robot points out that configurations without HOTPLUG_CPU > selected can try to build acpi_processor_post_eject() without success > as arch_unregister_cpu() is not defined. > > Check this explicitly. This will be merged into: > | ACPI: Add post_eject to struct acpi_scan_handler for cpu hotplug > for any subsequent posting. > > Reported-by: kbuild test robot > Signed-off-by: James Morse > Tested-by: Miguel Luis > Tested-by: Vishnu Pajjuri > Tested-by: Jianyong Wu > --- > This should probably be squashed into an earlier patch. Agreed. If not Reviewed-by: Jonathan Cameron