From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754960AbbGGHLo (ORCPT ); Tue, 7 Jul 2015 03:11:44 -0400 Received: from mx0a-0016f401.pphosted.com ([67.231.148.174]:50593 "EHLO mx0a-0016f401.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753636AbbGGHLZ (ORCPT ); Tue, 7 Jul 2015 03:11:25 -0400 From: Jisheng Zhang To: , CC: , , , Jisheng Zhang Subject: [PATCH 0/2] arm: berlin: add cpu hotplug support Date: Tue, 7 Jul 2015 15:10:33 +0800 Message-ID: <1436253035-371-1-git-send-email-jszhang@marvell.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2015-07-07_02:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound 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-1506180000 definitions=main-1507070125 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.1.4