From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Mackerras Subject: Re: suspend to RAM (embedded) ppc? Date: Mon, 26 Jun 2006 16:26:37 +1000 Message-ID: <17567.32285.641865.387583@cargo.ozlabs.ibm.com> References: <17565.58599.858812.278800@cargo.ozlabs.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.osdl.org Errors-To: linux-pm-bounces@lists.osdl.org To: Guennadi Liakhovetski Cc: linux-pm@lists.osdl.org List-Id: linux-pm@vger.kernel.org Guennadi Liakhovetski writes: > So, there's not a single STR implementation for ppc in the kernel?... The STR implementation for powerbooks predates the generic STR support (by quite a long way, it was originally done in 1998). These days it uses some parts of the generic STR support but the top-level control is still using the old code, because the generic STR code doesn't provide all the hooks we need yet. For historical reasons, the top-level powerbook STR code is in drivers/macintosh/via-pmu.c, and is invoked via an ioctl on /dev/pmu. Paul.