kernel/arch/powerpc/platforms/pseries/papr_scm.c
.. .. @@ -1079,6 +1079,13 @@ 1079 1079 return -ENODEV; 1080 1080 } 1081 1081 1082 + /*1083 + * open firmware platform device create won't update the NUMA1084 + * distance table. For PAPR SCM devices we use numa_map_to_online_node()1085 + * to find the nearest online NUMA node and that requires correct1086 + * distance table information.1087 + */1088 + update_numa_distance(dn);1082 1089 1083 1090 p = kzalloc(sizeof(*p), GFP_KERNEL); 1084 1091 if (!p)