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