From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 75F7B67A64 for ; Wed, 19 Jan 2005 13:05:09 +1100 (EST) From: Benjamin Herrenschmidt To: Andreas Schwab In-Reply-To: References: <1106011958.4533.25.camel@gaston> Content-Type: text/plain Date: Wed, 19 Jan 2005 13:04:24 +1100 Message-Id: <1106100264.4534.135.camel@gaston> Mime-Version: 1.0 Cc: Andrew Morton , linuxppc-dev list , Linus Torvalds Subject: Re: [PATCH] ppc32: pmac sleep support update List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2005-01-19 at 02:37 +0100, Andreas Schwab wrote: > Benjamin Herrenschmidt writes: > > > Hi ! > > > > This patch updates the PowerMac sleep support. The ability to sleep is now broken > > into 2 different flags, one, "may sleep" is set for all motherboards that we know > > how to put to sleep and wakeup. It gets turned into "can sleep" upon a call from > > the video driver indicating the ability to wakeup the video card. This doesn't > > deal with head-less machines, but this can be improved later. It also adds better > > cache flush code, which improves stability with cpufreq as well as sleep. > > > > This patch actually breaks sleep support until the video drivers for the affected > > machines have been updated. This will come as separate patches. > > With all your patches applied I'm getting an oops during wakeup inside > pci_bus_read_config_word on my iBook/G3. Call trace: pci_set_master, > pci_device_resume, resume_device, dpm_resume, device_resume, > pmac_wakeup_devices, pmu_ioctl, sys_ioctl. It would be useful to get some more infos, what is the actual oops text (what error), and if you could add some printk's to figure out what is the culprit PCI device, that would be useful as well... Ben.