[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171108074645.GA18747@js1304-P5Q-DELUXE>
Date: Wed, 8 Nov 2017 16:46:45 +0900
From: Joonsoo Kim <iamjoonsoo.kim@....com>
To: Tony Lindgren <tony@...mide.com>
Cc: Pavel Machek <pavel@....cz>, pali.rohar@...il.com, sre@...nel.org,
kernel list <linux-kernel@...r.kernel.org>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
linux-omap@...r.kernel.org, khilman@...nel.org,
aaro.koskinen@....fi, ivo.g.dimitrov.75@...il.com,
patrikbachan@...il.com, serge@...lyn.com, abcloriens@...il.com,
"Aneesh Kumar K.V" <aneesh.kumar@...ux.vnet.ibm.com>,
Vlastimil Babka <vbabka@...e.cz>,
Andrew Morton <akpm@...ux-foundation.org>,
Stephen Rothwell <sfr@...b.auug.org.au>,
Russell King <linux@...linux.org.uk>
Subject: Re: n900 in next-20170901
On Tue, Nov 07, 2017 at 07:48:42AM -0800, Tony Lindgren wrote:
> Hi,
>
> * Joonsoo Kim <iamjoonsoo.kim@....com> [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.
Powered by blists - more mailing lists