Received: by 2002:ac0:8c8e:0:0:0:0:0 with SMTP id r14csp739439ima; Wed, 6 Feb 2019 07:36:31 -0800 (PST) X-Google-Smtp-Source: AHgI3IY4x5KefmHRWahyHk/ujrMBJ2EyojfHofKMLFNJwY9Dn/PSjEVa5R3IhrEy3F1//OHdGrbk X-Received: by 2002:a63:2c8a:: with SMTP id s132mr6553501pgs.440.1549467391602; Wed, 06 Feb 2019 07:36:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549467391; cv=none; d=google.com; s=arc-20160816; b=RactdjQjjprcr2iQupzpTK8s2n1/YALlF8uHpIPY1LOZKRiKk40Tg9ZFv5NyY2jeCk 5tVohDL4vQ2G6tAfGKZI4Wm7WAGvuHqSeYfzNK+YJpMtkDSPNx/2UmG237WRviXXLrTt WH1GCcQE0xXUxtL1J/iKPGkchThkynMCBHQU/aP9cKcomYPAed37SYK8gZAfTjpwyZuJ s//pUavuDV9WwWLIV7H0oAmAvGZd5H3F55a3TeT05tsFE2PnWkOASK0z3m824ZKxS00n fTqmaWeCZWkykC5Viy8VXX+uYKyL4+feHXgb/prpdrmS1Fxoa4fQo/RmTWZ13F+z8f8N +5+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=xNi3wYWX3XQ135uT0Lkj2vOo3RcKb73cHHue4rq298A=; b=TeMvTyUD5iKTSGRJFgJX3J3qxv62nWZp1yGbPWRH11FHJBIbKh0KmxxQxD12u8mdaK TgDSByVsdtTwOnMLVqvwOEPyqaU6SGX0yZoLP4HdmAsAbmsN5VkuuLVbXFg/6m9j62zM eN0X3bmM75BN1Kg5+46XtfbR2gnE5O7JtSwA+CHDu7K6/njpRLk5whc8fZV7zZ+R8Sj7 Cyw9GVggwBaPsx7M+ewe5JxznYdVKwuhllmsXF2ZefYyujvBTsUlE6dRFwCFwvs3g8cx 9/ZVaVJ0dEYPJrnjoex+AKVoBwfKJBXV1oZIiOHQNqA3UFKfocL+uXhM67c559QsVVAv WLsg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 9si6557133plc.40.2019.02.06.07.36.15; Wed, 06 Feb 2019 07:36:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731214AbfBFPPH (ORCPT + 99 others); Wed, 6 Feb 2019 10:15:07 -0500 Received: from verein.lst.de ([213.95.11.211]:60192 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729636AbfBFPPH (ORCPT ); Wed, 6 Feb 2019 10:15:07 -0500 Received: by newverein.lst.de (Postfix, from userid 2407) id 111A568D93; Wed, 6 Feb 2019 16:15:06 +0100 (CET) Date: Wed, 6 Feb 2019 16:15:05 +0100 From: Christoph Hellwig To: Christian Zigotzky Cc: Christoph Hellwig , Olof Johansson , linux-arch@vger.kernel.org, Darren Stevens , linux-kernel@vger.kernel.org, Julian Margetson , linux-mm@kvack.org, iommu@lists.linux-foundation.org, Paul Mackerras , linuxppc-dev@lists.ozlabs.org Subject: Re: use generic DMA mapping code in powerpc V4 Message-ID: <20190206151505.GA31065@lst.de> References: <20190129163415.GA14529@lst.de> <96762cd2-65fc-bce5-8c5b-c03bc3baf0a1@xenosoft.de> <20190201080456.GA15456@lst.de> <9632DCDF-B9D9-416C-95FC-006B6005E2EC@xenosoft.de> <594beaae-9681-03de-9f42-191cc7d2f8e3@xenosoft.de> <20190204075616.GA5408@lst.de> <20190204123852.GA10428@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 06, 2019 at 02:45:34PM +0100, Christian Zigotzky wrote: > I patched the source code from the Git 'powerpc-dma.6' with your patch > today. Unfortunately the P.A. Semi Ethernet doesn't work with the patched > Git kernel. > > After that I tried it with the patch applied over the working setup again > (powerpc/dma: use the dma_direct mapping routines). Unfortunately after > compiling > and booting, the P.A. Semi Ethernet doesn't work either. The last good one was 29e7e2287e196f48fe5d2a6e017617723ea979bf ("dma-direct: we might need GFP_DMA for 32-bit dma masks"), if I remember correctly. powerpc/dma: use the dma_direct mapping routines was the one that you said makes the pasemi ethernet stop working. Can you post the dmesg from the failing runs?