Re: restore missing PCI registers after reset

From: Greg KH
Date: Wed Jul 26 2006 - 12:45:03 EST

On Wed, Jul 26, 2006 at 07:32:26PM +0300, Michael S. Tsirkin wrote:
> Quoting r. Greg KH <gregkh@xxxxxxx>:
> > I think pci_restore_state() already restores the msi and msix state,
> > take a look at the latest kernel version :)
> Yes, I know :)
> but I am not talking abotu MSI/MSI-X, I am talking about the following:
> > > > PCI-X device: PCI-X command register
> > > > PCI-X bridge: upstream and downstream split transaction registers
> > > > PCI Express : PCI Express device control and link control registers
> these register values include maxumum MTU for PCI express and other vital
> data.

Make up a patch that shows how you would save these in a generic way and
we can discuss it. I know people have talked about saving the extended
PCI config space for devices that need it, so that might be all you
need to do here.


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
Please read the FAQ at