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