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