Re: [PATCH v3 3/4] nvmem: core: Add support for keepout regions

From: Evan Green
Date: Thu Oct 29 2020 - 12:18:42 EST


On Thu, Oct 29, 2020 at 5:08 AM Srinivas Kandagatla
<srinivas.kandagatla@xxxxxxxxxx> wrote:
>
> Thanks Evan for doing this,
>
> On 29/10/2020 00:28, Evan Green wrote:
> > Introduce support into the nvmem core for arrays of register ranges
> > that should not result in actual device access. For these regions a
> > constant byte (repeated) is returned instead on read, and writes are
> > quietly ignored and returned as successful.
> >
> > This is useful for instance if certain efuse regions are protected
> > from access by Linux because they contain secret info to another part
> > of the system (like an integrated modem).
> >
> > Signed-off-by: Evan Green <evgreen@xxxxxxxxxxxx>
>
> Overall the patch looks good for me.
> I have applied just this patch for more testing in next!
>
> I can pick up 1/4 and 4/4 once Rob's Ack/Reviews the patch!

Thank you, Srini!
-Evan