ipbus / ipbus-firmware

Firmware that implements a reliable high-performance control link for particle physics electronics, based on the IPbus protocol
https://ipbus.web.cern.ch
Other
39 stars 31 forks source link

Race condition in ipbus_syncreg_v #189

Closed dmnewbold closed 2 years ago

dmnewbold commented 3 years ago

Under rare circumstances, it seems possible to provoke a race condition inside the ipbus_syncreg_v CDC logic. In addition, the syncreg principles of operation should be documented alongside the code, to avoid reverse-engineering or misassumptions.