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

From: Zhenguo Yao
Date: Tue Mar 22 2022 - 22:44:50 EST


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 <dan.j.williams@xxxxxxxxx> 于2022年3月23日周三 10:01写道:
>
> On Mon, Feb 28, 2022 at 1:50 AM Zhenguo Yao <yaozhenguo1@xxxxxxxxx> 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.
>
> What are the situations that happen at boot time that can't wait for
> initramfs or userspace to move the device assignment?