Skip to content
Commit c6dc19a8 authored by James Morse's avatar James Morse
Browse files

arm_mpam: resctrl: Determine if any exposed counter can overflow



Resctrl has an overflow handler that runs on each domain every second
to ensure that any overflow of the hardware counter is accounted for.

MPAM can have counters as large as 63 bits, in which case there is no
need to check for overflow.

To allow the overflow hander to be disabled, determine if an overflow
can happen. If a class is not implemented, or has the 63bit counter,
it can't overflow.

Signed-off-by: James Morse's avatarJames Morse <james.morse@arm.com>
parent 5de27bfc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment