Skip to content
Commit 7f841c02 authored by Jean-Philippe Brucker's avatar Jean-Philippe Brucker
Browse files

fix(rmm): initialize MDCR_EL2.HPMN for each REC



MDCR_EL2.HPMN defines the number of PMU counters available to a Realm.
Writing the MDCR_EL2 register from validate_realm_params() doesn't apply
the change to the Realm being configured, and only happens on the
current CPU. Instead, update the value of MDCR_EL2 for each REC, so that
it gets applied whenever the REC gets scheduled.

Signed-off-by: default avatarJean-Philippe Brucker <jean-philippe@linaro.org>
Change-Id: I01009648f94f60f51824ab2c25d93f00d80b984a
parent cc391d27
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment