projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc45e93
)
arm,dev: remove PMU assertion hit on reset
author
Bjoern A. Zeeb
<baz21@cam.ac.uk>
Fri, 15 Apr 2016 15:03:03 +0000
(10:03 -0500)
committer
Bjoern A. Zeeb
<baz21@cam.ac.uk>
Fri, 15 Apr 2016 15:03:03 +0000
(10:03 -0500)
Remve the assertion that we always need to add a delta larger than
zero as that does not seem to be true when we hit it in the
'PMU reset cycle counter to zero' case.
Committed by Jason Lowe-Power <power.jg@gmail.com>
src/arch/arm/pmu.cc
patch
|
blob
|
history
diff --git
a/src/arch/arm/pmu.cc
b/src/arch/arm/pmu.cc
index 6ea053e552de62b697eeee9c497dbd7f97e67b3a..39530702c4e00d27bb800974cf9318e3663f93f8 100644
(file)
--- a/
src/arch/arm/pmu.cc
+++ b/
src/arch/arm/pmu.cc
@@
-574,8
+574,6
@@
PMU::CounterState::add(uint64_t delta)
const uint64_t msb(1ULL << (overflow64 ? 63 : 31));
const uint64_t old_value(value);
- assert(delta > 0);
-
value += delta;
// Overflow if the msb goes from 1 to 0