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=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 51FAEC43387 for ; Wed, 9 Jan 2019 09:31:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 20E4B206BB for ; Wed, 9 Jan 2019 09:31:38 +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="IlwAM+0b" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730165AbfAIJbi (ORCPT ); Wed, 9 Jan 2019 04:31:38 -0500 Received: from mo4-p02-ob.smtp.rzone.de ([85.215.255.83]:15233 "EHLO mo4-p02-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729826AbfAIJbh (ORCPT ); Wed, 9 Jan 2019 04:31:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1547026295; 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=mMV73ymLCzyBXvRgZydGFWvElefknLZMPGkd83NTE7c=; b=IlwAM+0bh1xtvBMNCAKxtPDLoLT0d+FnGNBCqcQeIY2Qqprr9Ljt9omPFGco+71kJU QW7WkzKNQeVh1NkcRsCsPR+AfPi2nNWXWm5jf7q/p1zXPYhoCKkX0Isi8uNxVXcgrcp3 8CLllDm45/WRLUcWpaeghmpD7cBsgL4oXbHF8DJZS8nxH0Q/OUhQ+StgKnQ9zBtt/mK/ 6YGpWDxfs63FV4gC6v2AKno8mXF7dW6O9SqDSZ4dAUBYB8YEB4BH5ns00vvBTm4NxSej 87dc4YJl71WpDVX6tlN2cyO6fCDR9ZSaEgginSWnI2fjAG9dEW5BY8bOjA/OwMXzXVv1 9gkA== X-RZG-AUTH: ":L2QefEenb+UdBJSdRCXu93KJ1bmSGnhMdmOod1DhGM4l4Hio94KKxRySfLxnHfJ+Dkjp5G5MdirQj0WG7CkNimMvbrZAzFDEkUVxOxhlYp59rA==" X-RZG-CLASS-ID: mo00 Received: from [IPv6:2a02:8109:a400:162c:241f:1c8c:b5d5:97da] by smtp.strato.de (RZmta 44.9 AUTH) with ESMTPSA id t0203dv099VXN5k (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); Wed, 9 Jan 2019 10:31:33 +0100 (CET) Subject: Re: use generic DMA mapping code in powerpc V4 From: Christian Zigotzky To: Christoph Hellwig 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 References: <2242B4B2-6311-492E-BFF9-6740E36EC6D4@xenosoft.de> <84558d7f-5a7f-5219-0c3a-045e6b4c494f@xenosoft.de> <20181213091021.GA2106@lst.de> <835bd119-081e-a5ea-1899-189d439c83d6@xenosoft.de> <76bc684a-b4d2-1d26-f18d-f5c9ba65978c@xenosoft.de> <20181213112511.GA4574@lst.de> <008c981e-bdd2-21a7-f5f7-c57e4850ae9a@xenosoft.de> <20190103073622.GA24323@lst.de> <71A251A5-FA06-4019-B324-7AED32F7B714@xenosoft.de> <1b0c5c21-2761-d3a3-651b-3687bb6ae694@xenosoft.de> Message-ID: <3504ee70-02de-049e-6402-2d530bf55a84@xenosoft.de> Date: Wed, 9 Jan 2019 10:31:33 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <1b0c5c21-2761-d3a3-651b-3687bb6ae694@xenosoft.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: de-DE Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Next step: a64e18ba191ba9102fb174f27d707485ffd9389c (powerpc/dma: remove dma_nommu_get_required_mask) git clone git://git.infradead.org/users/hch/misc.git -b powerpc-dma.6 a git checkout a64e18ba191ba9102fb174f27d707485ffd9389c Link to the Git: http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/powerpc-dma.6 Results: PASEMI onboard ethernet works and the X5000 (P5020 board) boots. I also successfully tested sound, hardware 3D acceleration, Bluetooth, network, booting with a label etc. The uImages work also in a virtual e5500 quad-core QEMU machine. -- Christian On 05 January 2019 at 5:03PM, Christian Zigotzky wrote: > Next step: c446404b041130fbd9d1772d184f24715cf2362f (powerpc/dma: > remove dma_nommu_mmap_coherent) > > git clone git://git.infradead.org/users/hch/misc.git -b powerpc-dma.6 a > > git checkout c446404b041130fbd9d1772d184f24715cf2362f > > Output: > > Note: checking out 'c446404b041130fbd9d1772d184f24715cf2362f'. > > You are in 'detached HEAD' state. You can look around, make experimental > changes and commit them, and you can discard any commits you make in this > state without impacting any branches by performing another checkout. > > If you want to create a new branch to retain commits you create, you may > do so (now or later) by using -b with the checkout command again. > Example: > >   git checkout -b > > HEAD is now at c446404... powerpc/dma: remove dma_nommu_mmap_coherent > > ----- > > Link to the Git: > http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/powerpc-dma.6 > > Result: PASEMI onboard ethernet works and the X5000 (P5020 board) boots. > > -- Christian >