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