aboutsummaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorMichael Sammler <[email protected]>2022-11-15 21:40:36 +0000
committerMichael S. Tsirkin <[email protected]>2023-02-15 06:46:22 -0500
commitd5ff73bbb03e69bd92f1f7f134bbfa16624ad42b (patch)
tree926dd746eb7e05959731112aae0fe0780893f3cd /include/uapi/linux
parent0e84f918fac8ae61dcb790534fad5e3555ca2930 (diff)
virtio_pmem: populate numa information
Compute the numa information for a virtio_pmem device from the memory range of the device. Previously, the target_node was always 0 since the ndr_desc.target_node field was never explicitly set. The code for computing the numa node is taken from cxl_pmem_region_probe in drivers/cxl/pmem.c. Signed-off-by: Michael Sammler <[email protected]> Reviewed-by: Pasha Tatashin <[email protected]> Reviewed-by: Pankaj Gupta <[email protected]> Tested-by: Mina Almasry <[email protected]> Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions