dev->node_props.capability |= (adev->ras_features != 0) ?
                        HSA_CAP_RASEVENTNOTIFY : 0;
 
+       /* SVM API and HMM page migration work together, device memory type
+        * is initialized to not 0 when page migration register device memory.
+        */
+       if (adev->kfd.dev->pgmap.type != 0)
+               dev->node_props.capability |= HSA_CAP_SVMAPI_SUPPORTED;
+
        kfd_debug_print_topology();
 
        if (!res)
 
 #define HSA_CAP_ASIC_REVISION_MASK             0x03c00000
 #define HSA_CAP_ASIC_REVISION_SHIFT            22
 #define HSA_CAP_SRAM_EDCSUPPORTED              0x04000000
+#define HSA_CAP_SVMAPI_SUPPORTED               0x08000000
 
-#define HSA_CAP_RESERVED                       0xf80f8000
+#define HSA_CAP_RESERVED                       0xf00f8000
 
 struct kfd_node_properties {
        uint64_t hive_id;
 #define HSA_MEM_HEAP_TYPE_GPU_LDS      4
 #define HSA_MEM_HEAP_TYPE_GPU_SCRATCH  5
 
-#define HSA_MEM_FLAGS_HOT_PLUGGABLE    0x00000001
-#define HSA_MEM_FLAGS_NON_VOLATILE     0x00000002
-#define HSA_MEM_FLAGS_RESERVED         0xfffffffc
+#define HSA_MEM_FLAGS_HOT_PLUGGABLE            0x00000001
+#define HSA_MEM_FLAGS_NON_VOLATILE             0x00000002
+#define HSA_MEM_FLAGS_COHERENTHOSTACCESS       0x00000004
+#define HSA_MEM_FLAGS_RESERVED                 0xfffffff8
 
 struct kfd_mem_properties {
        struct list_head        list;