[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1870262.PYKUYFuaPT@phil>
Date: Sun, 26 Sep 2021 22:11:59 +0200
From: Heiko Stuebner <heiko@...ech.de>
To: Jianqun Xu <jay.xu@...k-chips.com>,
linux-rockchip@...ts.infradead.org
Cc: linus.walleij@...aro.org, brgl@...ev.pl,
"open list:ARM/Rockchip SoC..." <linux-rockchip@...ts.infradead.org>,
linux-gpio@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
Urja Rannikko <urjaman@...il.com>
Subject: Re: 5.15-rc2 panics on boot on RK3288 veyron speedy, seems related to rockchip pinctrl / gpio split
Hi,
Am Sonntag, 26. September 2021, 13:57:33 CEST schrieb Urja Rannikko:
> A boot log of this is attached. I can say that this happens on
> 5.15-rc2 but not on 5.14.7.
>
> Based on the log and some reading of the code my diagnosis is that
> rockchip_pinctrl_probe (via rockchip_pinctrl_register and after that
> the pinctrl core register calls) ends up trying to apply the
> configuration and accesses a null bank->gpio_chip (i think at
> drivers/pinctrl/pinctrl-rockchip.c:2139)
> before the gpio is "populated" / probed a couple of lines later in
> rockchip_pinctrl_probe (line 2710 onwards).
>
> What I don't know is how this is supposed to work and/or how to
> properly fix it, so that's why I'm sending this bug report instead.
>
> I'm sending this to the people who last touched the rockchip pinctrl
> (and gpio), because that's where this log points me to.
See
https://lore.kernel.org/all/20210913224926.1260726-1-heiko@sntech.de/
Heiko
Powered by blists - more mailing lists