linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Christian Zigotzky <chzigotzky@xenosoft.de>,
	Michael Ellerman <mpe@ellerman.id.au>,
	Gabriel Paubert <paubert@iram.es>,
	netdev@vger.kernel.org, Denis Kirjanov <kda@linux-powerpc.org>,
	linuxppc-dev@lists.ozlabs.org
Subject: Re: [P.A. Semi] Does the ethernet interface work on your Electra, Chitra,  Nemo, and Athena board?
Date: Wed, 09 Dec 2015 10:38:46 +1100	[thread overview]
Message-ID: <1449617926.21036.42.camel@kernel.crashing.org> (raw)
In-Reply-To: <566593B8.3070904@xenosoft.de>

On Mon, 2015-12-07 at 15:12 +0100, Christian Zigotzky wrote:
> Hi all,
> 
> I have some good news for you. I was able to fix the issue with the
> P.A. 
> Semi Ethernet. It was a problem with the new DMA handling. The patch
> ' 
> [RFC/PATCH,v2] powerpc/iommu: Support "hybrid" iommu/direct DMA ops
> for 
> coherent_mask < dma_mask (https://patchwork.ozlabs.org/patch/472535/)
> ' 
> is the problem.

Send me your .config and the full dmesg output. I can't seem to
reproduce here.

Cheers,
Ben.

> I had patched the following files before I compiled a kernel.
> 
> arch/powerpc/Kconfig
> arch/powerpc/include/asm/device.h
> arch/powerpc/include/asm/dma-mapping.h
> arch/powerpc/include/asm/iommu.h
> arch/powerpc/kernel/dma-iommu.c
> arch/powerpc/kernel/dma-swiotlb.c
> arch/powerpc/kernel/dma.c
> arch/powerpc/platforms/powernv/pci-ioda.c
> arch/powerpc/platforms/pseries/iommu.c
> arch/powerpc/sysdev/dart_iommu.c
> include/asm-generic/dma-mapping-common.h
> 
> The P.A. Semi Ethernet works again with the patched kernel.
> 
> I am happy. :-)
> 
> Please fix the issue in the kernel source code.
> 
> Thanks in advance,
> 
> Christian
> 
> 
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev

  parent reply	other threads:[~2015-12-08 23:39 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-29 13:11 [P.A. Semi] Does the ethernet interface work on your Electra, Chitra, Nemo, and Athena board? Christian Zigotzky
2015-11-30  8:37 ` Denis Kirjanov
2015-11-30  9:48   ` Christian Zigotzky
2015-11-30 17:08     ` Christian Zigotzky
2015-11-30 18:12       ` Gabriel Paubert
2015-12-01 14:47         ` Christian Zigotzky
2015-12-02  4:59           ` Christian Zigotzky
2015-12-02  8:14             ` Michael Ellerman
2015-12-02 21:11               ` Christian Zigotzky
2015-12-03 12:37                 ` Christian Zigotzky
2015-12-07 12:09                   ` Christian Zigotzky
2015-12-07 14:12                     ` Christian Zigotzky
2015-12-08  7:32                       ` Denis Kirjanov
2015-12-08 23:38                       ` Benjamin Herrenschmidt [this message]
2015-12-02  8:54       ` Denis Kirjanov

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=1449617926.21036.42.camel@kernel.crashing.org \
    --to=benh@kernel.crashing.org \
    --cc=chzigotzky@xenosoft.de \
    --cc=kda@linux-powerpc.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --cc=netdev@vger.kernel.org \
    --cc=paubert@iram.es \
    /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).