Re: [BUG] powerpc does not save msi state [was Re: [PATCH 5/7] pci: Export the pci_restore_msi_state() function

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Benjamin Herrenschmidt
Date: Monday, October 22, 2007 - 5:32 pm

On Mon, 2007-10-22 at 17:23 -0700, David Miller wrote:

differenciate restoring MSI state after a device reset (PCI error
recovery) from restoring MSI state after suspend/resume (if we ever
implement that one).

The former apparently require manual saving & restoring of the config
space bits. (Linas, do you have a pointer to the bit of PAPR spec that
specifies that we need to save & restore the MSI message ourselves ?)

For the later (suspend/resume), that will definitely not work, or at
least, will not be enough, especially with something like suspend to
disk, where we'll need to have the firmware reconfigure the MSIs for us
(to make sure, among others, that the interrupt controllers are properly
configured for MSIs etc...).

Ben.


-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [BUG] powerpc does not save msi state [was Re: [PATCH ..., Benjamin Herrenschmidt, (Fri Oct 19, 6:29 pm)
Re: [BUG] powerpc does not save msi state [was Re: [PATCH ..., Michael Ellerman, (Fri Oct 19, 11:43 pm)
Re: [BUG] powerpc does not save msi state [was Re: [PATCH ..., Benjamin Herrenschmidt, (Sun Oct 21, 2:13 pm)
Re: [PATCH 5/7] pci: Export the pci_restore_msi_state() fu ..., Benjamin Herrenschmidt, (Mon Oct 22, 2:24 pm)
Re: [PATCH 5/7] pci: Export the pci_restore_msi_state() fu ..., Benjamin Herrenschmidt, (Mon Oct 22, 5:29 pm)
Re: [BUG] powerpc does not save msi state [was Re: [PATCH ..., Benjamin Herrenschmidt, (Mon Oct 22, 5:32 pm)