[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.