On Mon, Sep 1, 2025 at 2:07 PM Mark Brown <[email protected]> wrote: > > On Thu, Aug 28, 2025 at 06:00:14PM +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski <[email protected]> > > > > The radix tree containing pin function descriptors should not be > > accessed directly by drivers. There are dedicated functions for it. I > > suppose this driver does it so that the memory containing the function > > description is not duplicated but we're going to address that shortly so > > convert it to using generic pinctrl APIs. > > This is still failing for me: > > [ 0.628221] Unable to handle kernel NULL pointer dereference at virtual > address 0000000000000000 > [ 0.636506] Mem abort info: > > ... > > [ 0.801855] __pi_strcmp+0x20/0x140 (P) > [ 0.805704] pinmux_generic_add_pinfunction+0x28/0xe0 > [ 0.810777] imx_pinctrl_parse_functions.isra.0+0xf8/0x4a0 > [ 0.816289] imx_pinctrl_probe+0x404/0x520 > > Full log: > > https://lava.sirena.org.uk/scheduler/job/1758025#L704
That's not a lot of info but it fails in strcmp() which - I suppose - is the one in pinmux_func_name_to_selector(). Any chance you could check what the value of np->name is in imx_pinctrl_parse_functions()? Is it NULL for some reason? Bart
