linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: balbi@ti.com (Felipe Balbi)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 2/2] OMAP: IOMMU: add support to callback during fault handling
Date: Mon, 21 Feb 2011 11:20:22 +0200	[thread overview]
Message-ID: <20110221092022.GA4159@legolas.emea.dhcp.ti.com> (raw)
In-Reply-To: <AANLkTinTCGhH9HgGEr1ciHL5Vf+gQxecr17O6Z9OTOWv@mail.gmail.com>

Hi,

On Mon, Feb 21, 2011 at 10:57:45AM +0200, David Cohen wrote:
> >> 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

  reply	other threads:[~2011-02-21  9:20 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-16 19:35 [PATCH v3 0/2] OMAP: IOMMU fault callback support David Cohen
2011-02-16 19:35 ` [PATCH v3 1/2] OMAP2+: IOMMU: don't print fault warning on specific layer David Cohen
2011-02-16 19:35 ` [PATCH v3 2/2] OMAP: IOMMU: add support to callback during fault handling David Cohen
2011-02-21  8:18   ` Hiroshi DOYU
2011-02-21  8:22     ` Felipe Balbi
2011-02-21  8:57       ` David Cohen
2011-02-21  9:20         ` Felipe Balbi [this message]
2011-02-21  9:07     ` David Cohen
2011-02-21  9:51       ` Hiroshi DOYU
2011-02-21 18:43   ` Ramirez Luna, Omar
2011-02-21 21:12     ` David Cohen
2011-02-21 23:25       ` Ramirez Luna, Omar
2011-02-21 23:48         ` David Cohen
2011-02-23  1:17   ` Guzman Lugo, Fernando
2011-02-23  9:45     ` David Cohen
2011-02-23 13:39       ` Guzman Lugo, Fernando
2011-02-23 19:54         ` David Cohen
2011-02-23 20:56           ` Sakari Ailus
2011-02-23 21:48             ` Guzman Lugo, Fernando
2011-02-24  6:39               ` David Cohen
2011-02-23 21:12           ` Guzman Lugo, Fernando
2011-02-23 20:09         ` Sakari Ailus
2011-02-23 20:21           ` David Cohen
2011-02-23 21:30           ` Guzman Lugo, Fernando
2011-02-24  8:35           ` Felipe Balbi
2011-02-24 11:26             ` David Cohen
2011-02-24 11:29               ` Felipe Balbi
2011-02-24 17:58                 ` Guzman Lugo, Fernando
2011-02-24 20:31                   ` Tony Lindgren
2011-02-24 22:21                     ` Tony Lindgren
2011-02-21  9:52 ` [PATCH v3 0/2] OMAP: IOMMU fault callback support Hiroshi DOYU

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110221092022.GA4159@legolas.emea.dhcp.ti.com \
    --to=balbi@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).