From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D31D4C169C4 for ; Mon, 11 Feb 2019 07:44:58 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 858A920811 for ; Mon, 11 Feb 2019 07:44:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 858A920811 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 43yd9N1fgVzDqN7 for ; Mon, 11 Feb 2019 18:44:56 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lst.de (client-ip=213.95.11.211; helo=newverein.lst.de; envelope-from=hch@lst.de; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=lst.de Received: from newverein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 43yd621t0GzDqF1 for ; Mon, 11 Feb 2019 18:42:02 +1100 (AEDT) Received: by newverein.lst.de (Postfix, from userid 2407) id 38A717F11E; Mon, 11 Feb 2019 08:41:59 +0100 (CET) Date: Mon, 11 Feb 2019 08:41:59 +0100 From: Christoph Hellwig To: Darren Stevens Subject: Re: use generic DMA mapping code in powerpc V4 Message-ID: <20190211074159.GA15909@lst.de> References: <20190204075616.GA5408@lst.de> <20190204123852.GA10428@lst.de> <20190206151505.GA31065@lst.de> <20190206151655.GA31172@lst.de> <61EC67B1-12EF-42B6-B69B-B59F9E4FC474@xenosoft.de> <7c1f208b-6909-3b0a-f9f9-38ff1ac3d617@xenosoft.de> <20190208091818.GA23491@lst.de> <4d5302a8b75.61849dba@auth.smtp.1and1.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4d5302a8b75.61849dba@auth.smtp.1and1.co.uk> User-Agent: Mutt/1.5.17 (2007-11-01) X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linuxppc-dev@lists.ozlabs.org, Christoph Hellwig , Julian Margetson , Christian Zigotzky Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Sat, Feb 09, 2019 at 09:10:58PM +0000, Darren Stevens wrote: > Hello Christoph > > On 08/02/2019, Christoph Hellwig wrote: > > On Fri, Feb 08, 2019 at 10:01:46AM +0100, Christian Zigotzky wrote: > >> Hi Christoph, > >> > >> Your new patch fixes the problems with the P.A. Semi Ethernet! :-) > > > > Thanks a lot once again for testing! > > > > Now can you test with this patch and the whole series? > > > > I've updated the powerpc-dma.6 branch to include this fix. > > Update: I found the following in my dmesg, think it points to an of-by-one error in the pfn selection: I don't think this is an off by one, it is just that the FSL e500-ish SOCs have a very odd memory map.