diff options
author | Naman Jain <quic_namajain@quicinc.com> | 2023-06-06 19:16:26 +0530 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-06-13 11:15:41 -0700 |
commit | d9c2a255cfe026c8bf85a39631734f022ecefaff (patch) | |
tree | 4ac0026c4d5d9b53c3ad9290d6d18c015a706d23 /include/linux/soc/qcom/socinfo.h | |
parent | 158826c73d48097f843bacc1bcafa6dbc114f4e5 (diff) | |
download | linux-stable-d9c2a255cfe026c8bf85a39631734f022ecefaff.tar.gz linux-stable-d9c2a255cfe026c8bf85a39631734f022ecefaff.tar.bz2 linux-stable-d9c2a255cfe026c8bf85a39631734f022ecefaff.zip |
soc: qcom: socinfo: Add support for new fields in revision 19
Add support for below fields coming in socinfo structure under v19:
* num_func_clusters: number of clusters with at least one functional core
* boot_cluster: cluster selected as boot cluster
* boot_core: core selected as boot core
While at it, rename some variables to align them with their
functionalities.
Signed-off-by: Naman Jain <quic_namajain@quicinc.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230606134626.18790-3-quic_namajain@quicinc.com
Diffstat (limited to 'include/linux/soc/qcom/socinfo.h')
-rw-r--r-- | include/linux/soc/qcom/socinfo.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/linux/soc/qcom/socinfo.h b/include/linux/soc/qcom/socinfo.h index 3cc266d8a8b4..e78777bb0f4a 100644 --- a/include/linux/soc/qcom/socinfo.h +++ b/include/linux/soc/qcom/socinfo.h @@ -54,8 +54,8 @@ struct socinfo { /* Version 14 */ __le32 num_clusters; __le32 ncluster_array_offset; - __le32 num_defective_parts; - __le32 ndefective_parts_array_offset; + __le32 num_subset_parts; + __le32 nsubset_parts_array_offset; /* Version 15 */ __le32 nmodem_supported; /* Version 16 */ @@ -68,6 +68,10 @@ struct socinfo { /* Version 18 */ __le32 num_kvps; __le32 kvps_offset; + /* Version 19 */ + __le32 num_func_clusters; + __le32 boot_cluster; + __le32 boot_core; }; #endif |