From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753679AbdLMRJn (ORCPT ); Wed, 13 Dec 2017 12:09:43 -0500 Received: from plaes.org ([188.166.43.21]:54014 "EHLO plaes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753441AbdLMRJg (ORCPT ); Wed, 13 Dec 2017 12:09:36 -0500 Date: Wed, 13 Dec 2017 17:09:33 +0000 From: Priit Laes To: Kevin Hilman Cc: Chen-Yu Tsai , Maxime Ripard , lkml , linux-arm-kernel , devicetree , linux-clk@vger.kernel.org, linux-sunxi@googlegroups.com, Icenowy Zheng , Russell King , Mark Rutland , Rob Herring , Stephen Boyd , Michael Turquette , Philipp Zabel , Olof Johansson Subject: Re: [linux-sunxi] [PATCH v2 3/6] ARM: sun4i: Convert to CCU Message-ID: <20171213170933.qyfn3hgnrvjpmod7@plaes.org> References: <4357a69da97f46a324eec4c766f4bc9d9e7733ff.1490545262.git-series.plaes@plaes.org> <20171212172635.2utwz3koyo5iwglt@plaes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 12, 2017 at 01:24:52PM -0800, Kevin Hilman wrote: > On Tue, Dec 12, 2017 at 9:26 AM, Priit Laes wrote: > > On Mon, Dec 11, 2017 at 02:22:30PM -0800, Kevin Hilman wrote: > >> On Sun, Mar 26, 2017 at 10:20 AM, Priit Laes wrote: > >> > Convert sun4i-a10.dtsi to new CCU driver. > >> > > >> > Signed-off-by: Priit Laes > >> > >> I finally got around to bisecting a mainline boot failure on > >> sun4i-a10-cubieboard that's been happening for quite a while. Based > >> on on kernelci.org, it showed up sometime during the v4.15 merge > >> window[1]. It bisected down to this commit (in mainline as commit > >> 41193869f2bdb585ce09bfdd16d9482aadd560ad). > >> > >> When it fails, there is no output on the serial console, so I don't > >> know exactly how it's failing, just that it no longer boots. > > > > We tried out latest 4.15 with various compilers and it works: > > - gcc version 7.1.1 20170622 (Red Hat Cross 7.1.1-3) (GCC) - A10 Gemei G9 tablet > > - gcc 7.2.0-debian - A10 Cubieboard > > And you can reproduce the bug with gcc5 or gcc6? Tried following commits on Gemei G9 (A10 tablet): * 4.15.0-rc3-00037-gd39a01eff9af - latest master * 4.14.0-rc1-00002-g41193869f2bd - the exact commit, causing the issue. With the same Linaro toolchain: (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) > > Very strange that a DT only patch would cause a gcc related regression > and if it does, it should be investigated. I don't think requiring > gcc7 is an appropriate solution. > > @Chen-Yu, @Maxime: are you guys OK with requiring gcc7 for working > upstream boot for A10? > > Kevin > > -- > You received this message because you are subscribed to the Google Groups "linux-sunxi" group. > To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Priit Laes Subject: Re: [PATCH v2 3/6] ARM: sun4i: Convert to CCU Date: Wed, 13 Dec 2017 17:09:33 +0000 Message-ID: <20171213170933.qyfn3hgnrvjpmod7@plaes.org> References: <4357a69da97f46a324eec4c766f4bc9d9e7733ff.1490545262.git-series.plaes@plaes.org> <20171212172635.2utwz3koyo5iwglt@plaes.org> Reply-To: plaes-q/aMd4JkU83YtjvyW6yDsg@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Content-Disposition: inline In-Reply-To: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Kevin Hilman Cc: Chen-Yu Tsai , Maxime Ripard , lkml , linux-arm-kernel , devicetree , linux-clk-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, Icenowy Zheng , Russell King , Mark Rutland , Rob Herring , Stephen Boyd , Michael Turquette , Philipp Zabel , Olof Johansson List-Id: devicetree@vger.kernel.org On Tue, Dec 12, 2017 at 01:24:52PM -0800, Kevin Hilman wrote: > On Tue, Dec 12, 2017 at 9:26 AM, Priit Laes wrote: > > On Mon, Dec 11, 2017 at 02:22:30PM -0800, Kevin Hilman wrote: > >> On Sun, Mar 26, 2017 at 10:20 AM, Priit Laes wrote: > >> > Convert sun4i-a10.dtsi to new CCU driver. > >> > > >> > Signed-off-by: Priit Laes > >> > >> I finally got around to bisecting a mainline boot failure on > >> sun4i-a10-cubieboard that's been happening for quite a while. Based > >> on on kernelci.org, it showed up sometime during the v4.15 merge > >> window[1]. It bisected down to this commit (in mainline as commit > >> 41193869f2bdb585ce09bfdd16d9482aadd560ad). > >> > >> When it fails, there is no output on the serial console, so I don't > >> know exactly how it's failing, just that it no longer boots. > > > > We tried out latest 4.15 with various compilers and it works: > > - gcc version 7.1.1 20170622 (Red Hat Cross 7.1.1-3) (GCC) - A10 Gemei G9 tablet > > - gcc 7.2.0-debian - A10 Cubieboard > > And you can reproduce the bug with gcc5 or gcc6? Tried following commits on Gemei G9 (A10 tablet): * 4.15.0-rc3-00037-gd39a01eff9af - latest master * 4.14.0-rc1-00002-g41193869f2bd - the exact commit, causing the issue. With the same Linaro toolchain: (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) > > Very strange that a DT only patch would cause a gcc related regression > and if it does, it should be investigated. I don't think requiring > gcc7 is an appropriate solution. > > @Chen-Yu, @Maxime: are you guys OK with requiring gcc7 for working > upstream boot for A10? > > Kevin > > -- > You received this message because you are subscribed to the Google Groups "linux-sunxi" group. > To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/d/optout. From mboxrd@z Thu Jan 1 00:00:00 1970 From: plaes@plaes.org (Priit Laes) Date: Wed, 13 Dec 2017 17:09:33 +0000 Subject: [linux-sunxi] [PATCH v2 3/6] ARM: sun4i: Convert to CCU In-Reply-To: References: <4357a69da97f46a324eec4c766f4bc9d9e7733ff.1490545262.git-series.plaes@plaes.org> <20171212172635.2utwz3koyo5iwglt@plaes.org> Message-ID: <20171213170933.qyfn3hgnrvjpmod7@plaes.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Dec 12, 2017 at 01:24:52PM -0800, Kevin Hilman wrote: > On Tue, Dec 12, 2017 at 9:26 AM, Priit Laes wrote: > > On Mon, Dec 11, 2017 at 02:22:30PM -0800, Kevin Hilman wrote: > >> On Sun, Mar 26, 2017 at 10:20 AM, Priit Laes wrote: > >> > Convert sun4i-a10.dtsi to new CCU driver. > >> > > >> > Signed-off-by: Priit Laes > >> > >> I finally got around to bisecting a mainline boot failure on > >> sun4i-a10-cubieboard that's been happening for quite a while. Based > >> on on kernelci.org, it showed up sometime during the v4.15 merge > >> window[1]. It bisected down to this commit (in mainline as commit > >> 41193869f2bdb585ce09bfdd16d9482aadd560ad). > >> > >> When it fails, there is no output on the serial console, so I don't > >> know exactly how it's failing, just that it no longer boots. > > > > We tried out latest 4.15 with various compilers and it works: > > - gcc version 7.1.1 20170622 (Red Hat Cross 7.1.1-3) (GCC) - A10 Gemei G9 tablet > > - gcc 7.2.0-debian - A10 Cubieboard > > And you can reproduce the bug with gcc5 or gcc6? Tried following commits on Gemei G9 (A10 tablet): * 4.15.0-rc3-00037-gd39a01eff9af - latest master * 4.14.0-rc1-00002-g41193869f2bd - the exact commit, causing the issue. With the same Linaro toolchain: (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) > > Very strange that a DT only patch would cause a gcc related regression > and if it does, it should be investigated. I don't think requiring > gcc7 is an appropriate solution. > > @Chen-Yu, @Maxime: are you guys OK with requiring gcc7 for working > upstream boot for A10? > > Kevin > > -- > You received this message because you are subscribed to the Google Groups "linux-sunxi" group. > To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe at googlegroups.com. > For more options, visit https://groups.google.com/d/optout.