[PATCH v3 10/13] tools: update hmm-test to support device coherent type