Received: by 10.223.164.221 with SMTP id h29csp320166wrb; Wed, 25 Oct 2017 21:45:03 -0700 (PDT) X-Google-Smtp-Source: ABhQp+Qv1q+cY0EiQQEpf4gpllMnR++zPyp/Wat2gMad7qejdvuHiQD0ImIJnRanXXcmScTHVaDH X-Received: by 10.99.114.81 with SMTP id c17mr3952368pgn.43.1508993102945; Wed, 25 Oct 2017 21:45:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508993102; cv=none; d=google.com; s=arc-20160816; b=0fEelOQRgTofq1MHfeAbZVK9LV2EMmLJu+6uQ3XcE9ASzxKqZrs9DMUd46kOxz6BKD vcUkGJ195W3JM2x8Kx3b0zpB828LdtaERpBTHrt813Tem/gLALgLfOFmMupNcRAytJHM zrhRlTu2ns9hz+Faae9RIZbeNv3UeoLgJBld/lypIMSn5wH1vftJNDk6BpjHXybWnonN MCWgFvNvD9nBIFju42YbQ1kDluu4nALVK/3mHrTrZQ099O1epXK3oWWE4241aoDqYFdC ytIJZDpaS1iMwh/maaM3Arh6TbAr3VlxDMbEdOYXlalqTjKk72myQZrfBcDbioDSvyXe Xiww== 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=vMUaBDxyKC02OKXN4E7kESpuOts3/zb7OAfJhEGoLqk=; b=fzmhR+qV0wGRUXKqSlYe/nDhC9nCSkECJW8iGO8qvPoXeISBP6XCno7bUBtZJtepKW 48GBCvPJq/OUBWANffeWmu7tdJEIgBoMrIvaIGHqWJJeONQKeHJRxf6q7bdSjHPA9Zyf 41KO2y61+6hcc3m6wryw36HwAi41IcRvQzAgep2tS8ZMMLPNsHecoaOL0PxdffgZQgsM SXzIjGIJTDSgQ101OvjBF+V87wTiAis9k82xNNxs37OEhywqIPtqBoOkmUZ/LZ5NuSK5 zVK0PMW5f3Ppk6hnWBsmI9jBS8eqTMHJK3rBBSiC0OEqgdJZwS/VbjvgwxuA5c65kEZ4 s/zg== 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 k186si2754179pgd.480.2017.10.25.21.44.49; Wed, 25 Oct 2017 21:45:02 -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 S1751397AbdJZEo3 (ORCPT + 99 others); Thu, 26 Oct 2017 00:44:29 -0400 Received: from LGEAMRELO11.lge.com ([156.147.23.51]:56339 "EHLO lgeamrelo11.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750938AbdJZEo1 (ORCPT ); Thu, 26 Oct 2017 00:44:27 -0400 Received: from unknown (HELO lgemrelse7q.lge.com) (156.147.1.151) by 156.147.23.51 with ESMTP; 26 Oct 2017 13:44:25 +0900 X-Original-SENDERIP: 156.147.1.151 X-Original-MAILFROM: iamjoonsoo.kim@lge.com Received: from unknown (HELO localhost) (10.177.222.138) by 156.147.1.151 with ESMTP; 26 Oct 2017 13:44:25 +0900 X-Original-SENDERIP: 10.177.222.138 X-Original-MAILFROM: iamjoonsoo.kim@lge.com Date: Thu, 26 Oct 2017 13:48:29 +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: <20171026044829.GB11791@js1304-P5Q-DELUXE> References: <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> <20171020015542.GA10438@js1304-P5Q-DELUXE> <20171020173146.GN4394@atomide.com> <20171023045342.GA23082@js1304-P5Q-DELUXE> <20171025173137.GQ4394@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171025173137.GQ4394@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 Wed, Oct 25, 2017 at 10:31:38AM -0700, Tony Lindgren wrote: > * Joonsoo Kim [171022 21:51]: > > On Fri, Oct 20, 2017 at 10:31:47AM -0700, Tony Lindgren wrote: > > > * Joonsoo Kim [171019 18:53]: > > > > 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. > > > > > > Oops I should have noticed that one. Here you go with commit > > > c977ee280378 reverted. Still not booting. > > > > Still very thanks to you. :) > > No problem, sorry for the delay in testing this one. > > > Okay. Could you test my updated branch? In there, I also disable > > atomic_pool initialization and disable to remap the CMA area in order > > to completely make any operation on CMA area as no-op. > > > > And, it enables memblock_debug to check how memblock region is > > allocated. > > > > https://github.com/JoonsooKim/linux/tree/cma-debug4-next-20180901 > > Great, this branch boots on n900! Early parts of the dmesg attached > below. Sound good. Perhaps, problem is due to the cache management. With my patchset, direct mapping for CMA area is cleared in dma_contiguous_remap() if CONFIG_HIGHMEM. I guess that proper cache operation is required there. Could you test my newly updated branch again? I re-enable dma_contiguous_remap() to clear direct mapping for CMA area and add proper(?) cache operation although I'm not the expert on that area. https://github.com/JoonsooKim/linux/tree/cma-debug4-next-20180901 Thanks. From 1582251647019200149@xxx Wed Oct 25 17:32:37 +0000 2017 X-GM-THRID: 1577552291468010502 X-Gmail-Labels: Inbox,Category Forums