From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Nupur Ghatnekar <nupurghatnekar@gmail.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: irqhandler for xenbus device
Date: Thu, 10 May 2012 11:38:10 -0400 [thread overview]
Message-ID: <20120510153809.GE6389@phenom.dumpdata.com> (raw)
In-Reply-To: <CAO8_4VqfaYYGPAB2kahryaREnZbdcfVFMB_x+xQsY=nc9WrD7A@mail.gmail.com>
On Wed, Mar 21, 2012 at 11:56:41AM +0530, Nupur Ghatnekar wrote:
> Hello,
>
> I have written 2 modules (front and backend) of a device driver.
> here all i have tried to do is share a page and map the page.
> i have added an irqhandler to the eventchannel using
> bind_interdomain_evtchn_to_irqhandler()
>
> but ,this is what i got.. i do not understand what happened.
>
> any help will be appreciated!!
>
> [ 6098.141305] p9_xen_backend_init
> [ 6098.141332] leaving backend_init
> [ 6169.434245] Backprobe fired 1
> [ 6169.434703] node name: /local/domain/2/device/p9xen/0
> [ 6169.434980] INITIAL PAGE: 855 INITAL PORT: 34
> [ 6169.435005] Map Successful: data: Hey this is a new page..we just sent
> it!
> [ 6169.435032] interrupt registered:: 312
> [ 6169.435037] we are in the irq handler!!312
> [ 6169.435040]
> [ 6169.435040] notify by irq
> [ 6169.435043] irq event 312: bogus return value 33
That is the problem. You need to return IRQ_HANDLED in your
irq handler.
prev parent reply other threads:[~2012-05-10 15:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-21 6:26 irqhandler for xenbus device Nupur Ghatnekar
2012-03-21 8:49 ` Jan Beulich
2012-05-10 15:38 ` Konrad Rzeszutek Wilk [this message]
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=20120510153809.GE6389@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=nupurghatnekar@gmail.com \
--cc=xen-devel@lists.xensource.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.