Skip to content

ice: make writes to /dev/gnssX synchronous

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2175764

This make writing to the GNSS interface exposed by the ice driver synchronous. The change fixes a couple of issues:

  • Due to incorrect buffering, GNSS replies easily got out of phase with the requests. This was often visible with ubxtool.
  • Userspace could submit unlimited requests much faster than the driver could process them, consuming unbounded amounts of kernel memory.

Signed-off-by: Michal Schmidt mschmidt@redhat.com

Edited by Michal Schmidt

Merge request reports