]> git.ipfire.org Git - thirdparty/linux.git/commit
soc: qcom: socinfo: Add reserve field to support future extension
authorMukesh Ojha <mukesh.ojha@oss.qualcomm.com>
Tue, 4 Nov 2025 13:09:06 +0000 (18:39 +0530)
committerBjorn Andersson <andersson@kernel.org>
Thu, 6 Nov 2025 20:11:54 +0000 (14:11 -0600)
commit6918667af5a7315eff3c56d871be4c5439f7f9d2
treed0d583454f33d70a30fc5fc976547621baa230be
parent6a571d762cda6c25517c5533b8bd06d56028cdcb
soc: qcom: socinfo: Add reserve field to support future extension

Some of the new field added to socinfo structure with version 21, 22
and 23 which is only used by boot firmware and it is of no use for
Linux.Add reserve field in socinfo so that the structure remain
updated and prepared if we get any new field in future which could
be used by Linux. While at it, also updates switch case for backward
compatibility if the SoC runs with boot firmware which has these
new version added.

Signed-off-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251104130906.167666-2-mukesh.ojha@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/soc/qcom/socinfo.c
include/linux/soc/qcom/socinfo.h