lkml.org 
[lkml]   [2008]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Some sort corruption of my Thermal Subsystem after suspend to ram
Date
On Thursday, 1 of May 2008, Matthew Garrett wrote:
> On Thu, May 01, 2008 at 01:57:58AM -0400, Len Brown wrote:
>
> > I'm not aware of a native Linux device driver that talks to this device
> > (nor can I think of a useful purpose for such a driver)
> > So it seems what is in play here is any BIOS code that talks to this device,
> > and Linux's standard PCI config space restore.
>
> 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?

Rafael


\
 
 \ /
  Last update: 2008-05-01 15:01    [W:0.051 / U:0.624 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site