Re: [PATCH v1] device-dax: Adding match parameter to select which driver to match dax devices

2022-03-22 Thread Zhenguo Yao
I thought about it carefully. Indeed, in my scenario(virtual machine which use optane as DRAM), device assignment can be performed in userspace at very early time after the system is started. This patch is not needed in my scenario. Thank you for your reply. Dan Williams 于2022年3月23日周三 10:01写道: >

Re: [PATCH v1] device-dax: Adding match parameter to select which driver to match dax devices

2022-03-22 Thread Dan Williams
On Mon, Feb 28, 2022 at 1:50 AM Zhenguo Yao wrote: > > device_dax driver always match dax devices by default. The other > drivers only match devices by dax_id. There are situations which > need kmem drvier match all the dax device at boot time. So > adding a parameter to support this function.

Re: [PATCH v1] device-dax: Adding match parameter to select which driver to match dax devices

2022-02-28 Thread kernel test robot
Hi Zhenguo, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.17-rc6 next-20220225] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in

[PATCH v1] device-dax: Adding match parameter to select which driver to match dax devices

2022-02-28 Thread Zhenguo Yao
device_dax driver always match dax devices by default. The other drivers only match devices by dax_id. There are situations which need kmem drvier match all the dax device at boot time. So adding a parameter to support this function. Signed-off-by: Zhenguo Yao --- drivers/dax/device.c | 3 +++