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
F105802290: D5753.id14669.diff
Fri, Dec 20, 9:58 PM
Unknown Object (File)
Tue, Dec 10, 12:46 PM
Unknown Object (File)
Fri, Nov 22, 6:08 AM
Unknown Object (File)
Oct 18 2024, 5:34 AM
Unknown Object (File)
Sep 26 2024, 7:47 AM
Unknown Object (File)
Sep 25 2024, 4:46 PM
Unknown Object (File)
Sep 24 2024, 8:37 AM
Unknown Object (File)
Sep 22 2024, 3:50 PM
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.