From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sipsolutions.net (crystal.sipsolutions.net [195.210.38.204]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 0951067D5E for ; Wed, 13 Dec 2006 00:48:16 +1100 (EST) Subject: Re: [linux-pm] [RFC 1/3] support powermac G5 CPU hotplug From: Johannes Berg To: Pavel Machek In-Reply-To: <1165929483.22338.18.camel@johannes.berg> References: <20061211230208.526233000@sipsolutions.net> > <20061211230754.380263000@sipsolutions.net> <20061212130916.GB5190@ucw.cz> <1165929483.22338.18.camel@johannes.berg> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-gEB/kjIQ7n0vufvkDn/1" Date: Tue, 12 Dec 2006 14:47:17 +0100 Message-Id: <1165931237.22338.36.camel@johannes.berg> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org, Torrance , Michael Buesch , linux-pm@lists.osdl.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --=-gEB/kjIQ7n0vufvkDn/1 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2006-12-12 at 14:18 +0100, Johannes Berg wrote: > > ?? Context for downing cpu should better be well-defined. Just do this > > in cpu_die if it is really required. >=20 > It is actually required but I'm not exactly sure why. When I don't do > this, I end up with preempt_count() 0x100000 (IIRC, notes not here at ^^^^^^^^ typo, should be 0x10000 > the moment). >=20 > I think this is because the suspend code has interrupts disabled already > when downing the CPUs. Also, the /sys/devices/system/cpu/cpuN/online thing doesn't disable interrupts before downing the CPU thus that works without this. johannes --=-gEB/kjIQ7n0vufvkDn/1 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Comment: Johannes Berg (powerbook) iD8DBQBFfrLl/ETPhpq3jKURArY8AJ9ToMdMFNbR6aBy7lI47PgXWdcs3gCfWTKw HiknoG4K/YKcTL8PHMvrHvg= =hrRV -----END PGP SIGNATURE----- --=-gEB/kjIQ7n0vufvkDn/1--