[PATCH v2 0/2] Add support to extract the image versions beyond the first 32 images

From: Kathiravan Thirumoorthy

Date: Fri Oct 31 2025 - 01:51:12 EST


SMEM item 667 contains the image version details beyond the first 32 images.
Add support for the same. While at it, drop the WARN_ON() from
qcom_smem_get() and qcom_smem_alloc() as it doesn't add any values.

IPQ platforms doesn't have the SMEM item 667. So I couldn't validate the
image version details from SMEM item 667.

Signed-off-by: Kathiravan Thirumoorthy <kathiravan.thirumoorthy@xxxxxxxxxxxxxxxx>
---
Changes in v2:
- Dropped the qcom_smem_validate_item() and removed the WARN_ON()
- Check for the return value and exit when fetching the SMEM item 667
- Link to v1: https://lore.kernel.org/r/20251030-image-crm-part2-v1-0-676305a652c6@xxxxxxxxxxxxxxxx

---
Kathiravan Thirumoorthy (2):
soc: qcom: smem: drop the WARN_ON() on SMEM item validation
soc: qcom: socinfo: add support to extract more than 32 image versions

drivers/soc/qcom/smem.c | 4 ++--
drivers/soc/qcom/socinfo.c | 45 +++++++++++++++++++++++++++++++++++++--------
2 files changed, 39 insertions(+), 10 deletions(-)
---
base-commit: 131f3d9446a6075192cdd91f197989d98302faa6
change-id: 20251028-image-crm-part2-1f6bbefea2d8

Best regards,
--
Kathiravan Thirumoorthy <kathiravan.thirumoorthy@xxxxxxxxxxxxxxxx>