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