Thread (31 messages) flat view 31 messages, 7 authors, 2011-02-24
STALE5651d

[PATCH v3 2/2] OMAP: IOMMU: add support to callback during fault handling

From: Felipe Balbi <hidden>
Date: 2011-02-21 09:20:22
Also in: linux-omap

Hi,

On Mon, Feb 21, 2011 at 10:57:45AM +0200, David Cohen wrote:
quoted
quoted
Ideally I'd like to avoid having "isr_priv" in iommu since it's not
used for iommu but client needs the place to pass its info to its
custom handler. Any better idea?
I'm not sure if it makes sense as I don't know the mailbox block, but
maybe moving to GENIRQ ? Then IRQ subsystem would take care of the
"dev_id"
Not sure if it fits in this case. It's a different module (IOMMU user)
which needs to get a callback from IOMMU when a fault happens.
Is there any GENIRQ usage currently in this scenario?
No, that's not how GENIRQ is supposed to be used. You will need a
function pointer, like you added.

-- 
balbi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help