[Linaro-mm-sig] [RFC 05/11] sw_sync: add debug support