Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp545475ybb; Wed, 25 Mar 2020 05:07:13 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsGBpfeOI8yOye50QTd0ZiSFtOLD7pQQDNRmnQ0nt8j4ttHLWqqivUbJT1D1fkJNFbRNM1q X-Received: by 2002:a4a:3b50:: with SMTP id s77mr950053oos.53.1585138032988; Wed, 25 Mar 2020 05:07:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585138032; cv=none; d=google.com; s=arc-20160816; b=E8ctH9C9+qtv53N13Z32qWpD8jIwo6LypLG907K2G6Jx3G7W/IfJctv4JHruOuVTsS /E8mH5gPE0nbO+2aWEnz4+Va5d+64dosP8D24VB+P3YgBQVXAkYz5e7QUn4RY/w/j33H 1cQzJzU7Xjk8tSoanl/OQRWJWij+4s8OK1fv6Qaij0GUA8pj1ESersJCjUYjxQLpLn5d 79BX9/LEUyrofBpJQKfn6HBl57beQbmgg0XODTfO1JfANBGBgCLrkQAUBq6dBkaWKa0P 567DBCUbhkEYNgx4Jj9peEyezqUdJ1YbMtNyulOe35fqFNVXDHtURkp4iw79zq3wqyvl tHDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :robot-unsubscribe:robot-id:message-id:mime-version:references :in-reply-to:cc:subject:to:reply-to:from:date; bh=/3fvJQxxvEZYq11gEgMYlDS9C2kINvO8D71RlOiB+T4=; b=06PyiDai/XeldafLrlUyONseEpviVK2xKGR7kofR2sfisiDGbM4rOHZCqgISuulU93 8qfz/Be4yOOq2+CUbIn6gg9DqVUruLG5IFKawvB/VR9AXKiDj86ry6MsE9YtZeUx3cRN t3UuaF2yKKylPHwo7uyh5eJ2kAqwEPK0bDNFjUQ+sEQ4w00kkpn6puKVl8T1u68MxOSL eZpG9pQOyx3ghPWBys41KPne1gr8zQegwktw5VJ6lwmjm20pd8DIQ8qMlhKwBAMkj/SX +seKx2zPfeDqr8R/inKmm56WjaCINY0R8dNbknjzwb54iPVc5G5p0J1jvnJwODd+7PhF Fv0Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a66si10135706otc.172.2020.03.25.05.06.57; Wed, 25 Mar 2020 05:07:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727635AbgCYMGS (ORCPT + 99 others); Wed, 25 Mar 2020 08:06:18 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:47775 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727580AbgCYMGP (ORCPT ); Wed, 25 Mar 2020 08:06:15 -0400 Received: from [5.158.153.53] (helo=tip-bot2.lab.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1jH4nL-0000jJ-05; Wed, 25 Mar 2020 13:06:03 +0100 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id 947DC1C0470; Wed, 25 Mar 2020 13:06:02 +0100 (CET) Date: Wed, 25 Mar 2020 12:06:02 -0000 From: "tip-bot2 for Qais Yousef" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: smp/core] parisc: Replace cpu_up/down() with add/remove_cpu() Cc: Qais Yousef , Thomas Gleixner , Helge Deller , x86 , LKML In-Reply-To: <20200323135110.30522-13-qais.yousef@arm.com> References: <20200323135110.30522-13-qais.yousef@arm.com> MIME-Version: 1.0 Message-ID: <158513796223.28353.763403470362233835.tip-bot2@tip-bot2> X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the smp/core branch of tip: Commit-ID: 02addaeaa7e5fa238963972d7030fa7ad57d9f1a Gitweb: https://git.kernel.org/tip/02addaeaa7e5fa238963972d7030fa7ad57d9f1a Author: Qais Yousef AuthorDate: Mon, 23 Mar 2020 13:51:05 Committer: Thomas Gleixner CommitterDate: Wed, 25 Mar 2020 12:59:36 +01:00 parisc: Replace cpu_up/down() with add/remove_cpu() The core device API performs extra housekeeping bits that are missing from directly calling cpu_up/down(). See commit a6717c01ddc2 ("powerpc/rtas: use device model APIs and serialization during LPM") for an example description of what might go wrong. This also prepares to make cpu_up/down() a private interface of the CPU subsystem. Signed-off-by: Qais Yousef Signed-off-by: Thomas Gleixner Acked-by: Helge Deller Link: https://lkml.kernel.org/r/20200323135110.30522-13-qais.yousef@arm.com --- arch/parisc/kernel/processor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/parisc/kernel/processor.c b/arch/parisc/kernel/processor.c index 13f771f..7f2d0c0 100644 --- a/arch/parisc/kernel/processor.c +++ b/arch/parisc/kernel/processor.c @@ -212,7 +212,7 @@ static int __init processor_probe(struct parisc_device *dev) #ifdef CONFIG_SMP if (cpuid) { set_cpu_present(cpuid, true); - cpu_up(cpuid); + add_cpu(cpuid); } #endif