arm-trusted-firmware/lib/extensions/amu
John Powell a4c394561a fix(amu): limit virtual offset register access to NS world
Previously the SCR_EL3.AMVOFFEN bit was set for all contexts, this
behavior is incorrect as it allows secure world to access the virtual
offset registers when it should not be able to. This patch only sets
AMVOFFEN for non-secure world.

Signed-off-by: John Powell <john.powell@arm.com>
Change-Id: I2c61fe0a8a0092df089f1cb2c0d8a45c8c8ad0d3
2022-04-28 20:30:42 +02:00
..
aarch32 feat(amu): enable per-core AMU auxiliary counters 2021-10-26 12:15:33 +01:00
aarch64 fix(amu): limit virtual offset register access to NS world 2022-04-28 20:30:42 +02:00
amu.mk feat(amu): enable per-core AMU auxiliary counters 2021-10-26 12:15:33 +01:00
amu_private.h refactor(amu): refactor enablement and context switching 2021-10-26 12:14:33 +01:00