From: Prashant <prashant@broadcom.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>,
Michael Chan <mchan@broadcom.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
Boris Ostrovsky <boris.ostrovsky@oracle.com>,
David Vrabel <david.vrabel@citrix.com>,
Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>,
Vlad Yasevich <vyasevich@gmail.com>,
<xen-devel@lists.xensource.com>, <netdev@vger.kernel.org>,
"Siva Reddy (Siva) Kallam" <siva.kallam@broadcom.com>,
Sanjeev Bansal <sanjeevb@broadcom.com>
Subject: Re: tg3 NIC driver bug in 3.14.x under Xen [and 3 more messages]
Date: Wed, 15 Apr 2015 19:53:16 -0700 [thread overview]
Message-ID: <552F241C.4080002@broadcom.com> (raw)
In-Reply-To: <21806.17257.971957.13215@mariner.uk.xensource.com>
On 4/15/2015 3:54 AM, Ian Jackson wrote:
> Prashant writes ("Re: tg3 NIC driver bug in 3.14.x under Xen [and 3 more messages]"):
>> I tried to reproduce the problem on 32 bit 3.14.34 stable kernel
>> baremetal, with iommu=soft swiotlb=force but no luck, no drops or
>> errors. I did not try with Xen 64 bit yet. Btw I need a pcie analyzer
>> trace to confirm the problem. Is it feasible to capture at your end ?
>
> In private correspondence with Prashant we have established that
> Prashant was using a different kernel configuration. Prashant
> provided me with their kernel and module binaries, which work in my
> environment.
>
> I have also established that I can reproduce the problem with 3.14.37
> (`iommu=soft swiotlb=force' baremetal => all rx wholly corrupted).
>
> The kernel config I was using is here:
> http://logs.test-lab.xenproject.org/osstest/logs/50387/build-i386-pvops/build/config
>
> As far as I am aware no-one at Broadcom has attempted a build and test
> using my kernel config.
>
Ian, using your config we are able to recreate the problem that you are
seeing. The driver finds the RX data buffer to be all zero, with a
analyzer trace we are seeing the chip is DMA'ing valid RX data buffer
contents to the host but once the driver tries to read this DMA area, it
is seeing all zero's which is the reason of the corruption. This is only
for the RX data buffer, the RX descriptor and status block update DMA
regions are having valid contents.
This is unlikely to be a chip or driver issue, as the chip is doing the
correct DMA but the corruption occurs before driver reads it. Would
request iommu experts to take a look and suggest what can be done next.
We are more than willing to try any changes in the driver, I have added
few more team members who will work with you if needed. Thanks.
next prev parent reply other threads:[~2015-04-16 2:53 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-07 15:12 tg3 NIC driver bug in 3.14.x under Xen Ian Jackson
2015-04-07 15:37 ` Konrad Rzeszutek Wilk
2015-04-07 18:25 ` Ian Jackson
2015-04-07 16:55 ` Michael Chan
2015-04-07 17:58 ` Ian Jackson
2015-04-07 18:13 ` Ian Jackson
2015-04-07 23:21 ` Michael Chan
2015-04-07 23:22 ` Prashant Sreedharan
2015-04-08 13:59 ` tg3 NIC driver bug in 3.14.x under Xen [and 3 more messages] Ian Jackson
2015-04-09 1:43 ` Prashant Sreedharan
2015-04-09 11:11 ` Ian Jackson
2015-04-09 16:10 ` Prashant Sreedharan
2015-04-09 16:57 ` Ian Jackson
2015-04-09 17:25 ` Ian Jackson
2015-04-09 18:08 ` Prashant Sreedharan
2015-04-10 15:06 ` Ian Jackson
2015-04-11 8:01 ` Prashant
2015-04-15 10:54 ` Ian Jackson
2015-04-16 2:53 ` Prashant [this message]
2015-04-16 10:18 ` Ian Jackson
2015-04-16 12:24 ` cascardo
2015-04-16 16:39 ` Michael Chan
2015-04-16 17:15 ` Ian Jackson
2015-04-16 22:51 ` Prashant Sreedharan
2015-04-17 16:29 ` Ian Jackson
2015-04-17 17:19 ` David Miller
2015-04-17 17:46 ` Michael Chan
2015-04-17 19:04 ` Konrad Rzeszutek Wilk
2015-04-17 19:12 ` David Miller
2015-04-17 18:52 ` Prashant Sreedharan
2015-04-21 15:05 ` Ian Jackson
2015-04-16 18:14 ` David Miller
2015-04-09 18:26 ` Michael Chan
2015-04-10 11:43 ` Ian Jackson
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=552F241C.4080002@broadcom.com \
--to=prashant@broadcom.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=boris.ostrovsky@oracle.com \
--cc=cascardo@linux.vnet.ibm.com \
--cc=david.vrabel@citrix.com \
--cc=konrad.wilk@oracle.com \
--cc=mchan@broadcom.com \
--cc=netdev@vger.kernel.org \
--cc=sanjeevb@broadcom.com \
--cc=siva.kallam@broadcom.com \
--cc=vyasevich@gmail.com \
--cc=xen-devel@lists.xensource.com \
/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;
as well as URLs for NNTP newsgroup(s).