Comment 1 for bug 2028158

Revision history for this message
Gnanendra Kolla (gnanendrakollaa) wrote (last edit ): Re: Observed device_dax related probe errors in dmesg when HBM CPU is set to flat mode and creating duplicate device_dax ids and hence probe is failing.

Found Upstream kernel patch for hmem duplicate dax_device creation, applied on top of ubuntu 22.04.2& 22.10 working as expected, not observed any dax related errors on dmesg and no duplicate dax_device creations.
https://lore.kernel<email address hidden>/T/

Please consider the above patch to pull into ubuntu release.

After applied patch test results:
-------------------------------
root@ubuntu:/home/ubuntu# daxctl list -u
[
  {
    "chardev":"dax1.0",
    "size":"64.00 GiB (68.72 GB)",
    "target_node":3,
    "align":2097152,
    "mode":"devdax"
  },
  {
    "chardev":"dax0.0",
    "size":"64.00 GiB (68.72 GB)",
    "target_node":2,
    "align":2097152,
    "mode":"devdax"
  }
]

ubuntu@ubuntu:~$ lsmem
RANGE SIZE STATE REMOVABLE BLOCK
0x0000000000000000-0x000000007fffffff 2G online yes 0
0x0000000100000000-0x000000607fffffff 382G online yes 2-192

Memory block size: 2G
Total online memory: 384G
Total offline memory: 0B