On Tue, 04 Apr 2023 09:44:33 +0530, Aneesh Kumar K.V wrote: > platform device helper routines won't update the NUMA distance table > while creating a platform device, even if the device is present on > a NUMA node that doesn't have memory or CPU. This is especially true > for pmem devices. If the target node of the pmem device is not online, we > find the nearest online node to the device and associate the pmem > device with that online node. To find the nearest online node, we should > have the numa distance table updated correctly. Update the distance > information during the device probe. > > [...]
Applied to powerpc/fixes. [1/1] powerpc/papr_scm: Update the NUMA distance table for the target node https://git.kernel.org/powerpc/c/b277fc793daf258877b4c0744b52f69d6e6ba22e cheers