Unify type of "cpu_idx" across PSCI module.NOTE for platform integrators: API `plat_psci_stat_get_residency()` third argument `last_cpu_idx` is changed from "signed int" to the "unsigned i
Unify type of "cpu_idx" across PSCI module.NOTE for platform integrators: API `plat_psci_stat_get_residency()` third argument `last_cpu_idx` is changed from "signed int" to the "unsigned int" type.Issue / Trouble points1. cpu_idx is used as mix of `unsigned int` and `signed int` in codewith typecasting at some places leading to coverity issues.2. Underlying platform API's return cpu_idx as `unsigned int`and comparison is performed with platform specific defines`PLAFORM_xxx` which is not consistentMisra Rule 10.4:The value of a complex expression of integer type may only be cast toa type that is narrower and of the same signedness as the underlyingtype of the expression.Based on above points, cpu_idx is kept as `unsigned int` to matchthe API's and low-level functions and platform defines are updatedwhere ever requiredSigned-off-by: Deepika Bhavnani <deepika.bhavnani@arm.com>Change-Id: Ib26fd16e420c35527204b126b9b91e8babcc3a5c
show more ...
Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__NOTE: __ASSEMBLY__ macro is now deprecated in favor of __ASSEMBLER__.All common C compilers predefine a macro called __ASSEMBLER__ whenpre
Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__NOTE: __ASSEMBLY__ macro is now deprecated in favor of __ASSEMBLER__.All common C compilers predefine a macro called __ASSEMBLER__ whenpreprocessing a .S file. There is no reason for TF-A to define it's own__ASSEMBLY__ macro for this purpose instead. To unify code with theexport headers (which use __ASSEMBLER__ to avoid one extra dependency),let's deprecate __ASSEMBLY__ and switch the code base over to thepredefined standard.Change-Id: Id7d0ec8cf330195da80499c68562b65cb5ab7417Signed-off-by: Julius Werner <jwerner@chromium.org>
drivers: scmi: scmi_sq: Modify wrong payload lengthPayload length of the get dram mapping information message is 0.The mbx_mem->len parameter should be 4, it only containsmessage header.Fixes:
drivers: scmi: scmi_sq: Modify wrong payload lengthPayload length of the get dram mapping information message is 0.The mbx_mem->len parameter should be 4, it only containsmessage header.Fixes: b67d202 ("plat/synquacer: enable SCMI support")Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>Change-Id: If1cd4c855da2dc5dc4b6da3bea152b8441971de7
Remove several warnings reported with W=2Improved support for W=2 compilation flag by solving some nested-externand sign-compare warnings.The libraries are compiling with warnings (which turn in
Remove several warnings reported with W=2Improved support for W=2 compilation flag by solving some nested-externand sign-compare warnings.The libraries are compiling with warnings (which turn into errors withthe Werror flag).Outside of libraries, some warnings cannot be fixed.Change-Id: I06b1923857f2a6a50e93d62d0274915b268cef05Signed-off-by: Ambroise Vincent <ambroise.vincent@arm.com>
plat/synquacer: enable SCMI supportEnable the SCMI protocol support in SynQuacer platform.Aside from power domain, system power and apcore management protocol,this commit adds the vendor specific
plat/synquacer: enable SCMI supportEnable the SCMI protocol support in SynQuacer platform.Aside from power domain, system power and apcore management protocol,this commit adds the vendor specific protocol(0x80).This vendor specific protocol is used to get the dram mapping informationfrom SCP.Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Minor changes to documentation and commentsFix some typos and clarify some sentences.Change-Id: Id276d1ced9a991b4eddc5c47ad9a825e6b29ef74Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.co
Minor changes to documentation and commentsFix some typos and clarify some sentences.Change-Id: Id276d1ced9a991b4eddc5c47ad9a825e6b29ef74Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
plat/arm: sds: Move to drivers/ folderChange-Id: Ia601d5ad65ab199e747fb60af4979b7db477d249Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
plat/arm: scp: Move to drivers/ folderChange-Id: Ida5dae39478654405d0ee31a6cbddb4579e76a7fSigned-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
plat/arm: scpi: Move to drivers/ folderChange-Id: Icc59cdaf2b56f6936e9847f1894594c671db2e94Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
plat/arm: mhu: Move to drivers/ folderChange-Id: I656753a1825ea7340a3708b950fa6b57455e9056Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
plat/arm: scmi: Move to drivers/ folderChange-Id: I8989d2aa0258bf3b50a856c5b81532d578600124Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
12