WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] PCI passthrough and 3.3.1/3.4.0

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] PCI passthrough and 3.3.1/3.4.0
From: Andy Burns <xen.lists@xxxxxxxxxxx>
Date: Sun, 8 Mar 2009 12:01:21 +0000
Cc: Yuji Shimada <shimada-yxb@xxxxxxxxxxxxxxx>
Delivery-date: Sun, 08 Mar 2009 05:01:52 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=VuoiI6GbhSbo6O+IYPRMJ7yI6pp8z74i8GU0JqzOQoE=; b=FdC48hB2s6GvmwW5SpC53K/n+XUH7qC8dZDW640GdhBLvm3m01FCmw5sNDC4s81FwR gArihQz7/5PpKrT4lDKYxiRuaEDJaDClhLwPAn6XjgCIcLov2HjU8SAAp8o1BJYDI/DP sXnGNyR4o9Am3KUCDX8lPo5RUTOBa1r1B7snE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=hkEfEJZKpjjxQ26Ih+7AfVeutXHcCh/90Qb3jizPcEz0JWS5yTk6huUoE6RyUODYpA KuUsMLFwEwyExObrCC0scnTy8M9k+O5OcdKjjwd/+7yrhkrU2+B1XEPpC13xPjMiLoR2 fP9GOt4XT6h9dh41Uuo2BBoGBYjLp7TiMh5fM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C5D02915.3AA8%keir.fraser@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <b4057d410903010316t7aab5277x2e0b0e0a7b68abe5@xxxxxxxxxxxxxx> <C5D02915.3AA8%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
2009/3/1 Keir Fraser <keir.fraser@xxxxxxxxxxxxx>:

> On 01/03/2009 11:16, "Andy Burns" <xen.lists@xxxxxxxxxxx> wrote:
>
>> I'll try Yuji's BAR alignment patches on CentOS
>
> Yes, worth some experimentation I think.

OK, I've built a centosplus 5.2 kernel for dom0

I have patched it to

1) re-enable my sky2 NICs

2) correctly size the saa7134 mmio area

3) include the first of Yuji's "page-aligned" patches with minor
tweaks to quirks.c to allow clean application.
http://xenbits.xensource.com/linux-2.6.18-xen.hg?rev/2b5cc22ab406

I've added "reassign_resources reassigndev=0000:08:00.0" to my grub stanza,

I do see "PCI: resource reassign ON" in the console output, but no
"PCI: Disable device and release resources" message and lspci still
shows the device on a non-page aligned address

# lspci -v -s 08:00.0

08:00.0 Multimedia controller: Philips Semiconductors SAA7130 Video
Broadcast Decoder
        Subsystem: Compro Technology, Inc. Videomate DVB-T200
        Flags: medium devsel, IRQ 16
        Memory at febffc00 (32-bit, non-prefetchable) [disabled] [size=1K]
        Capabilities: [40] Power Management version 1

Any thoughts? Do I need to reassign the other devices behind the
00.1e.0 PCI bridge or the bridge itself?

# lspci -v -s 00:1e.0

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92) (prog-if 01 [Su)
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=08, subordinate=08, sec-latency=32
        I/O behind bridge: 0000e000-0000efff
        Memory behind bridge: feb00000-febfffff
        Capabilities: [50] #0d [0000]

# lspci -t

-[0000:00]-+-00.0
           +-01.0-[0000:01]--+-00.0
           |                 \-00.1
           +-1a.0
           +-1a.1
           +-1a.2
           +-1a.7
           +-1b.0
           +-1c.0-[0000:05-07]--+-00.0-[0000:07]----01.0
           |                    \-00.1-[0000:06]--
           +-1c.2-[0000:04]----00.0
           +-1c.3-[0000:03]----00.0
           +-1c.4-[0000:02]----00.0
           +-1d.0
           +-1d.1
           +-1d.2
           +-1d.7
           +-1e.0-[0000:08]--+-00.0
           |                 +-01.0
           |                 \-03.0
           +-1f.0
           +-1f.2
           \-1f.3

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel