From: Dirk Gouders Subject: Re: Prevent IRQ sharing for PCI passthrough Date: Fri, 14 May 2010 11:37:02 +0200 Message-ID: References: <4BEC3534.7060707@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, Chris Wright To: Avi Kivity Return-path: Received: from alice.et.bocholt.fh-gelsenkirchen.de ([193.175.197.63]:45275 "EHLO alice.et.bocholt.fh-gelsenkirchen.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753992Ab0ENJhU (ORCPT ); Fri, 14 May 2010 05:37:20 -0400 In-Reply-To: <4BEC3534.7060707@redhat.com> (Avi Kivity's message of "Thu, 13 May 2010 20:21:56 +0300") Sender: kvm-owner@vger.kernel.org List-ID: >> Even after extensive searching/reading, I am not sure if it possible to >> prevent a PCI card from sharing an interrupt with other devices or >> probably manually assign a free interrupt to that card via some kernel >> parameter and would be glad if someone could give me an answer to that >> question. >> > > There is an ACPI _SRS method which can be used to move interrupts > around. However Linux doesn't appear to expose it. Even if it did, > the interrupt may be shared on the motherboard, in which case nothing > would help (though you might be able to share it with unused devices). You mean by providing a custom DSDT, right? A quick look in drivers/acpi/pci_link.c shows a TBD comment mentioning _SRS but I will have to have a deeper look at this subject, because its quite new to me. Thanks for your answer, Dirk