[SRU][N][PATCH 0/2] Fix spi-nor error on ThinkServer

Aaron Ma aaron.ma at canonical.com
Fri Jan 10 06:03:16 UTC 2025


BugLink: https://bugs.launchpad.net/bugs/2070339

[Impact]
During bootup, the error is shown in dmesg:
[ 7.146116] [1714] spi-nor spi0.0: Manufacturer and device ID: ef6020000000
[ 7.146133] [1714] spi-nor spi0.0: error -95 reading CR
[ 7.146135] spi-nor: probe of spi0.0 failed with error -95

[Fix]
Handle the failed case of -EOPNOTSUPP,
and correct the condition of error report.
upstream commit in 6.10:
fe0b8213c0129 mtd: core: Don't fail mtd_otp_nvmem_add() if OTP is unsupported
5043e55536015 mtd: core: Align comment with an action in mtd_otp_nvmem_add()

[Test]
Vendor tested on hardware, there is no error on the testing built
kernel.

[Where problems could occur]
It may break spi-nor flash support.

Both 2 commits are in 6.10 kernel, so SRU for noble-6.8 only.

Aapo Vienamo (1):
  mtd: core: Don't fail mtd_otp_nvmem_add() if OTP is unsupported

Andy Shevchenko (1):
  mtd: core: Align comment with an action in mtd_otp_nvmem_add()

 drivers/mtd/mtdcore.c | 3 +++
 1 file changed, 3 insertions(+)

-- 
2.43.0




More information about the kernel-team mailing list