Page MenuHomeFreeBSD

CAM: Add 4k quirks for Samsung PM851 SSD
ClosedPublic

Authored by dumbbell on Mar 27 2016, 12:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 8, 9:28 PM
Unknown Object (File)
Wed, May 8, 9:24 PM
Unknown Object (File)
Wed, May 8, 9:24 PM
Unknown Object (File)
Mon, May 6, 5:35 AM
Unknown Object (File)
Sun, May 5, 7:59 PM
Unknown Object (File)
Tue, Apr 30, 10:51 PM
Unknown Object (File)
Thu, Apr 25, 4:48 PM
Unknown Object (File)
Feb 23 2024, 3:22 AM
Subscribers

Details

Summary

This is the SSD installed in a Lenovo Thinkpad T440p provided by my employer.

Here is the output of camcontrol identify without the patch:

$ camcontrol identify ada0
pass0: <SAMSUNG MZ7TE256HMHP-000L7 EXT09L6Q> ACS-2 ATA SATA 3.x device
pass0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes)

protocol              ATA/ATAPI-9 SATA 3.x
device model          SAMSUNG MZ7TE256HMHP-000L7
firmware revision     EXT09L6Q
serial number         S1K7NSAF573722
WWN                   5002538844584d30
cylinders             16383
heads                 16
sectors/track         63
sector size           logical 512, physical 512, offset 0
LBA supported         268435455 sectors
LBA48 supported       500118192 sectors
PIO supported         PIO4
DMA supported         WDMA2 UDMA6 
media RPM             non-rotating

Feature                      Support  Enabled   Value           Vendor
read ahead                     yes	yes
write cache                    yes	yes
flush cache                    yes	yes
overlap                        no
Tagged Command Queuing (TCQ)   no	no
Native Command Queuing (NCQ)   yes		32 tags
NCQ Queue Management           no
NCQ Streaming                  no
Receive & Send FPDMA Queued    yes
SMART                          yes	yes
microcode download             yes	yes
security                       yes	no
power management               yes	yes
advanced power management      no	no
automatic acoustic management  no	no
media status notification      no	no
power-up in Standby            no	no
write-read-verify              yes	no	0/0x0
unload                         no	no
general purpose logging        yes	yes
free-fall                      no	no
Data Set Management (DSM/TRIM) yes
DSM - max 512byte blocks       yes              8
DSM - deterministic read       no
Host Protected Area (HPA)      yes      no      500118192/500118192
HPA - Security                 no

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dumbbell retitled this revision from to CAM: Add 4k quirks for Samsung PM851 SSD.
dumbbell updated this object.
dumbbell edited the test plan for this revision. (Show Details)
dumbbell added a reviewer: sbruno.

We are wondering if we can open the search up to SAMSUNG MZ7*

kbowling edited edge metadata.
This revision is now accepted and ready to land.Mar 27 2016, 5:38 PM
dumbbell edited edge metadata.

Generalize the pattern to all Samsung MZ7*

This revision now requires review to proceed.Mar 28 2016, 10:23 AM
dumbbell edited edge metadata.

Sort Samsung models numerically

j-nitrology.com edited edge metadata.

We don't have official word from Samsung, but through light research all MZ7 drives are recent SSDs.

This revision is now accepted and ready to land.Mar 29 2016, 4:57 AM
This revision was automatically updated to reflect the committed changes.