From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752795AbbINGvo (ORCPT ); Mon, 14 Sep 2015 02:51:44 -0400 Received: from mx0a-0016f401.pphosted.com ([67.231.148.174]:23935 "EHLO mx0a-0016f401.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752209AbbINGvd (ORCPT ); Mon, 14 Sep 2015 02:51:33 -0400 From: Jisheng Zhang To: , CC: , , Jisheng Zhang Subject: [PATCH RESEND 0/2] arm: berlin: add cpu hotplug support Date: Mon, 14 Sep 2015 14:47:43 +0800 Message-ID: <1442213265-1002-1-git-send-email-jszhang@marvell.com> X-Mailer: git-send-email 2.5.1 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2015-09-14_01:,, signatures=0 X-Proofpoint-Spam-Details: rule=inbound_notspam policy=inbound score=0 kscore.is_bulkscore=0 kscore.compositescore=1 compositescore=0.9 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 kscore.is_spamscore=0 rbsscore=0.9 spamscore=0 urlsuspectscore=0.9 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1507310000 definitions=main-1509140127 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These patches try to add cpu hotplug support for Marvell BG2, BG2Q SoCs. These SoCs can't power off cpu independently, but we still want cpu hotplug support for them. However, we need to address "CPU still sat on kernel text" as pointed out by Mark Rutland[1]. We achieved this by putting the dying CPU in WFI state after the coherency is disabled, then asserting the dying CPU reset bit to put the CPU in reset state. patch1 use non-self-cleared control register to reset cpu. This is to prepare for the next cpu hotplug commit. patch2 adds the cpu hotplug support finally. [1] http://lists.infradead.org/pipermail/linux-arm-kernel/2015-May/342642.html Jisheng Zhang (2): arm: berlin: use non-self-cleared reset register to reset cpu arm: berlin: add CPU hotplug support arch/arm/mach-berlin/platsmp.c | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) -- 2.5.1