Re: [RFC PATCH] imx8mp: fix boot hang when booting NXP kernel 5.15.32

2022-08-25 Thread Rasmus Villemoes
On 24/08/2022 12.17, Peng Fan wrote: > > > On 8/23/2022 9:36 PM, Rasmus Villemoes wrote: >> We have observed a somewhat weird bug: When booting the downstream NXP >> kernel lf-5.15.32-2.0.0 [fa6c3168595c], sometimes the board would hang >> during imx_lcdifv3_probe(). Adding some printk debugging

Re: [RFC PATCH] imx8mp: fix boot hang when booting NXP kernel 5.15.32

2022-08-24 Thread Peng Fan
On 8/23/2022 9:36 PM, Rasmus Villemoes wrote: We have observed a somewhat weird bug: When booting the downstream NXP kernel lf-5.15.32-2.0.0 [fa6c3168595c], sometimes the board would hang during imx_lcdifv3_probe(). Adding some printk debugging revealed that the hang always happened at the

Re: [RFC PATCH] imx8mp: fix boot hang when booting NXP kernel 5.15.32

2022-08-24 Thread Rasmus Villemoes
On 23/08/2022 16.04, Marek Vasut wrote: > > You might want to check Linux /sys/kernel/debug/clk/clk_summary > before/after this change and see if there are any differences . If so, > try using assigned-clock-rates in Linux DT and see if that can achieve > the same "fix" effect. Thanks for the hi

Re: [RFC PATCH] imx8mp: fix boot hang when booting NXP kernel 5.15.32

2022-08-23 Thread Marek Vasut
On 8/23/22 15:36, Rasmus Villemoes wrote: We have observed a somewhat weird bug: When booting the downstream NXP kernel lf-5.15.32-2.0.0 [fa6c3168595c], sometimes the board would hang during imx_lcdifv3_probe(). Adding some printk debugging revealed that the hang always happened at the writel

[RFC PATCH] imx8mp: fix boot hang when booting NXP kernel 5.15.32

2022-08-23 Thread Rasmus Villemoes
We have observed a somewhat weird bug: When booting the downstream NXP kernel lf-5.15.32-2.0.0 [fa6c3168595c], sometimes the board would hang during imx_lcdifv3_probe(). Adding some printk debugging revealed that the hang always happened at the writel(CTRL_SW_RESET, lcdifv3->base + LCDIFV3_CTRL_