[PATCH v1 8/9] tools: update hmm-test to support device coherent type