[RFC/PATCH 0/16] Ops based MSI Implementation
Grant Grundler
grundler at parisc-linux.org
Fri Jan 26 17:56:13 EST 2007
On Thu, Jan 25, 2007 at 11:18:20PM -0700, Eric W. Biederman wrote:
> You code appears to be nice simple clean and to not support MSI in
> a useful way. I may be reading too quickly but at the moment your
> infrastructure appears useless if you are on a platform that doesn't
> enforce MSI's get filtered with a legacy interrupt controller.
Hrm?
Isn't the point of MSI to avoid any sort of interrupt controller?
> You don't have MSI-X support (which is the interesting case) and you
> don't have suspend/resume support.
I saw save/restore entry points.
I expected suspend/resume code would use those.
Do you agree (or not)?
> You don't support the MSI mask bit.
>
> Looking at your msi_ops it does not map to what I am doing on x86. There
> is the implicit assumption that the msi_message is fixed for the lifetime
> of the msi. Which is wrong.
Erm...wouldn't changing the message also effectively change which handler
ends up catching the interrupt?
I always understood the addr/msg were a pair that HW would map to a handler.
Can you explain what you mean by "lifetime" and "fixed"?
What event would change the message? system Suspend/resume?
...
> After I get some sleep I will see if I can up with some constructive
> criticism on how we can make things work.
Well, I hope the questions I pose above help lead the discussion in
that direction.
thanks,
grant
More information about the Linuxppc-dev
mailing list