commit | 85926bc3d544111d412472e24cdd86668175c831 | [log] [tgz] |
---|---|---|
author | Petre-Ionut Tudor <petre-ionut.tudor@arm.com> | Wed Oct 09 10:56:39 2019 +0100 |
committer | Petre-Ionut Tudor <petre-ionut.tudor@arm.com> | Thu Oct 10 10:06:09 2019 +0100 |
tree | f6b8ef0e128d0b7a211b601855843d7d5408284d | |
parent | 6f50bd61931ad36152b2a437622593dd11633eb1 [diff] |
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 <petre-ionut.tudor@arm.com> Change-Id: I58bc18ca4afd28b6d1b1354a9af9f70d616d2c32