All of lore.kernel.org
 help / color / mirror / Atom feed
From: "J�rn Engel" <joern@dublin.logfs.org>
To: Francois Romieu <romieu@fr.zoreil.com>,
	Robert Hancock <hancockrwd@gmail.com>,
	David Miller <davem@davemloft.net>,
	torvalds@linux-foundation.org, linux-kernel@vger.kernel.org,
	netdev@vger.kernel.org
Subject: Re: [Regression] r8169: enable 64-bit DMA by default for PCI Express devices (v2)
Date: Thu, 18 Mar 2010 10:03:08 +0100	[thread overview]
Message-ID: <20100318090308.GA3697@Dublin.logfs.org> (raw)
In-Reply-To: <20100317205206.GA2699@electric-eye.fr.zoreil.com>

On Wed, 17 March 2010 21:52:06 +0100, Francois Romieu wrote:
> On Tue, Mar 16, 2010 at 09:35:01AM +0100, J�rn Engel wrote:
> [...]
> > I just noticed lspci is also unhappy.
> > 
> > With patch in:
> > Bikini:~# lspci -vv > lspci
> > pcilib: sysfs_read_vpd: read failed: Connection timed out.
> >
> > With patch reverted:
> > Bikini:~# lspci -vv > lspci2
> > Bikini:~# diff -u lspci*
> > --- lspci       2010-03-16 09:03:02.000000000 +0100
> > +++ lspci2      2010-03-16 09:09:36.000000000 +0100
> > @@ -246,7 +246,7 @@
> >                 Vector table: BAR=4 offset=00000000
> >                 PBA: BAR=4 offset=00000800
> >         Capabilities: [cc] Vital Product Data
> > -               Not readable
> > +               Unknown small resource type 00, will not decode more.
> 
> Neither looks good.

Agreed.

> Did lspci output look different with an older kernel ?

Yes.  The relevant hunk is this one.  Different obviously doesn't
mean better. :)

@@ -223,7 +221,7 @@
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
-               Address: 00000000fee0300c  Data: 4169
+               Address: 00000000fee0300c  Data: 4179
        Capabilities: [70] Express (v2) Endpoint, MSI 01
                DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
                        ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-

And for completeness he is the full diff.  The machine was bought on
16 Jun 2009, so this is the oldest kernel I have.  If you want any
specific kernels tested, please tell me which ones.

Bikini:~# uname -a
Linux Bikini 2.6.31-rc2 #193 SMP Sun Mar 14 17:00:08 CET 2010 x86_64 GNU/Linux
Bikini:~# lspci -vv > lspci3
Bikini:~# diff -u lspci[23]
--- lspci2      2010-03-16 09:09:46.000000000 +0100
+++ lspci3      2010-03-18 09:49:21.000000000 +0100
@@ -24,14 +24,12 @@
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
 
 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01) (prog-if 00 [Normal decode])
-       Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
+       Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 32 bytes
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
-       I/O behind bridge: 00001000-00001fff
-       Memory behind bridge: bf700000-bfafffff
        Prefetchable memory behind bridge: 00000000fdf00000-00000000fdffffff
-       Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
+       Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
        BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: [40] Express (v1) Root Port (Slot+), MSI 00
@@ -56,14 +54,14 @@
                RootCap: CRSVisible-
                RootSta: PME ReqID 0000, PMEStatus- PMEPending-
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
-               Address: fee0300c  Data: 4149
+               Address: fee0300c  Data: 4159
        Capabilities: [90] Subsystem: ASRock Incorporation Device 27d0
        Capabilities: [a0] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [100] Virtual Channel <?>
        Capabilities: [180] Root Complex Link <?>
-       Kernel driver in use: pcieport
+       Kernel driver in use: pcieport-driver
 
 00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
@@ -98,14 +96,14 @@
                RootCap: CRSVisible-
                RootSta: PME ReqID 0000, PMEStatus- PMEPending-
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
-               Address: fee0300c  Data: 4151
+               Address: fee0300c  Data: 4161
        Capabilities: [90] Subsystem: ASRock Incorporation Device 27d2
        Capabilities: [a0] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [100] Virtual Channel <?>
        Capabilities: [180] Root Complex Link <?>
-       Kernel driver in use: pcieport
+       Kernel driver in use: pcieport-driver
 
 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01) (prog-if 00 [UHCI])
        Subsystem: ASRock Incorporation Device 27c8
@@ -223,7 +221,7 @@
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
-               Address: 00000000fee0300c  Data: 4169
+               Address: 00000000fee0300c  Data: 4179
        Capabilities: [70] Express (v2) Endpoint, MSI 01
                DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
                        ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-

  reply	other threads:[~2010-03-18  9:03 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20100315150806.GA15354@Dublin.logfs.org>
2010-03-15 15:10 ` [Regression] r8169: enable 64-bit DMA by default for PCI Express devices (v2) J�rn Engel
2010-03-15 18:57   ` David Miller
2010-03-15 18:57     ` David Miller
2010-03-15 23:28     ` Robert Hancock
2010-03-15 23:28       ` Robert Hancock
2010-03-16  8:35       ` J�rn Engel
2010-03-16 23:30         ` Robert Hancock
2010-03-16 23:30           ` Robert Hancock
2010-03-16 23:40           ` David Miller
2010-03-26  0:56           ` Robert Hancock
2010-03-26  0:56             ` Robert Hancock
2010-03-26  3:29             ` David Miller
2010-03-26  9:12             ` J�rn Engel
2010-03-27  1:55               ` Robert Hancock
2010-03-27  6:38                 ` J�rn Engel
2010-03-27 17:46                   ` Robert Hancock
2010-03-27 22:00                     ` J�rn Engel
2010-03-27 11:57                 ` =?unknown-8bit?B?RnJhbsOnb2lz?= Romieu
2010-03-17 20:52         ` Francois Romieu
2010-03-18  9:03           ` J�rn Engel [this message]
2010-03-18  9:03           ` J�rn Engel

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=20100318090308.GA3697@Dublin.logfs.org \
    --to=joern@dublin.logfs.org \
    --cc=davem@davemloft.net \
    --cc=hancockrwd@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=romieu@fr.zoreil.com \
    --cc=torvalds@linux-foundation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.