Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262334AbVAOWYf (ORCPT ); Sat, 15 Jan 2005 17:24:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262335AbVAOWYe (ORCPT ); Sat, 15 Jan 2005 17:24:34 -0500 Received: from gate.crashing.org ([63.228.1.57]:52155 "EHLO gate.crashing.org") by vger.kernel.org with ESMTP id S262334AbVAOWYd (ORCPT ); Sat, 15 Jan 2005 17:24:33 -0500 Subject: Re: [PATCH] PPC64 pmac hotplug cpu From: Benjamin Herrenschmidt To: Zwane Mwaikambo Cc: Anton Blanchard , Andrew Morton , Linux PPC64 , Linux Kernel list In-Reply-To: References: Content-Type: text/plain Date: Sun, 16 Jan 2005 09:23:13 +1100 Message-Id: <1105827794.27410.82.camel@gaston> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 891 Lines: 23 On Thu, 2005-01-13 at 17:43 -0700, Zwane Mwaikambo wrote: > I found the following very handy for use as a reference platform when > working on i386 hotplug cpu recently. > > It's been tested on a G5 system with a cpu going on/offline every second > and make -j. I've also tried a number of config options to avoid compile > breakage. Hi ! Looks good, but you could do even better :) I still want to look at the proper mecanism to flush the CPU cache on 970, but the idea here is to flush it, and put the CPU into a NAP loop (the 970 has no SLEEP mode) with the caches clean and MSR:EE off. We can later get it back with a soft reset. Ben. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/