Commit 6e9be9d5 authored by Sathish Ambley's avatar Sathish Ambley
Browse files

Perf: Enable CP10 and CP11 access in CPACR



VFP extension uses CP10 and CP11 and if more than one coprocessor
is used to provide a set of functionality then having different
values for the CPACR (Coprocessor Access Control Register) fields
for those coprocessors can lead to unpredictable behavior.

Make sure that both CP10 and CP11 coprocessors have their access
bits set before a VFP instruction is executed. The access
permissions have to be explicitly set here because the perf event
initialization happens way before the VFP module is initialized.

Change-Id: I8cc451a41e0d50dcd03f2b596eabf0cf4aa9e628
Signed-off-by: default avatarSathish Ambley <sambley@codeaurora.org>
parent 580be8b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment