commit | a4c394561af31ae0417ed9ff3b3152adb7cd5355 | [log] [tgz] |
---|---|---|
author | John Powell <john.powell@arm.com> | Tue Mar 29 00:25:59 2022 -0500 |
committer | John Powell <john.powell@arm.com> | Thu Apr 28 20:30:42 2022 +0200 |
tree | 7394fca61d513d4e7a670aa5c90f1610b6395c91 | |
parent | 942b0392218a93141ed90afafd005c6f28d7014f [diff] |
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