RE: [PATCH v3 1/2] acpi/nfit: Update nfit driver to comply with ACPI 6.1

From: Elliott, Robert (Persistent Memory)
Date: Tue Jun 19 2018 - 10:31:43 EST




> -----Original Message-----
> From: Dan Williams [mailto:dan.j.williams@xxxxxxxxx]
> Sent: Monday, June 18, 2018 4:47 PM
> To: Elliott, Robert (Persistent Memory) <elliott@xxxxxxx>
> Cc: Kani, Toshi <toshi.kani@xxxxxxx>; linux-kernel@xxxxxxxxxxxxxxx; linux-
> nvdimm@xxxxxxxxxxxx; Moore, Robert <robert.moore@xxxxxxxxx>; Li, Juston
> <juston.li@xxxxxxxxx>; rjw@xxxxxxxxxxxxx; linux-acpi@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH v3 1/2] acpi/nfit: Update nfit driver to comply with
> ACPI 6.1


> Let's take something simple like Vendor ID. What is the Vendor ID for
> these DIMMs and what does Linux print in sysfs?

Here are some examples (kernel 4.17):

$ cd /sys/bus/nd/devices/nmem0/nfit
$ grep -s . *
device:0x314e
dsm_mask:0x3c76
family:1
flags:smart_notify
format:0x0101
formats:1
handle:0x1
id:802c-0f-1612-122f8255 [SPD bytes 320-328, in that order left-to-right]
phys_id:0x16
rev_id:0x3100
serial:0x122f8255
subsystem_device:0x3141
subsystem_rev_id:0x0100
subsystem_vendor:0x8034 [Cypress Semiconductor]
vendor:0x802c [Micron]

$ cd /sys/bus/nd/devices/nmem1/nfit
$ grep -s . *
device:0x314e
dsm_mask:0x3c76
family:1
flags:smart_notify
format:0x0101
formats:1
handle:0x2
id:802c-0f-1612-122f7f5e
phys_id:0x15
rev_id:0x3100
serial:0x122f7f5e
subsystem_device:0x3141
subsystem_rev_id:0x0100
subsystem_vendor:0x8034
vendor:0x802c

Some corresponding information for those NVDIMM-Ns as reported by dmidecode:

Handle 0x00A8, DMI type 237, 9 bytes
OEM-specific Type
Header and Data:
ED 09 A8 00 16 00 01 02 03
Strings:
Micron [Module manufacturer]
18ASF1G72XF12G1Y11AA [Module part number]
122F8255 [Module serial number]

Handle 0x00A7, DMI type 237, 9 bytes
OEM-specific Type
Header and Data:
ED 09 A7 00 15 00 01 02 03
Strings:
Micron
18ASF1G72XF12G1Y11AA
122F7F5E