[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] irqhandler for xenbus device



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.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.