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

2022-03-22 Thread Zhenguo Yao
: > > 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 > >

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

2022-03-02 Thread Zhenguo Yao
device_dax driver always match dax devices by default. The other drivers only match devices by dax_id. There is 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 --- Changes: - v1->v2

[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