Received: by 10.223.164.202 with SMTP id h10csp1195743wrb; Tue, 7 Nov 2017 23:54:41 -0800 (PST) X-Google-Smtp-Source: ABhQp+T2sHRGNZhPYeXLX3R55ydkq06w+g1SaYV731mhkmQ/5/Kj1TPfuCNTn/BMbit7SxaaOAx5 X-Received: by 10.98.148.9 with SMTP id m9mr1615461pfe.111.1510127681025; Tue, 07 Nov 2017 23:54:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510127680; cv=none; d=google.com; s=arc-20160816; b=JjTV2NgpCNirqp4h9nN4C/JQPxyEY+fg9HV3SuUrKftMVK6vH93VSBxKl/s8eWlymZ xwHwxUpjmMLchq8HJ2cxZDIWqaYda0S0qXq+mlw/IdgmW19O20noVOGAYMeF1BoC5OAf mM4Dh4UeGftyocjSUUtHVO69PtOaviHKBwWOKxL0VaYfNK58QBr1W535RDqguA1Gn4lq bL5zgxvULdbt+Yi8IRTlzEgw+VtjDWKSGuOFntu2usQ2CKXPXi2ZEZ3tMedL660K7/oc A3s2Rkf6y91MDbQ37Z9MGEyWl1cMFG2QMc35WRYU33CkKS964i30Rafmow9orx05BWNB I5Mg== 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:arc-authentication-results; bh=5GdkPmfOuZtgKbYoHcGF7YwukVYH3hR19lNdpOlsz6E=; b=gg+TIKAyQRToijFd2Ndt1Sisb8/402mrqdCdyDASJm2GZhSsksb34nklEPkGZ91JJ6 UlyNqNgLSHaNgmw9VCL1JfvZ/m9neLMMiMaEb1VjXkQQSxerFDVNOHyOYvsnBJw51kY+ o9kB86gwBpqotxHO/kDl9j8ky/eejcErLBPO+SJ+CSuWhUxlXHpSYPIfBn3a47YPDLGi aWUKMbgcbJtT2vNXISpsdnkSGy/prCryHUR3RgkwebutkoIqfkjC1TXolc4XAh/LXHRo 6KhBY7bKUJq62P2bgrsptLKoMN4F/IrWfnF3z22wYAQo7prEwHArn06DLUvYmsvezmkW KBhQ== 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 v11si3109687pgs.347.2017.11.07.23.54.28; Tue, 07 Nov 2017 23:54:40 -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 S1752042AbdKHHmE (ORCPT + 89 others); Wed, 8 Nov 2017 02:42:04 -0500 Received: from LGEAMRELO11.lge.com ([156.147.23.51]:42784 "EHLO lgeamrelo11.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751035AbdKHHmC (ORCPT ); Wed, 8 Nov 2017 02:42:02 -0500 Received: from unknown (HELO lgeamrelo04.lge.com) (156.147.1.127) by 156.147.23.51 with ESMTP; 8 Nov 2017 16:41:59 +0900 X-Original-SENDERIP: 156.147.1.127 X-Original-MAILFROM: iamjoonsoo.kim@lge.com Received: from unknown (HELO localhost) (10.177.222.138) by 156.147.1.127 with ESMTP; 8 Nov 2017 16:41:56 +0900 X-Original-SENDERIP: 10.177.222.138 X-Original-MAILFROM: iamjoonsoo.kim@lge.com Date: Wed, 8 Nov 2017 16:46:45 +0900 From: Joonsoo Kim To: Tony Lindgren Cc: Pavel Machek , pali.rohar@gmail.com, sre@kernel.org, kernel list , linux-arm-kernel , linux-omap@vger.kernel.org, khilman@kernel.org, aaro.koskinen@iki.fi, ivo.g.dimitrov.75@gmail.com, patrikbachan@gmail.com, serge@hallyn.com, abcloriens@gmail.com, "Aneesh Kumar K.V" , Vlastimil Babka , Andrew Morton , Stephen Rothwell , Russell King Subject: Re: n900 in next-20170901 Message-ID: <20171108074645.GA18747@js1304-P5Q-DELUXE> References: <20171018082927.GB27595@js1304-P5Q-DELUXE> <20171019183033.GH4394@atomide.com> <20171020015542.GA10438@js1304-P5Q-DELUXE> <20171020173146.GN4394@atomide.com> <20171023045342.GA23082@js1304-P5Q-DELUXE> <20171025173137.GQ4394@atomide.com> <20171026044829.GB11791@js1304-P5Q-DELUXE> <20171026141627.GD21504@atomide.com> <20171107053313.GA12447@js1304-P5Q-DELUXE> <20171107154842.GP28152@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171107154842.GP28152@atomide.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 07, 2017 at 07:48:42AM -0800, Tony Lindgren wrote: > Hi, > > * Joonsoo Kim [171107 05:30]: > > Could you test follwing updated branch? > > > > https://github.com/JoonsooKim/linux/tree/cma-debug4-next-20180901 > > > > It has three relevant commits on top and enables CMA memory use. > > Okie dokie. > > > "arm/dma: remove i-cache flush" > > Your branch at the above commit is not booting on n900. > > > "arm/dma: flush i-cache and d-cache separately" > > Not booting at this commit either. > > > "arm/dma: call flush_cache_all() and don't do outer cache operation" > > Not booting at this commit either. > > Earlier commit f14f3479c0d7 ("arm/dma: re-enable to remap the CMA > area and flush cache before remapping") in you branch boots. > > Then the following commit d6512d6d0171 ("Revert "arm/mm: disable > atomic_pool"") won't boot. > > Also your tree at commit 6d0525cef962 ("arm/dma: remove i-cache > flush") with only commit d6512d6d0171 ("Revert "arm/mm: disable > atomic_pool"") reverted boots on n900. Thanks a lot! > So it seems the issue is currently at the atomic_pool_init() > related code? Yes, your test showed it although I can't find any clue in atomic_pool_init(). Could you test updated branch? https://github.com/JoonsooKim/linux/tree/cma-debug4-next-20180901 There are two relevant commits. arm/dma: stop dma allocation before __dma_alloc_remap() arm/dma: disable atomic pool after dma allocation atomic pool initialization will be done partially to check exact point of failure. These are brain-dead commits however I have no idea what's going on here until now. :/ Thanks. From 1583458557260169751@xxx Wed Nov 08 01:15:57 +0000 2017 X-GM-THRID: 1577552291468010502 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread