[nvmewin] New Patch From PMC Ready For Review/Test

Alex Chang Alex.Chang at pmcs.com
Tue Nov 18 15:30:52 PST 2014


Dear all,

Please find the attached patch from PMC. Password is pmc123.
The following tests had been completed on Windows 7, 8,  8.1, Windows Server 2012, 2012 R2.
- Disk Formats (Quick and Full formats)
- IOMeter read/write accesses
- SDStress
- NVMe SCSI Compliance
- Install/Uninstall driver
- Disable/Enable driver
- All WHQL tests passed with HCK 8.100.26795 on Windows Server 2012 R2, except the following tests exempted via Errata ID 4693:
1. NVMe Device Capabilities
2. NVMe Queue Pause-Resume
3. NVMe Queue Utilization

The changes of this patch includes two portions: WHQL related changes and Format NVM changes.
< WHQL related changes >
1. For "Static Tools Logo test" on server systems, it requires Driver Verification Logs.
Most current WDK bundled with VS2013 has a known issue that has a conflict in function
prototype definition for StorPortReadRegisterUlong64. Due to the conflict, Code Analysis fails
and can't generate Code Analysis log. Therefore, we have to fall back to use
StorPortReadRegisterUlong for the time being in nvmeInit.c and nvmestd.c

2. Added function type declarations in nvmeStd.h in order to pass Static Driver Verifier and
generate SDV log.

3. In order to pass Inquiry command, Device Identification VPD Page (part of NVMe SCSI Compliance test), the driver
needs to report SCSI Name String Designation Descriptor (Type 8). For the time being, I added reporting the string
as "SCSINVMe". You may change it to whatever strings as you wish. Judy from Samsung is working
on definition of the string as well.

< Format NVM Changes >
1. Added storportdebugprints in nvmesnti.c.

2. In nvmestd.c and nvmestd.h :
- Added NVMeIsReadWritCmd
- In NVMeBuildIo, block Read/write commands while Format NVM is in progress.
- Added one parameter of NVMeIsNamespaceVisible to allow specifying the target namespaceID.
- Added NVMeFormatNVMHotRemoveNamespace and NVMeFormatNVMHotAddNamespace
- Changed the state machine transitions/processes in NVMeIoctlFormatNVMCallback

Please review/test the patch and provide your feedback at your earliest convenience. Thank you very much.

Regards,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/nvmewin/attachments/20141118/10b8cac1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PMC_FormatNVM_WHQL_Patch_V1_11182014.zip
Type: application/x-zip-compressed
Size: 190825 bytes
Desc: PMC_FormatNVM_WHQL_Patch_V1_11182014.zip
URL: <http://lists.openfabrics.org/pipermail/nvmewin/attachments/20141118/10b8cac1/attachment.bin>


More information about the nvmewin mailing list