[PATCH] Revert "soc: imx8m: change to use platform driver"

Frieder Schrempf frieder.schrempf at kontron.de
Mon Jul 5 03:41:14 PDT 2021


On 28.06.21 23:09, Lucas Stach wrote:
> With the SoC matching changed to a platform driver the match data
> is available only after other drivers, which may rely on it are
> already probed. This breaks at least the CAAM driver on i.MX8M.
> Revert the change until all those drivers have been audited and
> changed to be able to eal with match data being available later
> in the boot process.
> 
> Fixes: 7d981405d0fd ("soc: imx8m: change to use platform driver"")
> Signed-off-by: Lucas Stach <l.stach at pengutronix.de>

I didn't follow all of the history of this, but there was a previous fix that worked for me [1] and was never merged (probably for some reason).

This revert also works for me and fixes the CAAM crash at boot.

Tested-by: Frieder Schrempf <frieder.schrempf at kontron.de>

[1] https://patchwork.kernel.org/project/linux-arm-kernel/patch/20210429140250.2321-1-alice.guo@oss.nxp.com/



More information about the linux-arm-kernel mailing list