Skip to contentSkip to conversation

soc: qcom: socinfo: Add support to retrieve APPSBL build details

PATCH Applied Kathiravan Thirumoorthy 3 participants 6 messages Jul 11, 2025 – Jul 17, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 soc: qcom: socinfo: Add support to retrieve APPSBL build details

Add support to retrieve APPS (Application Processor Subsystem) Bootloader image details from SMEM.

---
 drivers/soc/qcom/socinfo.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/soc/qcom/socinfo.c +2 -0
index 391380820f082d8daa5c764d5f3c44e6240e18a2..dc8796ce5fe252cd03e98cd420c72760bb707197 100644
@@ -38,6 +38,7 @@
 #define SMEM_IMAGE_TABLE_BOOT_INDEX     0
 #define SMEM_IMAGE_TABLE_TZ_INDEX       1
 #define SMEM_IMAGE_TABLE_RPM_INDEX      3
+#define SMEM_IMAGE_TABLE_APPSBL_INDEX	9
 #define SMEM_IMAGE_TABLE_APPS_INDEX     10
 #define SMEM_IMAGE_TABLE_MPSS_INDEX     11
 #define SMEM_IMAGE_TABLE_ADSP_INDEX     12
@@ -56,6 +57,7 @@
  */
 static const char *const socinfo_image_names[] = {
 	[SMEM_IMAGE_TABLE_ADSP_INDEX] = "adsp",
+	[SMEM_IMAGE_TABLE_APPSBL_INDEX] = "appsbl",
 	[SMEM_IMAGE_TABLE_APPS_INDEX] = "apps",
 	[SMEM_IMAGE_TABLE_BOOT_INDEX] = "boot",
 	[SMEM_IMAGE_TABLE_CNSS_INDEX] = "cnss",

---
base-commit: a62b7a37e6fcf4a675b1548e7c168b96ec836442
change-id: 20250711-appsbl_crm_version-6d304c851a8f

Best regards,

Signature · 1 line
Kathiravan Thirumoorthy <[email protected]>
#2 lore raw
Quoted 7 lines · Konrad Dybcio
Quoted 5 lines · Kathiravan Thirumoorthy

Add support to retrieve APPS (Application Processor Subsystem) Bootloader image details from SMEM.

---

Can we expand the driver with all the known IDs at once instead?

With respect to the IPQ SoCs only APPSBL image detail is missing, which this change address it

I can expand the list, but unfortunately don't have ways to validate them. I can check internally with folks to test it or even send an RTF. Till then, can this patch go independently?

Quoted 2 lines

Konrad

Reviewed-by
#3 lore raw
Quoted 11 lines · Kathiravan Thirumoorthy
Quoted 7 lines · Konrad Dybcio
Quoted 5 lines · Kathiravan Thirumoorthy

Add support to retrieve APPS (Application Processor Subsystem) Bootloader image details from SMEM.

---

Can we expand the driver with all the known IDs at once instead?

With respect to the IPQ SoCs only APPSBL image detail is missing, which this change address it

Next week someone else will come around and say the same thing for e.g. automotive platforms

Quoted 2 lines

I can expand the list, but unfortunately don't have ways to validate them. I can check internally with folks to test it or even send an RTF. Till then, can this patch go independently?

There is nothing to validate here really, the bootloader either populates the data or not

For now, this one alone is good to go, but please look into the broader scope

Konrad

#4 lore raw
Quoted 13 lines · Konrad Dybcio
Quoted 9 lines · Kathiravan Thirumoorthy
Quoted 7 lines · Konrad Dybcio
Quoted 5 lines · Kathiravan Thirumoorthy

Add support to retrieve APPS (Application Processor Subsystem) Bootloader image details from SMEM.

---

Can we expand the driver with all the known IDs at once instead?

With respect to the IPQ SoCs only APPSBL image detail is missing, which this change address it

Next week someone else will come around and say the same thing for e.g. automotive platforms

Quoted 6 lines
Quoted 1 line

I can expand the list, but unfortunately don't have ways to validate them. I can check internally with folks to test it or even send an RTF. Till then, can this patch go independently?

There is nothing to validate here really, the bootloader either populates the data or not

For now, this one alone is good to go, but please look into the broader scope

Got it! I can send the patch with the remaining bits for the completeness in a week or two.

Quoted 4 lines

Konrad

Thanks!

maintainer Applied
#5 lore raw
In reply to Kathiravan Thirumoorthy
Quoted 4 lines · Kathiravan Thirumoorthy

Add support to retrieve APPS (Application Processor Subsystem) Bootloader image details from SMEM.

Applied, thanks!

[1/1] soc: qcom: socinfo: Add support to retrieve APPSBL build details

      commit: 955a41218d2bd2ffadd0406b14a4b4efb67b056c

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>