[lkml]   [2010]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: pci_get_dev_by_id() from interrupt handlers
On Tue, Apr 20, 2010 at 10:52:02AM -0700, Greg KH wrote:
> On Tue, Apr 20, 2010 at 07:35:59PM +0200, Joerg Roedel wrote:

> Why not do the whole thing in an interrupt task as the whole thing
> sounds like something that shouldn't be done in interrupt context,
> right? Now that we have this type of functionality, we should take
> advantage of it :)

Ok, I think I move the IOMMU interrupt handling to a tasklet.

> Eventually, notifying KVM isn't something that you want to do from
> interrupt context anyway, right?

On the KVM side it is probably nothing more than setting a request bit.
But lets see how this could be done :-)



 \ /
  Last update: 2010-04-21 12:09    [W:0.047 / U:0.560 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site