Skip to content

Conversation

@chorkin
Copy link
Contributor

@chorkin chorkin commented Jun 13, 2025

MI commands may be unaligned and also have payloads that are being sent and recieved at the same command. One case of this is AEM Sync. This wasn't seen before because that particular path does not use nvme_mi_mi_xfer().

MI commands may be unaligned and also have payloads that are being
sent and received at the same command.  One case of this is AEM Sync.
This wasn't seen before because that particular path does not use
nvme_mi_mi_xfer().

Signed-off-by: Chuck Horkin <chorkin@microsoft.com>
@chorkin chorkin force-pushed the user/chorkin/mi_over_restrictive branch from 56e8590 to 3d60087 Compare June 13, 2025 16:44
@chorkin
Copy link
Contributor Author

chorkin commented Jun 13, 2025

@jk-ozlabs , I realized that these checks should have been removed when we introduced the AEMs since we found out that they are not required (and actually prevent AEM flow from working right). This is just to clean up the pass through path.

@jk-ozlabs
Copy link
Collaborator

Looks good, but just to clarify - how does the AEM path need to use passthrough?

@chorkin
Copy link
Contributor Author

chorkin commented Jun 16, 2025

Looks good, but just to clarify - how does the AEM path need to use passthrough?

It doesn't, but when I put the AEM SYNC path in (an MI config set command), we removed those (or didn't include these) restrictions. I didn't think about other paths that are also technically MI commands, which is why this wasn't removed earlier.

@jk-ozlabs
Copy link
Collaborator

Right, gotchya! Thanks for the explanation, all looks good.

Copy link
Collaborator

@jk-ozlabs jk-ozlabs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

Also confirming that the docs for nvme_mi_mi_xfer do not need updating, as they do not prescribe these restrictions.

@chorkin
Copy link
Contributor Author

chorkin commented Jun 23, 2025

@igaw can we merge this?

@igaw igaw merged commit 1dccef2 into linux-nvme:master Jun 27, 2025
12 checks passed
@igaw
Copy link
Collaborator

igaw commented Jun 27, 2025

Thanks!

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.

3 participants