On Mon, 07 Oct 2024 18:16:15 -0500 [email protected] wrote: > From: Navneet Singh <[email protected]> > > Until now region modes and decoder modes were equivalent in that both > modes were either PMEM or RAM. The addition of Dynamic > Capacity partitions defines up to 8 DC partitions per device. > > The region mode is thus no longer equivalent to the endpoint decoder > mode. IOW the endpoint decoders may have modes of DC0-DC7 while the > region mode is simply DC. > > Define a new region mode enumeration which applies to regions separate > from the decoder mode. Adjust the code to process these modes > independently. > > There is no equal to decoder mode dead in region modes. Avoid > constructing regions with decoders which have been flagged as dead. > > Suggested-by: Jonathan Cameron <[email protected]> > Signed-off-by: Navneet Singh <[email protected]> > Co-developed-by: Ira Weiny <[email protected]> > Signed-off-by: Ira Weiny <[email protected]>
LGTM Reviewed-by: Jonathan Cameron <[email protected]>
