Merge tag 'powerpc-6.3-5' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux

Pull powerpc fix from Michael Ellerman:

- A fix for NUMA distance handling in the pseries SCM (pmem) driver.

Thanks to Aneesh Kumar K.V.

* tag 'powerpc-6.3-5' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
powerpc/papr_scm: Update the NUMA distance table for the target node

Changed files
+8
arch
powerpc
mm
platforms
pseries
+1
arch/powerpc/mm/numa.c
··· 366 366 WARN(numa_distance_table[nid][nid] == -1, 367 367 "NUMA distance details for node %d not provided\n", nid); 368 368 } 369 + EXPORT_SYMBOL_GPL(update_numa_distance); 369 370 370 371 /* 371 372 * ibm,numa-lookup-index-table= {N, domainid1, domainid2, ..... domainidN}
+7
arch/powerpc/platforms/pseries/papr_scm.c
··· 1428 1428 return -ENODEV; 1429 1429 } 1430 1430 1431 + /* 1432 + * open firmware platform device create won't update the NUMA 1433 + * distance table. For PAPR SCM devices we use numa_map_to_online_node() 1434 + * to find the nearest online NUMA node and that requires correct 1435 + * distance table information. 1436 + */ 1437 + update_numa_distance(dn); 1431 1438 1432 1439 p = kzalloc(sizeof(*p), GFP_KERNEL); 1433 1440 if (!p)