Skip to content

fixes: Use default IOCQES/IOSQES upon device enable#42

Open
gersner wants to merge 1 commit intonvmecompliance:masterfrom
gersner:bugfix/proper-device-initialization
Open

fixes: Use default IOCQES/IOSQES upon device enable#42
gersner wants to merge 1 commit intonvmecompliance:masterfrom
gersner:bugfix/proper-device-initialization

Conversation

@gersner
Copy link
Copy Markdown

@gersner gersner commented Jun 16, 2018

Specification requires that CC.IOCQES and CC.IOSQES are
configured prior to device enbale using CC.EN. Invalid value
will lead to failure to initialize device.

When device properly implements Controller Reset, hence clearing of
CC, this will lead to unexpected test failures.

The following change adds default minimal values prior to
enabling the device. Values are taken from specification
and same approach is used in nvme driver in the linux kernel.

Signed-off-by: Shimi Gersner gersner@gmail.com

Specification requires that CC.IOCQES and CC.IOSQES are
configured prior to device enbale using CC.EN. Invalid value
will lead to failure to initialize device.

When device properly implements Controller Reset, hence clearing of
CC,  this will lead to unexpected test failures.

The following change adds default minimal values prior to
enabling the device. Values are taken from specification
and same approach is used in nvme driver in the linux kernel.

Signed-off-by: Shimi Gersner <gersner@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant