Re: [PATCH V3 08/20] nvdimm/label: Include region label in slot validation

From: Neeraj Kumar

Date: Mon Oct 06 2025 - 00:55:10 EST


On 24/09/25 02:30PM, Alison Schofield wrote:
On Wed, Sep 17, 2025 at 07:11:04PM +0530, Neeraj Kumar wrote:
Slot validation routine validates label slot by calculating label
checksum. It was only validating namespace label. This changeset also
validates region label if present.

Neeraj,

Was it previously wrong 'only validating namespace label'
- or -
Is validating region label something new available with cxl
namespaces that we now must add?

I'm looking for that pattern in these commit messages, ie
this is how it use to be, this is why it doesn't work now,
so here is the change.

-- Alison


Hi Alison,

Earlier labels were meant only as namespace lables. LSA 2.1 introduces
new region label because of this slots for both namespace and region
labels should be validated.

May be I will elaborate the commit message to properly communicate
this information


Regards,
Neeraj