From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wolverine02.qualcomm.com ([199.106.114.251]:23420 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755309Ab0GVTdK (ORCPT ); Thu, 22 Jul 2010 15:33:10 -0400 Message-ID: <989bc3c9f8d8ce1d51c480a0dbdce07e.squirrel@www.codeaurora.org> Date: Thu, 22 Jul 2010 12:33:08 -0700 (PDT) Subject: hotplug and init section From: smuckle@codeaurora.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Sender: linux-arm-msm-owner@vger.kernel.org List-ID: To: linux-arm-kernel@lists.infradead.org Cc: linux-arm-msm@vger.kernel.org Hi, I'm working on hotplug support. It looks like currently only mach-realview supports this on ARM, and it does not fully power down the core. The core just goes into wfi. If we fully power down the core being hot-removed, we need to rerun the processor init, enable mmu, turn on mmu, etc when it is brought back up. This code is currently all put in the .init section. Changing things so that the code required for bringing up secondary cores is still present after init looks to be a fairly big change. As such I wanted to see if anyone had thoughts here before I start hacking up head.S, the linker script, etc. thanks, Steve -- Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.