Commit fb136486 authored by Ashwin Chaugule's avatar Ashwin Chaugule Committed by Bryan Huntsman
Browse files

ARM: Perfevents: Remove erroneous constraint on number of active events



The original intent was to restrict the number of active events to number
of available counters at init. But this code had the side effect of events
needelessly reserving a slot even when they couldn't be armed on the PMU.

Eventually this resource reservation code will be replaced entirely.
For now, we lazily deny event allocation just before arming them on
the PMU.

Signed-off-by: default avatarAshwin Chaugule <ashwinc@codeaurora.org>
parent ef955cdb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment