SMEM item 667 contains the image version details beyond the first 32 images.
Add support for the same. While at it, introduce the new API
qcom_smem_validate_item() and use it before getting the image version
from item 667 to avoid the invalid item warning.
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@oss.qualcomm.com>
---
Kathiravan Thirumoorthy (2):
soc: qcom: smem: introduce qcom_smem_validate_item API
soc: qcom: socinfo: add support to extract more than 32 image versions
drivers/soc/qcom/smem.c | 16 +++++++++++++--
drivers/soc/qcom/socinfo.c | 46 +++++++++++++++++++++++++++++++++++--------
include/linux/soc/qcom/smem.h | 1 +
3 files changed, 53 insertions(+), 10 deletions(-)
---
base-commit: 131f3d9446a6075192cdd91f197989d98302faa6
change-id: 20251028-image-crm-part2-1f6bbefea2d8
Best regards,
--
Kathiravan Thirumoorthy <kathiravan.thirumoorthy@oss.qualcomm.com>