Re: [RFC/PATCH]reconfigure MSI registers after resume

From: Greg KH
Date: Fri Sep 02 2005 - 00:42:13 EST


On Thu, Sep 01, 2005 at 01:59:32PM -0700, Nguyen, Tom L wrote:
> On Thursday, September 01, 2005 1:10 PM Andrew Morton wrote:
> >>
> >> On Thursday, September 01, 2005 12:32 PM Andrew Morton wrote:
> >> > So what is the alternative to Shaohua's fix? Restore all the msi
> >> > registers on resume?
> >>
> >> Yes, the PCIe port bus driver, for example, did that.
> >>
>
> > So you're saying that each individual driver which uses MSI is
> responsible
> > for the restore?
> Yes.
>
> > Is it not possible to do this in some single centralized place?
> Existing pci_save_state(dev)/pci_restore_state(dev) covers only 64 bytes
> of PCI header. One solution is to extend these APIs to cover up to 256
> bytes. What do you think?

Will that solve this issue? I need to dig up my PCI spec to see if that
will still work properly on older pci devices...

thanks,

greg k-h
-
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/