From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 D3DAEFC07 for ; Mon, 13 Nov 2023 04:22:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="VyxwrZnn" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF49810F0 for ; Sun, 12 Nov 2023 20:22:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1699849334; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XF3NQ57kyjxk1hcvqu+Pq8JhkrYu8jIWva1UTHj4B8I=; b=VyxwrZnnFv6flRJftdsWwAx/UFtnqwLwLjuSedwC0VDw+703Euto1oTm8r3R/tzp89BSOF yQZFBbQg8FWvr6sX5AAGZb6GHz8evbiB6gdQRFwpZ4a2AgLdzpIWSP6HV+0YN0D7Xmq1d5 0G3TToUyrDcM3Z9Kezs38vb/BmC+pso= Received: from mail-oi1-f199.google.com (mail-oi1-f199.google.com [209.85.167.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-193-Q4-v24kOPtqnq62PXGuzJA-1; Sun, 12 Nov 2023 23:22:11 -0500 X-MC-Unique: Q4-v24kOPtqnq62PXGuzJA-1 Received: by mail-oi1-f199.google.com with SMTP id 5614622812f47-3b2e0f24de0so4619025b6e.0 for ; Sun, 12 Nov 2023 20:22:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699849330; x=1700454130; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=XF3NQ57kyjxk1hcvqu+Pq8JhkrYu8jIWva1UTHj4B8I=; b=dGy/UFcMK+rMKmwj19z+q7Q/tjw61vi2aEkMPN//nynybkSh+x6xF9J9FB68Wkyi5g N1MpQyLhnry61uKQQX7jZGjKXbJjHVOGIKpnl6DmhvqH9sAKir2veU+S3c0WHw/9TiwB 0SPBAbDvGETOMQrBB1V5ULVkg5s9GOHQV1N8DkuEcHlrovNyVq4FOWpd2eEm8DuwbMcK l7esCYolzdQ348+NBXc59lIFO4CnWo/FEPawSY4D3nnX0QLOks9+jRSHl2FBXZ7MDsKY Xep2+9k62d+Ke2XwvCJgToa9prhGyju3Fk9FUWaH8NqDN6pTYU5atGJU4yGLdA5tE9Vv HWAw== X-Gm-Message-State: AOJu0YxuURNFVoozy03nJw5rvdDP7s2eyUiKlMLX0FjHMX6vwaFfbK65 n6mjdbJxkFq2OpTdoaf6khj9Zvg1NiXB+CgIxrIHw8qz2b79c56/pjelbrAazP1pfSujgDCVj9W TtgwAn1EUU26tE0Nek7LT2g== X-Received: by 2002:a05:6808:3c8a:b0:3af:e556:4602 with SMTP id gs10-20020a0568083c8a00b003afe5564602mr8733102oib.11.1699849330578; Sun, 12 Nov 2023 20:22:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IGXY595uxruxGZ6Ui5zU3loMnBcIT42OgsioZr0yKGr5XKhKsixYTlwKjcTTf2f20K0od7lOA== X-Received: by 2002:a05:6808:3c8a:b0:3af:e556:4602 with SMTP id gs10-20020a0568083c8a00b003afe5564602mr8733096oib.11.1699849330328; Sun, 12 Nov 2023 20:22:10 -0800 (PST) Received: from ?IPV6:2001:8003:e5b0:9f00:b890:3e54:96bb:2a15? ([2001:8003:e5b0:9f00:b890:3e54:96bb:2a15]) by smtp.gmail.com with ESMTPSA id fm6-20020a056a002f8600b006c4db182074sm3111661pfb.196.2023.11.12.20.22.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 Nov 2023 20:22:09 -0800 (PST) Message-ID: <191a356f-a9cd-4510-9676-dc28026088be@redhat.com> Date: Mon, 13 Nov 2023 14:22:03 +1000 Precedence: bulk X-Mailing-List: linux-arch@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RFC 20/22] LoongArch: convert to use arch_cpu_is_hotpluggable() Content-Language: en-US To: "Russell King (Oracle)" , linux-pm@vger.kernel.org, loongarch@lists.linux.dev, linux-acpi@vger.kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, kvmarm@lists.linux.dev, x86@kernel.org, linux-csky@vger.kernel.org, linux-doc@vger.kernel.org, linux-ia64@vger.kernel.org, linux-parisc@vger.kernel.org Cc: Salil Mehta , Jean-Philippe Brucker , jianyong.wu@arm.com, justin.he@arm.com, James Morse , Huacai Chen , WANG Xuerui References: From: Gavin Shan In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 11/7/23 20:31, Russell King (Oracle) wrote: > Convert loongarch to use the arch_cpu_is_hotpluggable() helper rather > than arch_register_cpu(). Also remove the export as nothing should be > using arch_register_cpu() outside of the core kernel/acpi code. > > Signed-off-by: Russell King (Oracle) > --- > arch/loongarch/kernel/topology.c | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) > Reviewed-by: Gavin Shan