From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: AMD KVM Pci Passthrough reports device busy Date: Mon, 25 Jun 2012 13:22:53 +0200 Message-ID: <20120625112253.GT2624@amd.com> References: <1338867845.23475.168.camel@bling.home> <201206051039.q55AdXda002609@mail.maya.org> <1338906425.23475.186.camel@bling.home> <20120606101105.GD757@amd.com> <201206250555.q5P5ttZ4002091@mail.maya.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: Alex Williamson , Chris Sanders , To: Andreas Hartmann Return-path: Received: from am1ehsobe005.messaging.microsoft.com ([213.199.154.208]:51061 "EHLO am1outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754131Ab2FYLW4 (ORCPT ); Mon, 25 Jun 2012 07:22:56 -0400 Content-Disposition: inline In-Reply-To: <201206250555.q5P5ttZ4002091@mail.maya.org> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Jun 25, 2012 at 07:55:55AM +0200, Andreas Hartmann wrote: > Hello Joerg, > > Joerg Roedel wrote: > > On Tue, Jun 05, 2012 at 08:27:05AM -0600, Alex Williamson wrote: > >> Joerg, the question is whether the multifunction device above allows > >> peer-to-peer between functions that could bypass the iommu. If not, we > >> can make it the first entry in device specific acs enabled function I > >> proposed: > >> > >> https://lkml.org/lkml/2012/5/30/438 > >> > >> and it would greatly simplify assigning PCI devices on these systems > >> with VFIO. Thanks, > > > > Hm, good question. I will ask around and let you know what I find out. > > May I please ask, if you meanwhile could get any information about > potential peer-to-peer communication between the functions of the > following multifunction device: > > 00:14.0 SMBus: Advanced Micro Devices [AMD] nee ATI SBx00 SMBus Controller (rev 42) > 00:14.1 IDE interface: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 IDE Controller (rev 40) (prog-if 8a [Master SecP PriP]) > 00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) (rev 40) > 00:14.3 ISA bridge: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 LPC host controller (rev 40) > 00:14.4 PCI bridge: Advanced Micro Devices [AMD] nee ATI SBx00 PCI to PCI Bridge (rev 40) (prog-if 01 [Subtractive decode]) > 00:14.5 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI2 Controller (prog-if 10 [OHCI]) > > 00:14.0 0c05: 1002:4385 (rev 42) > 00:14.1 0101: 1002:439c (rev 40) > 00:14.2 0403: 1002:4383 (rev 40) > 00:14.3 0601: 1002:439d (rev 40) > 00:14.4 0604: 1002:4384 (rev 40) > 00:14.5 0c03: 1002:4399 I asked the 'supposed-to-be-resonsible-person' but didn't get a resonse so far. I will ping them again. Joerg -- AMD Operating System Research Center Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach General Managers: Alberto Bozzo Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 43632