Home
last modified time | relevance | path

Searched hist:a6a8d6a19ae5655948ab0fcbcb1da5b0296c74b0 (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/drivers/nvme/
H A Dnvme-uclass.ca6a8d6a19ae5655948ab0fcbcb1da5b0296c74b0 Tue Jun 22 13:16:17 UTC 2021 Bin Meng <bmeng.cn@gmail.com> UPSTREAM: nvme: Move block dev creation from uclass post_probe() to driver probe()

At present the block device creation happens in the NVMe uclass
driver post_probe() phase. In preparation to support multiple
namespaces, we should issue namespace identify before creating
block devices but that touches the underlying hardware hence it
is not appropriate to do such in the uclass driver post_probe().
Let's move it to driver probe() phase instead.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
(cherry picked from commit 84344258f23fb9ac5abe7383c909f8606ac767b6)
Change-Id: I1e7b1e499982355a47ea4c2de301c6885f551c36
H A Dnvme.ca6a8d6a19ae5655948ab0fcbcb1da5b0296c74b0 Tue Jun 22 13:16:17 UTC 2021 Bin Meng <bmeng.cn@gmail.com> UPSTREAM: nvme: Move block dev creation from uclass post_probe() to driver probe()

At present the block device creation happens in the NVMe uclass
driver post_probe() phase. In preparation to support multiple
namespaces, we should issue namespace identify before creating
block devices but that touches the underlying hardware hence it
is not appropriate to do such in the uclass driver post_probe().
Let's move it to driver probe() phase instead.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
(cherry picked from commit 84344258f23fb9ac5abe7383c909f8606ac767b6)
Change-Id: I1e7b1e499982355a47ea4c2de301c6885f551c36