Approved by: maintainers
PR: 53428 Submitted by: Herbert <herbert@bugat.at>, Andrew Heybey <ath@niksun.com> (respectively)
developed for net/psi, but might be useful generally.