Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d2bc82c5 authored by Neeraj Upadhyay's avatar Neeraj Upadhyay Committed by Gerrit - the friendly Code Review server
Browse files

arm64: Add CNTVCT_EL0 cp15 AArch32 trap handler



Cntvct access was disabled by default, in
'commit 7b4edf240be4 ("clocksource: arch_timer: make
virtual counter access configurable"). There is a
trap handler added for user access using mrs instruction
in 'commit 9ce281d317a1 ("arm64: Add CNTVCT_EL0 trap
handler")' However, el0 running in AArch32 can try to
access cntvct using mrrc instruction. So, add a trap
handler to support that.

Change-Id: I788c03d87cd5a2d0e8d02da6662e2a1fb5e92827
Signed-off-by: default avatarNeeraj Upadhyay <neeraju@codeaurora.org>
parent 0b6670db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment