Searched hist:"7 f8561985778cbe5cdc7d57984c818119e87adaf" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/lib/el3_runtime/aarch64/ |
| H A D | context_mgmt.c | 7f8561985778cbe5cdc7d57984c818119e87adaf Wed Oct 26 14:10:39 UTC 2022 Boyan Karatotev <boyan.karatotev@arm.com> fix(pmu): add sensible default for MDCR_EL2
When TF-A is set to save and restore EL2 registers it initially zeroes all of them so that it does not leak any information. However, MDCR_EL2.HPMN of 0 is poorly defined when FEAT_HPMN0 is not implemented. Set it to its hardware reset value so that lower ELs don't inherit a wrong value.
Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com> Change-Id: I8055005ef9b6eaafefa13b62a0b41289079fdd23
|