Re: [RFC PATCH 6/6] block: implement NVMEM provider

From: Christoph Hellwig
Date: Thu Jul 20 2023 - 03:06:09 EST


The layering here is exactly the wrong way around. This block device
as nvmem provide has not business sitting in the block layer and being
keyed ff the gendisk registration. Instead you should create a new
nvmem backed that opens the block device as needed if it fits your
OF description without any changes to the core block layer.