Re: Some sort corruption of my Thermal Subsystem after suspend to ram

From: Rafael J. Wysocki
Date: Thu May 01 2008 - 13:14:55 EST


On Thursday, 1 of May 2008, Matthew Garrett wrote:
> On Thu, May 01, 2008 at 02:57:49PM +0200, Rafael J. Wysocki wrote:
> > On Thursday, 1 of May 2008, Matthew Garrett wrote:
> > > Perhaps we should be more aggressive about restoring PCI config space if
> > > there's no driver bound to a device. The alternative in this case would
> > > seem to be to write a driver for this device that does nothing other
> > > than handle suspend/resume.
> >
> > Well, we have default suspend/resume for PCI devices. They are called for
> > devices that have no drivers bound to them and execute
> > pci_restore_state()/pci_restore_state(), among other things. Isn't that
> > sufficient?
>
> That only saves the "standard" registers, not the rest of config space.

Hm, in that case I'd probably opt for writing a special driver for this
particular device.

Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/