Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[spi_device] payload upload ignores dummy cycles #14051

Closed
weicaiyang opened this issue Aug 6, 2022 · 6 comments
Closed

[spi_device] payload upload ignores dummy cycles #14051

weicaiyang opened this issue Aug 6, 2022 · 6 comments
Labels
Component:RTL Earlgrey-PROD Candidate Temporary label to triage issues into Earlgrey-PROD Milestones IP:spi_device Priority:P3 Priority: low Type:FutureRelease Not relevant to currently planned releases/milestones Type:Question Questions

Comments

@weicaiyang
Copy link
Contributor

@eunchan

Looks like payload upload ignores dummy cycles. We starts to upload payload when all addresses are collected regardless of the value of dummy_size, right?

Perhaps I can assume dummy cycle is 0 when it's not a read, right?

@eunchan
Copy link
Contributor

eunchan commented Aug 8, 2022

Yes. It assumes no dummy cycle between the address and payload.
Still, I think supporting the dummy cycle is a good idea.

Let me change this ticket to Future Release Thanks!

@eunchan eunchan added Priority:P3 Priority: low Component:RTL IP:spi_device Type:FutureRelease Not relevant to currently planned releases/milestones labels Aug 8, 2022
@weicaiyang
Copy link
Contributor Author

@eunchan Thanks for the confirmation

@andreaskurth
Copy link
Contributor

Triaged for spi_device. Assigning to M2.5 with Priority:P2 Priority: medium for the moment. I think this is according to our current spec, but I'd like to mention this to the product team before we definitely defer this to Type:FutureRelease Not relevant to currently planned releases/milestones .

@andreaskurth andreaskurth added this to the Discrete: M2.5 milestone Feb 24, 2023
@andreaskurth andreaskurth added Priority:P2 Priority: medium Triaged and removed Priority:P3 Priority: low labels Feb 24, 2023
@a-will
Copy link
Contributor

a-will commented Feb 24, 2023

For what it's worth, for the type of device we are modeling, I believe writes are buffered in low-latency storage, then executed upon the completion of the SPI transaction. Dummy cycles are used for reads to accommodate the high-latency arrays where data originates.

Most likely, there is no use for dummy cycle support on writes. However, it doesn't hurt to ask the product team to be sure.

@hcallahan-lowrisc
Copy link
Contributor

Checked as part of the product-team review process, believe that all relevant devices do not have opcodes that have dummy cycles for writes.
Hence, defer to FutureRelease.

@hcallahan-lowrisc hcallahan-lowrisc removed the Priority:P2 Priority: medium label Mar 23, 2023
@andreaskurth andreaskurth modified the milestones: Discrete: M2.5, Backlog Mar 24, 2023
@johngt johngt added the Priority:P3 Priority: low label Mar 31, 2023
@msfschaffner msfschaffner added the Earlgrey-PROD Candidate Temporary label to triage issues into Earlgrey-PROD Milestones label Oct 6, 2023
@msfschaffner msfschaffner modified the milestones: Backlog, Earlgrey-PROD.M2 Nov 7, 2023
@a-will
Copy link
Contributor

a-will commented Jan 8, 2024

Closing, since the set of SPI flash operations we support does not include dummy cycles for write commands.

@a-will a-will closed this as not planned Won't fix, can't repro, duplicate, stale Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component:RTL Earlgrey-PROD Candidate Temporary label to triage issues into Earlgrey-PROD Milestones IP:spi_device Priority:P3 Priority: low Type:FutureRelease Not relevant to currently planned releases/milestones Type:Question Questions
Projects
None yet
Development

No branches or pull requests

7 participants