open-power / HTX

Apache License 2.0
14 stars 19 forks source link

fencepost_check_error #142

Closed preeti-dhir closed 6 years ago

preeti-dhir commented 6 years ago

Design of exerciser is such that any IO (doing RC) should lie with the fencepost range of only one thread. In case of variable transfer size, Io was crossing the fencepost boundary to the next thread range which has not yet started. That was resulting in miscompare. Fixed in the code in do_fencepost_check() to reset the transfer size to minimum in case IO is wrapped.