-
Notifications
You must be signed in to change notification settings - Fork 146
nvme_test: advertise optional flr support as a pcie capability #1858
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
Open
gurasinghMS
wants to merge
27
commits into
microsoft:main
Choose a base branch
from
gurasinghMS:advertise_flr_support
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
7b21eec
Ran xtask fmt fix
gurasinghMS b0b7109
Fixing build issues
gurasinghMS 3c02e17
Initial plan
Copilot 3c19bec
Add Function Level Reset (FLR) support to NVMe emulator
Copilot 1cca506
Initial plan
Copilot 14a5a7a
Initial plan
Copilot 530058e
Initial plan
Copilot 5132157
Moved the flr logic to the nvme fault controller instead of the actua…
gurasinghMS d13c160
Moving FLR logic to happen after a CFG write
gurasinghMS 1ce07fd
Rebasing to the Fault builder model style of fault injection
gurasinghMS ba5fe14
Added the find_pci_capability method as a test helper instead of it b…
gurasinghMS 02a2b7e
Fixing build issues
gurasinghMS e5bb73b
Small changes based on comments. Using builder notation instead of ma…
gurasinghMS 4f57f03
Pausing work
gurasinghMS 8ece4b3
Pausing work again. This will be completed after the Fault Configurat…
gurasinghMS b908990
Fixing build issues
gurasinghMS d82fd13
Responding to comments and build errors
gurasinghMS 2ec8554
Finished the merge and related changes. Back up to speed with the mai…
gurasinghMS eff125f
nvme_test: Add FaultConfiguration to the fault controller handler (#1…
gurasinghMS 40ddc20
nvme_test: cc.enable() delay capability during servicing for the Nvme…
gurasinghMS e7c5db7
nvme_test: add better command matching when injecting faults in the n…
gurasinghMS 2a24d9d
Squashed commits
gurasinghMS 8f273a1
Remove unecessary changes for FLR support
gurasinghMS a6a27a8
Unused imports removed
gurasinghMS 5492066
Merge branch 'main' into advertise_flr_support
gurasinghMS 574b991
Fixing clippy issues
gurasinghMS 56065d0
Merge branch 'main' into advertise_flr_support
gurasinghMS File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of here, can we process the reset from the
NvmeFlrHandler::initiate_flr
function? It seems like the point of thisFlrHandler
stuff is to avoid the need to post-process the config space write directly. Instead, you just get a callback when you need to do somethingThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not know whether that's actually possible, it just seems weird to circumvent that intent to post-process the config space write anyway