Re: [PATCH 5/7] pci: Export the pci_restore_msi_state() function

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michael Ellerman
Date: Sunday, October 21, 2007 - 6:49 pm

On Sun, 2007-10-21 at 16:21 -0700, David Miller wrote:

On pseries there's a chance it will work for PCI error recovery, but if
so it's just lucky that firmware has left everything configured the same
way. For actual suspend/resume it will never work, we need to ask
firmware to configure things.


Yes I think so. That way we can properly reconfigure via the firmware
interface. The other option would be to design some new arch hook to do
resume, but just doing a disable/enable seems simpler to me.

cheers

--=20
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
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 ..., Michael Ellerman, (Sun Oct 21, 6:49 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)