From: "Jan Beulich" Subject: Re: dom0 kernel - irq nobody cared ... the continuing saga .. Date: Tue, 10 Feb 2015 10:57:08 +0000 Message-ID: <54D9F214020000780005E8A2@mail.emea.novell.com> References: <132553031.20150209160327@eikelenboom.it> <54D8CFB7.6060000@citrix.com> <54D8F01C020000780005E497@mail.emea.novell.com> <1034857157.20150209181305@eikelenboom.it> <54D9D3D9020000780005E77B@mail.emea.novell.com> <1136293979.20150210101907@eikelenboom.it> <54D9DEF8020000780005E805@mail.emea.novell.com> <17310065576.20150210110350@eikelenboom.it> <54D9ED50020000780005E850@mail.emea.novell.com> <1349522326.20150210114714@eikelenboom.it> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1349522326.20150210114714@eikelenboom.it> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Sander Eikelenboom Cc: David Vrabel , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org >>> On 10.02.15 at 11:47, wrote: > Tuesday, February 10, 2015, 11:36:48 AM, you wrote: >> No - such a shared IRQ gets sent to both domains. There's no notion >> of one domain claiming it and the other then not seeing it, as any >> instance of the interrupt may mean more than one of the devices >> signaled it - remember that shared interrupts are always level >> triggered, i.e. there is no way of telling how many devices request >> servicing. > > Ok .. just thinking out loud .. > > But how would that work then ? > If the interrupt gets always sent to both domains > and > there is no handler for it in dom0 > > Wouldn't that then *always* cause a "irq nobody cared" .. > unless it's masked ? That's what the handler pciback installs is needed for. > And if so .. wouldn't that imply that since i sometimes (but not always) > get the "irq nobody cared", that it is unmasked at some point in time ? No, seeing this depends on both the other driver (some claim they handled IRQs even if their device didn't need service) and the rate at which "false" IRQs get sent. > And if so .. is there a way to detect that it's get unmasked ? IRQs without handlers are masked; when a handler gets installed they get unmasked. Jan