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

From: Dan Williams
Date: Tue Mar 22 2022 - 22:02:01 EST


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?