fix(dsu): fix illegal address Coverity findingBased on -https://scan4.scan.coverity.com/#/project-view/68818/11439?selectedIssue=425813https://scan4.scan.coverity.com/#/project-view/68818/11439?s
fix(dsu): fix illegal address Coverity findingBased on -https://scan4.scan.coverity.com/#/project-view/68818/11439?selectedIssue=425813https://scan4.scan.coverity.com/#/project-view/68818/11439?selectedIssue=425812CID 425812: (#1 of 1): Illegal address computation (OVERRUN)This patch avoids the OVERRUN/illegal address Coverity finding.Change-Id: I8b2521c9f1f1e8c815c5a2940f98464bbb59e111Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
show more ...
feat(dsu): enable PMU registers access at EL1- Disable trapping of write accesses to DSU cluster PMU registers at EL3 and EL2.- Clear the SPME bit in CLUSTERPMMDCR_EL3 to prohibit PMU event co
feat(dsu): enable PMU registers access at EL1- Disable trapping of write accesses to DSU cluster PMU registers at EL3 and EL2.- Clear the SPME bit in CLUSTERPMMDCR_EL3 to prohibit PMU event counting in the secure state.Change-Id: If3eb6e997330ae86f45760e0e862c003861f3d66Signed-off-by: Amr Mohamed <amr.mohamed@arm.com>
feat(dsu): support power control and autonomous powerdown configThis patch allows platforms to enable certain DSU settingsto ensure memory retention and control overcache power requests. We also
feat(dsu): support power control and autonomous powerdown configThis patch allows platforms to enable certain DSU settingsto ensure memory retention and control overcache power requests. We also move the driver out of cssinto drivers/arm. Platforms can configure theCLUSTERPWRCTLR and CLUSTERPWRDN registers [1] to improvepower efficiency.These registers enable finer-grained control ofDSU power state transitions, includingpowerdown and retention.IMP_CLUSTERPWRCTLR_EL1 provides:- Functional retention: Allows configuration of the duration of inactivity before the DSU uses CLUSTERPACTIVE to request functional retention.- Cache power request: These bits are output on CLUSTERPACTIVE[19:16] to indicate to the power controller which cache portions must remain powered.IMP_CLUSTERPWRDN_EL1 includes:- Powerdown: Triggers full cluster powerdown, including control logic.- Memory retention: Requests memory retention mode, keeping L3 RAM contents while powering off the rest of the DSU.The DSU-120 TRM [2] provides the full field definitions,which are used as references in the `dsu_driver_data` structure.References:[1]: https://developer.arm.com/documentation/100453/latest/[2]: https://developer.arm.com/documentation/102547/0201/?lang=enSigned-off-by: Arvind Ram Prakash <arvind.ramprakash@arm.com>Change-Id: I2eba808b8f2a27797782a333c65dd092b03208fe