Skip to content

AIESW-33714 Implement xrt-smi reset subcmd for npu3 vf, pf - #10106

Merged
stsoe merged 4 commits into
Xilinx:masterfrom
rchane:AIESW-33714
Oct 12, 2026
Merged

stsoe merged 4 commits into
Xilinx:masterfrom
rchane:AIESW-33714

Conversation

@rchane

@rchane rchane commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator

Problem solved by the commit

https://jira.xilinx.com/browse/AIESW-33714

Bug / issue (if any) fixed, which PR introduced the bug, how it was discovered

FLR reset has been requested for npu3 VF/PF.

How problem was solved, alternative solutions (if any) and why they were rejected

Added FLR reset type to SubCmdReset and added to proper smi config. Will not show up on classic, only on pf/vf. Reset subcmd will also not show up for other AIE2 devices. Alveo still only has user reset option, npu3 vf/pf only have the new FLR reset option. FLR reset also requires admin privileges.
This first iteration requires separate shim changes in xdna in order to actually work, otherwise the reset will fail for now. xrt-smi queries the shim, which will handle triggering the FLR reset and return whether it was successful.

Risks (if any) associated the changes in the commit

N/A

What has been tested and how, request additional testing if necessary

Tested on Linux-on-Linux machine w/ xdna changes

Documentation impact (if any)

Will update xrt-smi documentation.

Signed-off-by: Ryan Chane <rchane@xilinx.com>

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

Comment thread src/runtime_src/core/tools/xbutil2/SubCmdReset.cpp Outdated
Signed-off-by: Ryan Chane <rchane@xilinx.com>
@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Signed-off-by: Ryan Chane <rchane@xilinx.com>
@github-actions

Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Signed-off-by: Ryan Chane <rchane@xilinx.com>
@rchane
rchane marked this pull request as ready for review October 12, 2026 18:19
@rchane
rchane requested a review from aktondak October 12, 2026 18:19
@github-actions

Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Comment thread src/runtime_src/core/tools/xbutil2/SubCmdReset.cpp
@stsoe
stsoe merged commit 3470e40 into Xilinx:master Oct 12, 2026
26 checks passed
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