Received: by 10.223.164.221 with SMTP id h29csp4555137wrb; Thu, 19 Oct 2017 18:52:52 -0700 (PDT) X-Google-Smtp-Source: ABhQp+RSK8rIde6kEzYmFi3yM02qRc16U9/9AAoI5+AXFAKBHnVb78ZmJrOb07NCbYMVdMbUx+kV X-Received: by 10.84.132.129 with SMTP id e1mr2928495ple.444.1508464372625; Thu, 19 Oct 2017 18:52:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508464372; cv=none; d=google.com; s=arc-20160816; b=Bx0v/On0T+7tQy1cZGfHin74e0EhwV9AiRN/ui3HrcbR5Et0H5vMpT3fcQBl702nmf Q6Ts3iFrxeNjp2W2twWXG/uD0jUkcuEiRxb4Hr7Vrf18OgmxkhLOICIiakh0SaE+IU0u YvZHrDUB7FDNdsXslBqkj6zkl1ocMXcbp/pBNbXfvolYAQuMaaYr5xXex5clmX1xP7Gu 9Jl4pBDR2v0C8F89KBVcw8BdQ3bELrRaksMlT+Z/qXB1tnkfXfO2mWRl974epISfDVP5 Xsh2x6e+DpXDlRoEVGmtFCm3qnq3uPeP0BJncOi3xo6EXDh5haSGl7iEq46WrbdI17tP uM1w== 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=qTUIIjypw4NP2RXqnUC+5+VAXj6K2xvG4bx0RxaAX6k=; b=WtzdpurUAfvOBcNyrim1yaKHGgAVPnfI2hIiC7MQIvYw9kreAKjRQcvp4fYacg45wF ib1vgsWV1HuNhzCr22GAPmXjAR8ESe9EkhqZaZkUAioiACI7bL3q/QNm9KsmPBtwmZ8A II/B36tFBhbySbfTw9kACKULQWrFfCfXV9PLEonhj56safdDNzh9RxxYRnoMvmMguOFC wYF3P7MDOX9e1HmISG0yqPhbEnM4EW0zTDoKYaJ5WlIVsfUqKuRwnk7GAxoHQwHg3Jll QLhJvDajzovhg+Pa1SQvkC3fs8UqnZ36Xl+iQq+oKkxageRvOK3sjM9hRSC9B3GT0WhL BHbQ== 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 p128si9425347pga.639.2017.10.19.18.52.38; Thu, 19 Oct 2017 18:52:52 -0700 (PDT) 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 S1751895AbdJTBwD (ORCPT + 99 others); Thu, 19 Oct 2017 21:52:03 -0400 Received: from LGEAMRELO13.lge.com ([156.147.23.53]:40545 "EHLO lgeamrelo13.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751643AbdJTBwC (ORCPT ); Thu, 19 Oct 2017 21:52:02 -0400 Received: from unknown (HELO lgeamrelo01.lge.com) (156.147.1.125) by 156.147.23.53 with ESMTP; 20 Oct 2017 10:52:00 +0900 X-Original-SENDERIP: 156.147.1.125 X-Original-MAILFROM: iamjoonsoo.kim@lge.com Received: from unknown (HELO localhost) (10.177.222.138) by 156.147.1.125 with ESMTP; 20 Oct 2017 10:52:00 +0900 X-Original-SENDERIP: 10.177.222.138 X-Original-MAILFROM: iamjoonsoo.kim@lge.com Date: Fri, 20 Oct 2017 10:55:42 +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: <20171020015542.GA10438@js1304-P5Q-DELUXE> References: <20170907073038.GA2111@js1304-P5Q-DELUXE> <20170907161650.GP5024@atomide.com> <20170913075516.GA25036@js1304-P5Q-DELUXE> <20170913163126.GS5024@atomide.com> <20170915065608.GA8567@js1304-P5Q-DELUXE> <20170921172811.GB4394@atomide.com> <20170925080806.GA9837@js1304-P5Q-DELUXE> <20170925145437.GG4394@atomide.com> <20171018082927.GB27595@js1304-P5Q-DELUXE> <20171019183033.GH4394@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171019183033.GH4394@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 Thu, Oct 19, 2017 at 11:30:34AM -0700, Tony Lindgren wrote: > * Joonsoo Kim [171018 01:27]: > > On Mon, Sep 25, 2017 at 07:54:37AM -0700, Tony Lindgren wrote: > > > * Joonsoo Kim [170925 01:06]: > > > > On Thu, Sep 21, 2017 at 10:28:11AM -0700, Tony Lindgren wrote: > > > > > * Joonsoo Kim [170914 23:55]: > > > > > > On Wed, Sep 13, 2017 at 09:31:27AM -0700, Tony Lindgren wrote: > > > > > > > Yes I disabled CONFIG_HIGHMEM and n900 boots. To disable it, > > > > > > > you need to remove it from arch/arm/mach-omap2/Kconfig that > > > > > > > selects it if ARCH_OMAP2PLUS_TYPICAL is selected. > > > > > > > > > > > > Okay. Problem would be related to address traslation. I'd like to > > > > > > check address traslation more. Could you apply following patch and > > > > > > test it? And, please send me the dmesg log and your kernel config. > > > > > > Please test this with CONFIG_DEBUG_VIRTUAL = n and CONFIG_CMA_DEBUG=y and > > > > > > CONFIG_HIGHMEM=y and with kernel bootparam 'ignore_loglevel'. > > > > > > > > > > > > It would be really appreciate if you send me two logs for before/after > > > > > > commit 9caf25f996e8. > > > > > > > > > > Sorry for the delays, I finally got around testing this for you. > > > > > > > > No problem! I really appreciate your help! > > > > > > > > > Compile with your patch failed for modules with __virt_to_phys_debug > > > > > being undefined so I added EXPORT_SYMBOL there. I also enabled DEBUG_LL > > > > > and EARLYPRINTK to get output. > > > > > > > > > > Below is dmesg output for 9caf25f996e8 + your patch. I'll send you > > > > > the full logs separately. > > > > > > > > Hmm...there is only one caller for the CMA memory, that is, atomic_pool_init(). > > > > Could you test one more time with 9caf25f996e8 + following patch? I'd like to > > > > know the actual user for the CMA memory. > > > > > > Hmm not getting any stack with that patch after manually applying > > > it because of tabs to spaces mangling. > > > > Sorry for long delay. > > > > Seems like your system doesn't use any CMA memory by CMA API. > > > > Could you test one more thing? > > This one is to disable CMA memory allocation from the page allocator. > > With this, we can be sure that CMA memory isn't used at all. > > > > If there is no difference with this patch, that is, the system down, > > I think that some initialization step is broken. In this case, please > > test following patch. > > > > I make a branch in github that all these patch is applied. > > Feel free to use it. > > > > https://github.com/JoonsooKim/linux/tree/cma-debug4-next-20180901 > > Still not booting, dmesg output of your test branch below. Oops... I made a mistak. Could you test with reverting commit c977ee2803787363187d6aca9cebdabc793c6531 ("omap: forcibly call save_secure_ram_context() for test") in that branch? Without reverting it, it doesn't call 'smc' so it always cause a hang. Thanks. From 1581715213373417221@xxx Thu Oct 19 19:26:14 +0000 2017 X-GM-THRID: 1577552291468010502 X-Gmail-Labels: Inbox,Category Forums