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=-5.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 84C75C282CA for ; Tue, 12 Feb 2019 19:52:33 +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 9AC09222C4 for ; Tue, 12 Feb 2019 19:52:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=xenosoft.de header.i=@xenosoft.de header.b="dJ7+h1gk" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9AC09222C4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xenosoft.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 43zYGQ2vbvzDqQC for ; Wed, 13 Feb 2019 06:52:30 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=pass (helo) smtp.helo=mo6-p02-ob.smtp.rzone.de (client-ip=2a01:238:20a:202:5302::3; helo=mo6-p02-ob.smtp.rzone.de; envelope-from=chzigotzky@xenosoft.de; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=xenosoft.de Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=xenosoft.de header.i=@xenosoft.de header.b="dJ7+h1gk"; dkim-atps=neutral Received: from mo6-p02-ob.smtp.rzone.de (mo6-p02-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5302::3]) (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 43zYDJ0hXjzDqNy for ; Wed, 13 Feb 2019 06:50:39 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1550001034; s=strato-dkim-0002; d=xenosoft.de; h=In-Reply-To:Date:Message-ID:References:Cc:To:From:Subject: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=aUXr1fGv9JuKgZ63EUrQVCOsJ7eDcmZXM8Fg+HWeyds=; b=dJ7+h1gkOdN/LGcrCrgqTdsfNxoF9AkwDF512+5XWj60mkvL6MJUbcNI2+Tmwr0mjz SabGTsFRDADSd6rzMIZagVt2joy97ElBr1ytJesvKyAh78BUTMdI+/V/bXPIqTtJ/lI8 3/ndkghS7bB6MeKobW5wWudRKMRMzdhUVK7nRndtRELB1FA5zgNuWgcqWad1QQPvdv63 is56dlyb5D68S+3ixepRQd+1DKFhWuTZ5OwIt9h2iRzCsL8SeNninSaR5mo0HiQHGUtn N3QY/nb+4mxkfBdltBe1ALayo/DHxoGrewf3CuUnphK6bCW+jwPjY8GIUfH9hfZjFa+G Yd9w== X-RZG-AUTH: ":L2QefEenb+UdBJSdRCXu93KJ1bmSGnhMdmOod1DhGM4l4Hio94KKxRySfLxnHfJ+Dkjp5G5MdirQj0WG7CldjiKRzWNYwK19ivDpIsfNmMN15w==" X-RZG-CLASS-ID: mo00 Received: from [IPv6:2a02:8109:a400:162c:b071:4d43:dec6:a483] by smtp.strato.de (RZmta 44.9 AUTH) with ESMTPSA id t0203dv1CJoKRyh (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Tue, 12 Feb 2019 20:50:20 +0100 (CET) Subject: Re: use generic DMA mapping code in powerpc V4 From: Christian Zigotzky To: Christoph Hellwig References: <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> <4e7137db-e600-0d20-6fb2-6d0f9739aca3@xenosoft.de> <20190211073804.GA15841@lst.de> <820bfeb1-30c0-3d5a-54a2-c4f9a8c15b0e@xenosoft.de> <20190212152543.GA24061@lst.de> <47bff9d1-7001-4d92-4ad1-e24215b56555@xenosoft.de> Message-ID: Date: Tue, 12 Feb 2019 20:50:20 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: <47bff9d1-7001-4d92-4ad1-e24215b56555@xenosoft.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: de-DE 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: 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 , Olof Johansson , linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On 12 February 2019 at 8:31PM, Christian Zigotzky wrote: > On 12 February 2019 at 4:25PM, Christoph Hellwig wrote: >> On Tue, Feb 12, 2019 at 01:42:56PM +0100, Christian Zigotzky wrote: >>> On 11 February 2019 at 08:38AM, Christoph Hellwig wrote: >>>> On Sun, Feb 10, 2019 at 01:00:20PM +0100, Christian Zigotzky wrote: >>>>> I tested the whole series today. The kernels boot and the P.A. Semi >>>>> Ethernet works! :-) Thanks a lot! >>>>> >>>>> I also tested it in a virtual e5500 QEMU machine today. >>>>> Unfortunately the >>>>> kernel crashes. >>>> This looks like a patch I fixed in mainline a while ago, but which >>>> the powerpc tree didn't have yet. >>>> >>>> I've cherry picked this commit >>>> ("swiotlb: clear io_tlb_start and io_tlb_end in swiotlb_exit") >>>> >>>> and added it to the powerpc-dma.6 tree, please retry with that one. >>>> >>> Hello Christoph, >>> >>> Have you added it to the powerpc-dma.6 tree yet? The last commit was >>> 4 days >>> ago. >> I added it, but forgot to push it out.  It is there now, sorry: >> >> http://git.infradead.org/users/hch/misc.git/commitdiff/2cf0745b7420af4a3e871d5a970a45662dfae69c >> >> > Hi Christoph > > Many thanks! Your Git kernel works in a virtual e5500 machine now! :-) > > I think we have reached the end of testing! All things are working > with your DMA updates. > > I am looking forward to testing your DMA changes in the next merge > window again. :-) > > Cheers > Christian > > Edit: typo