> -----Original Message----- > From: linux-arm-kernel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:linux-arm- > kernel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of smuckle@xxxxxxxxxxxxxx > Sent: Friday, July 23, 2010 1:03 AM > To: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx > Cc: linux-arm-msm@xxxxxxxxxxxxxxx > Subject: hotplug and init section > > 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. > Not sure whether you need to really start from scratch for hotplugged CPU. If you have proper context save /restore, you can avoid full restart of the CPU. Regards, Santosh -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html