lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100421100528.GG31537@amd.com>
Date:	Wed, 21 Apr 2010 12:05:28 +0200
From:	Joerg Roedel <joerg.roedel@....com>
To:	Greg KH <greg@...ah.com>
CC:	Joerg Roedel <joro@...tes.org>,
	Jesse Barnes <jbarnes@...tuousgeek.org>,
	linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: 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 :-)

Thanks,

	Joerg


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ