Comment 2 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.

Observation:
=============
When reconfiguring dax devices then we are seeing below auto onlines hot plugged memory error

root@ubuntu:/home/ubuntu# daxctl reconfigure-device -m system-ram dax0.0 -u
dax0.0: error: kernel policy will auto-online memory, aborting.
error reconfiguring devices: Device or resource busy
reconfigured 0 devices.

Checked Kernel config "auto onlines hot plugged memory" enabled and online and it was online then i have made it offline then again reconfigured the dax device it reconfigured successfully.

there may be udev rules that interfere with memory onlining. They may race to online memory into ZONE_NORMAL rather than movable.

Is this working as expected? or leading to bug when we reconfigure device dax memory?