[PATCH dev-5.15] mtd: aspeed-smc: improve probe resilience

Patrick Williams patrick at stwcx.xyz
Tue Feb 1 10:00:39 AEDT 2022


On Mon, Jan 31, 2022 at 04:59:04PM -0600, Patrick Williams wrote:
> The aspeed-smc can have multiple SPI devices attached to it in the
> device tree.  If one of the devices is missing or failing the entire
> probe will fail and all MTD devices under the controller will be
> removed.  On OpenBMC this results in a kernel panic due to missing
> rootfs:
...
> Signed-off-by: Patrick Williams <patrick at stwcx.xyz>
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
> Link: https://lore.kernel.org/linux-mtd/20211229143334.297305-1-patrick@stwcx.xyz

This was backported from the mtd-next tree:

https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git/commit/?h=mtd/next&id=7f852ec58af6ce8d7c6fc799b82d45d76e4bd994
-- 
Patrick Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20220131/22882eb3/attachment.sig>


More information about the openbmc mailing list