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

Commit 5495a952 authored by Greg Hackmann's avatar Greg Hackmann Committed by Anomalchik
Browse files

HACK: arm64: add CNTPCT_EL0 trap handler

The upstream kernel deliberately blocks EL0 access to CNTPCT.  However
Qualcomm's time_daemon attempts to read from CNTPCT_EL0, and Qualcomm
has forked the ARM architectured timer driver to allow this to succeed.

As a workaround, add a trap handler for CNTPCT similar to the existing
one for CNTVCT.

Bug: 68266545
Change-Id: Id49b60ebdeca84fab655079c8c22afd3171371b0
parent c9c2b98b
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