public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Da Powah <dapowah@hotmail.com>
To: kvm@vger.kernel.org
Subject: Re: Passthrough of 2 PCI devices works 80% (Kernel 2.6.37, Debian Squeeze, Win7 VM)
Date: Thu, 17 Feb 2011 21:14:52 +0000 (UTC)	[thread overview]
Message-ID: <loom.20110217T213339-185@post.gmane.org> (raw)
In-Reply-To: 1297898691.14733.216.camel@x201

I extracted some WindowsXPpro VM PCI data with pcitree - maybe this gives you a
hint:

IRQ Mapping:
INT line  0 <-
INT line  1 <-
INT line  2 <-
INT line  3 <-
INT line  4 <-
INT line  5 <-  5<-A(0.3.0)1000.1AF4    5<-A(0.7.0)7146.1131
INT line  6 <-
INT line  7 <-
INT line  8 <-
INT line  9 <-  9<-A(0.1.3)7113.8086
INT line 10 <- 10<-D(0.1.2)7020.8086 10<-A(0.4.0)1001.1AF4 10<-A(0.6.0)1002.1AF4
INT line 11 <-  11<-A(0.5.0)7146.1131
INT line 12 <-
INT line 13 <-
INT line 14 <-
INT line 15 <-


IO memory Map:
F0000000 <-  :  BAR1(0.2.0)15AD.0405
F0800000 <-  :
F1000000 <-  :  BAR2(0.2.0)15AD.0405    BAR1(0.3.0)1AF4.1000
BAR0(0.5.0)1131.7146    BAR0(0.7.0)1131.7146

host CPU
:  0.00.0        Host/PCI; Bridge Device  8086 1237 [Intel] 82440/1FX 440FX 
´(Natoma) System Controller: 82440/1FX 440FX (Natoma) System Controller 
// SubIDs 1af4 1100  no-name: no-name
1237 8086 <00 : DID VID
0000 0003 <04 : Stat Cmd
0600 0002 <08 : BaseClass SubClass PgmIF RevID
0000 0000 <0C : BIST Header LatTimer CacheLSize
0000 0000 <10 : BAR 0
0000 0000 <14 : BAR 1
0000 0000 <18 : BAR 2
0000 0000 <1C : BAR 3
0000 0000 <20 : BAR 4
0000 0000 <24 : BAR 5
0000 0000 <28 : Cardbus_CIS_Ptr
1100 1AF4 <2C : SubID SubVendorID
0000 0000 <30 : Exp_ROM_BAR
0000 0000 <34 : reserved
0000 0000 <38 : reserved
0000 0000 <3C : maxLat minGnt IntPin IntLine
:  0.01.0        PCI/ISA; Bridge Device  8086 7000 [Intel] 82371SB PIIX3 
ISA Bridge: 82371SB PIIX3 ISA Bridge // SubIDs 1af4 1100  no-name: no-name
7000 8086 <00 : DID VID
0200 0007 <04 : Stat Cmd
0601 0000 <08 : BaseClass SubClass PgmIF RevID
0080 0000 <0C : BIST Header LatTimer CacheLSize
0000 0000 <10 : BAR 0
0000 0000 <14 : BAR 1
0000 0000 <18 : BAR 2
0000 0000 <1C : BAR 3
0000 0000 <20 : BAR 4
0000 0000 <24 : BAR 5
0000 0000 <28 : Cardbus_CIS_Ptr
1100 1AF4 <2C : SubID SubVendorID
0000 0000 <30 : Exp_ROM_BAR
0000 0000 <34 : reserved
0000 0000 <38 : reserved
0000 0000 <3C : maxLat minGnt IntPin IntLine
:  0.01.1        o. Mass Storage Controller  8086 7010 [Intel] 82371SB PIIX3
 EIDE Controller: 82371SB PIIX3 EIDE Controller 
 // SubIDs 1af4 1100  no-name: no-name
7010 8086 <00 : DID VID
0280 0007 <04 : Stat Cmd
0101 8000 <08 : BaseClass SubClass PgmIF RevID
0000 0000 <0C : BIST Header LatTimer CacheLSize
0000 0000 <10 : BAR 0
0000 0000 <14 : BAR 1
0000 0000 <18 : BAR 2
0000 0000 <1C : BAR 3
0000 C001 <20 : BAR 4 io
0000 0000 <24 : BAR 5
0000 0000 <28 : Cardbus_CIS_Ptr
1100 1AF4 <2C : SubID SubVendorID
0000 0000 <30 : Exp_ROM_BAR
0000 0000 <34 : reserved
0000 0000 <38 : reserved
0000 0000 <3C : maxLat minGnt IntPin IntLine
:  0.01.2        Universal Host Controller; USB (Universal Serial Bus); 
Serial Bus Controller  8086 7020 [Intel] 82371SB PIIX3 USB Controller: 
82371SB PIIX3 USB Controller // SubIDs 1af4 1100  no-name: no-name
7020 8086 <00 : DID VID
0000 0007 <04 : Stat Cmd
0C03 0001 <08 : BaseClass SubClass PgmIF RevID
0000 0000 <0C : BIST Header LatTimer CacheLSize
0000 0000 <10 : BAR 0
0000 0000 <14 : BAR 1
0000 0000 <18 : BAR 2
0000 0000 <1C : BAR 3
0000 C021 <20 : BAR 4 io
0000 0000 <24 : BAR 5
0000 0000 <28 : Cardbus_CIS_Ptr
1100 1AF4 <2C : SubID SubVendorID
0000 0000 <30 : Exp_ROM_BAR
0000 0000 <34 : reserved
0000 0000 <38 : reserved
0000 040A <3C : maxLat minGnt IntPin IntLine
:  0.01.3        Other; Bridge Device  8086 7113 [Intel] 82371AB/EB/MB 
PIIX4/E/M Power Management Controller: 82371AB/EB/MB PIIX4/E/M 
Power Management Controller // SubIDs 1af4 1100  no-name: no-name
7113 8086 <00 : DID VID
0280 0003 <04 : Stat Cmd
0680 0003 <08 : BaseClass SubClass PgmIF RevID
0000 0000 <0C : BIST Header LatTimer CacheLSize
0000 0000 <10 : BAR 0
0000 0000 <14 : BAR 1
0000 0000 <18 : BAR 2
0000 0000 <1C : BAR 3
0000 0000 <20 : BAR 4
0000 0000 <24 : BAR 5
0000 0000 <28 : Cardbus_CIS_Ptr
1100 1AF4 <2C : SubID SubVendorID
0000 0000 <30 : Exp_ROM_BAR
0000 0000 <34 : reserved
0000 0000 <38 : reserved
0000 0109 <3C : maxLat minGnt IntPin IntLine
:  0.02.0        VGA; PC Compatible; Display Controller  15ad 0405 [VMware] 
VGA 4.0.5: VGA 4.0.5 // SubIDs 15ad 0405  VGA 4.0.5: VGA 4.0.5
0405 15AD <00 : DID VID
0000 0007 <04 : Stat Cmd
0300 0000 <08 : BaseClass SubClass PgmIF RevID
0000 4000 <0C : BIST Header LatTimer CacheLSize
0000 C041 <10 : BAR 0 io
F000 0008 <14 : BAR 1 mem pref. 32bit
F100 0008 <18 : BAR 2 mem pref. 32bit
0000 0000 <1C : BAR 3
0000 0000 <20 : BAR 4
0000 0000 <24 : BAR 5
0000 0000 <28 : Cardbus_CIS_Ptr
0405 15AD <2C : SubID SubVendorID
0000 0000 <30 : Exp_ROM_BAR
0000 0000 <34 : reserved
0000 0000 <38 : reserved
0000 0000 <3C : maxLat minGnt IntPin IntLine
:  0.03.0        Ethernet; Network Controller  1af4 1000 [no VID] no device 
name found: no device description found // SubIDs 1af4 0001  no-name: no-name
1000 1AF4 <00 : DID VID
0010 0007 <04 : Stat Cmd
0200 0000 <08 : BaseClass SubClass PgmIF RevID
0000 0000 <0C : BIST Header LatTimer CacheLSize
0000 C061 <10 : BAR 0 io
F101 0000 <14 : BAR 1 mem 32bit
0000 0000 <18 : BAR 2
0000 0000 <1C : BAR 3
0000 0000 <20 : BAR 4
0000 0000 <24 : BAR 5
0000 0000 <28 : Cardbus_CIS_Ptr
0001 1AF4 <2C : SubID SubVendorID
0000 0000 <30 : Exp_ROM_BAR
0000 0040 <34 : reserved
0000 0000 <38 : reserved
0000 0105 <3C : maxLat minGnt IntPin IntLine
:  0.04.0        SCSI; Mass Storage Controller  1af4 1001 [no VID] no device 
name found: no device description found // SubIDs 1af4 0002  no-name: no-name
1001 1AF4 <00 : DID VID
0000 0007 <04 : Stat Cmd
0100 0000 <08 : BaseClass SubClass PgmIF RevID
0000 0000 <0C : BIST Header LatTimer CacheLSize
0000 C081 <10 : BAR 0 io
0000 0000 <14 : BAR 1
0000 0000 <18 : BAR 2
0000 0000 <1C : BAR 3
0000 0000 <20 : BAR 4
0000 0000 <24 : BAR 5
0000 0000 <28 : Cardbus_CIS_Ptr
0002 1AF4 <2C : SubID SubVendorID
0000 0000 <30 : Exp_ROM_BAR
0000 0000 <34 : reserved
0000 0000 <38 : reserved
0000 010A <3C : maxLat minGnt IntPin IntLine
:  0.05.0        Other; Multimedia Device  1131 7146 [Philips] SAA7146 
Multimedia Bridge Scaler: SAA7146 Multimedia Bridge Scaler 
// SubIDs 13c2 1019  Happauge WinTV: no-name
7146 1131 <00 : DID VID
0280 0006 <04 : Stat Cmd
0480 0001 <08 : BaseClass SubClass PgmIF RevID
0000 0000 <0C : BIST Header LatTimer CacheLSize
F101 1000 <10 : BAR 0 mem 32bit
0000 0000 <14 : BAR 1
0000 0000 <18 : BAR 2
0000 0000 <1C : BAR 3
0000 0000 <20 : BAR 4
0000 0000 <24 : BAR 5
0000 0000 <28 : Cardbus_CIS_Ptr
1019 13C2 <2C : SubID SubVendorID
0000 0000 <30 : Exp_ROM_BAR
0000 0040 <34 : reserved
0000 0000 <38 : reserved
260F 010B <3C : maxLat minGnt IntPin IntLine
:  0.06.0        RAM; Memory Controller  1af4 1002 [no VID] no device name 
found: no device description found // SubIDs 1af4 0005  no-name: no-name
1002 1AF4 <00 : DID VID
0000 0003 <04 : Stat Cmd
0500 0000 <08 : BaseClass SubClass PgmIF RevID
0000 0000 <0C : BIST Header LatTimer CacheLSize
0000 C0C1 <10 : BAR 0 io
0000 0000 <14 : BAR 1
0000 0000 <18 : BAR 2
0000 0000 <1C : BAR 3
0000 0000 <20 : BAR 4
0000 0000 <24 : BAR 5
0000 0000 <28 : Cardbus_CIS_Ptr
0005 1AF4 <2C : SubID SubVendorID
0000 0000 <30 : Exp_ROM_BAR
0000 0000 <34 : reserved
0000 0000 <38 : reserved
0000 010A <3C : maxLat minGnt IntPin IntLine
:  0.07.0        Other; Multimedia Device  1131 7146 [Philips] SAA7146 
Multimedia Bridge Scaler: SAA7146 Multimedia Bridge Scaler 
// SubIDs 13c2 1019  Happauge WinTV: no-name
7146 1131 <00 : DID VID
0280 0006 <04 : Stat Cmd
0480 0001 <08 : BaseClass SubClass PgmIF RevID
0000 0000 <0C : BIST Header LatTimer CacheLSize
F101 2000 <10 : BAR 0 mem 32bit
0000 0000 <14 : BAR 1
0000 0000 <18 : BAR 2
0000 0000 <1C : BAR 3
0000 0000 <20 : BAR 4
0000 0000 <24 : BAR 5
0000 0000 <28 : Cardbus_CIS_Ptr
1019 13C2 <2C : SubID SubVendorID
0000 0000 <30 : Exp_ROM_BAR
0000 0040 <34 : reserved
0000 0000 <38 : reserved
260F 0105 <3C : maxLat minGnt IntPin IntLine



  parent reply	other threads:[~2011-02-17 21:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-15 20:57 Passthrough of 2 PCI devices works 80% (Kernel 2.6.37, Debian Squeeze, Win7 VM) Da Powah
2011-02-16 23:24 ` Alex Williamson
2011-02-17 19:39   ` Da Powah
2011-02-17 21:14   ` Da Powah [this message]
2011-02-22 11:48   ` Da Powah
  -- strict thread matches above, loose matches on Subject: below --
2011-02-19 22:53 Da Powah
2011-02-20  1:16 ` Da Powah

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20110217T213339-185@post.gmane.org \
    --to=dapowah@hotmail.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox