linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Christian Zigotzky <chzigotzky@xenosoft.de>
To: 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: [P.A. Semi] Does the ethernet interface work on your Electra, Chitra, Nemo, and Athena board?
Date: Mon, 7 Dec 2015 15:12:08 +0100	[thread overview]
Message-ID: <566593B8.3070904@xenosoft.de> (raw)
In-Reply-To: <566576E8.2060300@xenosoft.de>

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.

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

  reply	other threads:[~2015-12-07 14:13 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 [this message]
2015-12-08  7:32                       ` Denis Kirjanov
2015-12-08 23:38                       ` Benjamin Herrenschmidt
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=566593B8.3070904@xenosoft.de \
    --to=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).