Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp449277rdb; Thu, 30 Nov 2023 08:51:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IEW7lNLbs6AF1xH2aHOrclHgiUWMWkek5lMgs1GujXokbrY2gRby3nAvvfChVncWthnzxhL X-Received: by 2002:a05:6a20:5484:b0:18b:e692:4314 with SMTP id i4-20020a056a20548400b0018be6924314mr24648603pzk.56.1701363075602; Thu, 30 Nov 2023 08:51:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701363075; cv=none; d=google.com; s=arc-20160816; b=XmXRQ2CkTqbvra/2LRXJHrENw7JSPMTjrtNVTPsfGUt3irYwPVdWUMo/p8wkifF1Qw kQcnOFBMkWd+cBcZEIYeDpUJFE3T43Uo6wbrPeOHvvLdC+vUIaf6Hg8A1Ue1e6N6pJnZ mpDDPZJs49GeSHKzIALMUteIDCgHehSgNdzJE7iGxt/zd7QvBH+9upsLl+ksbd39029J g4wKPDIYz6DqbO+EokXPAa6F1RZ3zWWlho9rc5/qcaoIfr2vIaeyZgYfLJ1RnHgXLY+6 PTJ1otg9rHblEl2h1nRze/Dj4w3prZ/2v/QSisHyDW+xp0OgWN1KtJqQuhyk6+w4n0IY aiaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=umRS7QXzrAhxb5FdPTO+cTWITOY/6QJ7aq6nol6Pfxw=; fh=iXCquIcxxt1frpcRpn88kBmLd6LjRpFcfVoF/JJoS04=; b=KLmeyUkYjaHBoOlaBzlrEf61Nk3YqmAQle/oy5vHjuomgNrxVOtraVxm++/FKcK/g7 XT0xnYCnSU+N3XL/FOcUnppOsawviLV7Tijro7wR8sQRc4266bLc/ha4/9fohir391fJ bafvX004J9MwQYlm683v8eQaA13QBk63YQmB/glbcZnNtqBWPBYou5s1rS9trlvsn00E iqDojR5d1kwG1ZegHwL+QKHdz/u3CvpTUdSsTCyUGwyLzzZkC9q1SXT7VTsoayDd+6jF P2S334A2MCyM9N3YsSJcmSpYVlP1pq0RJsgTtTEPucPxkx2Z25MsKuB7GtDKDNL/lC2y qmKg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id k79-20020a628452000000b006cbed8d05e9si1532852pfd.357.2023.11.30.08.51.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 08:51:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 4DCDE80D04F4; Thu, 30 Nov 2023 08:51:13 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345721AbjK3Quz (ORCPT + 99 others); Thu, 30 Nov 2023 11:50:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231837AbjK3Quy (ORCPT ); Thu, 30 Nov 2023 11:50:54 -0500 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 010BF10E4; Thu, 30 Nov 2023 08:50:59 -0800 (PST) Received: from mail.maildlp.com (unknown [172.18.186.31]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Sh2Bz2mHDz67GqC; Fri, 1 Dec 2023 00:46:19 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id 2F69E1404F4; Fri, 1 Dec 2023 00:50:58 +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; Thu, 30 Nov 2023 16:50:57 +0000 Date: Thu, 30 Nov 2023 16:50:56 +0000 From: Jonathan Cameron To: Russell King CC: , , , , , , , , , , , , , Salil Mehta , Jean-Philippe Brucker , , , James Morse , Greg Kroah-Hartman , "Rafael J. Wysocki" , Paul Walmsley , "Palmer Dabbelt" , Albert Ou Subject: Re: [PATCH 08/21] drivers: base: Implement weak arch_unregister_cpu() Message-ID: <20231130165056.0000781f@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) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.227.76] X-ClientProxiedBy: lhrpeml100005.china.huawei.com (7.191.160.25) To lhrpeml500005.china.huawei.com (7.191.163.240) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 30 Nov 2023 08:51:13 -0800 (PST) On Tue, 21 Nov 2023 13:44:31 +0000 Russell King wrote: > From: James Morse > > Add arch_unregister_cpu() to allow the ACPI machinery to call > unregister_cpu(). This is enough for arm64, riscv and loongarch, but > needs to be overridden by x86 and ia64 who need to do more work. > > CC: Jean-Philippe Brucker > Signed-off-by: James Morse > Reviewed-by: Shaoqin Huang > Signed-off-by: Russell King (Oracle) Reviewed-by: Jonathan Cameron