Skip to content
Commit 85926bc3 authored by Petre-Ionut Tudor's avatar Petre-Ionut Tudor
Browse files

Bugfix for PMU leakage test



This patch fixes a bug where integer underflow causes the tests
to wrongly fail.

Since event counts are register values, they are unsigned in TFTF.
When the event count is less on the SMC being profiled than the
baseline SMC event count, subtraction causes an underflow which
goes beyond the allowed deviation and makes the test fail.

Signed-off-by: Petre-Ionut Tudor's avatarPetre-Ionut Tudor <petre-ionut.tudor@arm.com>
Change-Id: I58bc18ca4afd28b6d1b1354a9af9f70d616d2c32
parent 6f50bd61
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