Skip to content

nvmem: fixes for v7.4

[email protected] lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10nvmem: layouts: onie-tlv: check both field header and value boundsdrivers/nvmem/layouts/onie-tlv.c+8 -10 replies
2/10nvmem: core: validate DT cell bits before allocating the namedrivers/nvmem/core.c+3 -10 replies
3/10nvmem: retain the provider node until device releasedrivers/nvmem/core.c+3 -20 replies
4/10nvmem: drain keepout and cell post-processing accessesdrivers/nvmem/core.c+56 -540 replies
5/10nvmem: exclude disconnected providers from callback admissiondrivers/nvmem/core.c+81 -310 replies
6/10nvmem: release write protection when the provider disconnectsdrivers/nvmem/core.c+2 -10 replies
7/10nvmem: airoha-smc-efuses: Fix the SMC function ID for eFuse readdrivers/nvmem/airoha-smc-efuses.c+2 -21 reply
8/10nvmem: imx-ocotp-scu: assign nvmem_cell_info::raw_lendrivers/nvmem/imx-ocotp-scu.c+7 -00 replies
9/10nvmem: core: reject reads and writes beyond the device sizedrivers/nvmem/core.c+3 -00 replies
10/10nvmem: sprd: fix out-of-bounds read in sprd_efuse_read()drivers/nvmem/sprd-efuse.c+14 -30 replies

Reviews trailers per patch

1 of 10 patches has a Reviewed-by or Acked-by.

PatchDaniel Baluta
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10R-b
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/10] nvmem: fixes for v7.4

From: Srinivas Kandagatla <[email protected]>

Hi Greg,

Here are few nvmem fixes for v7.4, Could you please queue these for v7.4. The branch is based on char-misc-linus.

Patches include
- core fixes around provider disconnect: drain keepout/cell post-processing accesses, exclude disconnected providers from callback admission, release write protection and retain the provider node until device release.
- bounds and input validation fixes in the core, onie-tlv layout and sprd-efuse provider, plus a DT cell-bits validation fix.
- provider fixes for airoha-smc-efuses SMC function ID and imx-ocotp-scu raw_len assignment.

Thanks,
Srini

James Hilliard (6):
nvmem: layouts: onie-tlv: check both field header and value bounds
nvmem: core: validate DT cell bits before allocating the name
nvmem: retain the provider node until device release
nvmem: drain keepout and cell post-processing accesses
nvmem: exclude disconnected providers from callback admission
nvmem: release write protection when the provider disconnects

Sanman Pradhan (2):
nvmem: core: reject reads and writes beyond the device size
nvmem: sprd: fix out-of-bounds read in sprd_efuse_read()

Stefan Ghetu (1):
nvmem: imx-ocotp-scu: assign nvmem_cell_info::raw_len

Zhengping Zhang (1):
nvmem: airoha-smc-efuses: Fix the SMC function ID for eFuse read

 drivers/nvmem/airoha-smc-efuses.c |   4 +-
 drivers/nvmem/core.c              | 237 +++++++++++++++++++-----------
 drivers/nvmem/imx-ocotp-scu.c     |   7 +
 drivers/nvmem/layouts/onie-tlv.c  |   9 +-
 drivers/nvmem/sprd-efuse.c        |  17 ++-
 5 files changed, 179 insertions(+), 95 deletions(-)

base-commit: 89f33682b2c34b12b3a7a549ba94a808f0c7c98d

Signature · 1 line
2.53.0