From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Fzbs/Fe6" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1941E1715 for ; Thu, 30 Nov 2023 19:48:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1701402480; 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=lkYkgQb1oSonM5Ah318XDYvX5RNZmhN/5LooxGJ95vQ=; b=Fzbs/Fe6TMcomTOA9ohRLsIyL/CyoiXvoSI0dZaQGOh+3m9VZKLwlBajhjDE0q34bDvagy uqS5Vj40LfUcobsrHZqIy6bM5BCvfH4Qk5M6AkZq7j6BriUInRpqL2L55yk5igaLkq2tuC Bo3VW8FYDMOO1Lfe3A+LZGpgzUtkrio= Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-644-16wS9xiVPAyhZO-ON1BYSg-1; Thu, 30 Nov 2023 22:47:58 -0500 X-MC-Unique: 16wS9xiVPAyhZO-ON1BYSg-1 Received: by mail-pf1-f197.google.com with SMTP id d2e1a72fcca58-6cdeb43fb26so1538088b3a.2 for ; Thu, 30 Nov 2023 19:47:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701402478; x=1702007278; 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=lkYkgQb1oSonM5Ah318XDYvX5RNZmhN/5LooxGJ95vQ=; b=ID+yTfdFbsWmXmkrM9PUJEj5vH5ssxBI34O2vzFVLDv564qx4RkJjS7Jl55Sq1Z4KH F/z9GHBuRye/IdrrTrWO4l8WvDDpIJu8s288M54biefeIP+d8nEve17kqFZXP/rlAcin VdhShg/qGdVCa5YFLs9XWCDOrHXViaCZI0BJfgAkQyLO8iZjR66x9IUUNwNwCBEQ+W8h 1jsaUj0vj+dd6V8MRZ+DJpcWgrrXastwbZsQTtwDIKhCloEADPMieBkeSnKy++A3T1zg ZFgGZyi2QUk83E4ekpEKAOvwwh/0YNw9hemwE8aCKHwy8ieaa/6U6A1PgSmdTiSihs2/ w6+g== X-Gm-Message-State: AOJu0YwIS4q2lOZgpQ4kyRsV80ay2cjcyDqc6Pi/JVNOQ/Fha+gcu8W1 OiYF1L4dkPpH3+EN5QQnzNR71yJaq23QIrQypnlCxhNDhvsexUtPNUAdwPJVv9LmZ9A573oCBg+ er98B7uPRHN/cYN8GEE7/Iw== X-Received: by 2002:a05:6a21:3513:b0:18b:236d:3f0 with SMTP id zc19-20020a056a21351300b0018b236d03f0mr27000778pzb.43.1701402477955; Thu, 30 Nov 2023 19:47:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IGhKtgcw5NHksOzMAUau0Dc/qB+PpJdNsaezOVmfl0zRSeeAEUNdBUUxpUuWqCHC+jsRZjfoQ== X-Received: by 2002:a05:6a21:3513:b0:18b:236d:3f0 with SMTP id zc19-20020a056a21351300b0018b236d03f0mr27000757pzb.43.1701402477684; Thu, 30 Nov 2023 19:47:57 -0800 (PST) Received: from [192.168.68.51] ([43.252.115.3]) by smtp.gmail.com with ESMTPSA id p5-20020a170902e74500b001cfc1a593f7sm2185691plf.217.2023.11.30.19.47.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Nov 2023 19:47:57 -0800 (PST) Message-ID: Date: Fri, 1 Dec 2023 14:47:49 +1100 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 09/21] drivers: base: add 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 , Greg Kroah-Hartman , "Rafael J. Wysocki" , Thomas Gleixner , Peter Zijlstra References: From: Gavin Shan In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 11/22/23 00:44, Russell King (Oracle) wrote: > The differences between architecture specific implementations of > arch_register_cpu() are down to whether the CPU is hotpluggable or not. > Rather than overriding the weak version of arch_register_cpu(), provide > a function that can be used to provide this detail instead. > > Reviewed-by: Shaoqin Huang > Signed-off-by: Russell King (Oracle) > --- > drivers/base/cpu.c | 11 ++++++++++- > include/linux/cpu.h | 1 + > 2 files changed, 11 insertions(+), 1 deletion(-) > Reviewed-by: Gavin Shan