Repository navigation
fix(amdsmi): return SUCCESS for partial fabric data - #11045
Merged
Merged
Conversation
bkanango
force-pushed
the
users/bkanango/PR-ROCM-25770
branch
from
September 1, 2026 18:13
b3d086a to
81a0296
Compare
✅ All Policy Checks Passed
📖 Need help? See the Policy FAQ for details on every check and how to fix failures. |
marifamd
approved these changes
Sep 1, 2026
oliveiradan
reviewed
Sep 2, 2026
Contributor
Author
|
PR #9255 merged to develop and will resolve this issue. |
Contributor
Author
|
Repoened the PR as Ppod Vpod PR was reverted. |
bkanango
force-pushed
the
users/bkanango/PR-ROCM-25770
branch
from
September 11, 2026 12:21
81a0296 to
57ea00b
Compare
bkanango
force-pushed
the
users/bkanango/PR-ROCM-25770
branch
from
September 11, 2026 14:45
57ea00b to
b89a314
Compare
oliveiradan
approved these changes
Sep 11, 2026
On systems where some fabric files (vpod_active_accels, local_accels)
are legitimately empty, this caused UNEXPECTED_DATA returns instead of
SUCCESS, breaking the IfoeFunctionalReadOnly.TestFabricRead test.
Changed the return logic to match the API contract: return SUCCESS when
any files have data, NO_DATA when none do.
This will also display fabric CLI output with available data.
Also fixed typo in comment ("can read" → "cannot read").
Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com>
marifamd
force-pushed
the
users/bkanango/PR-ROCM-25770
branch
from
September 11, 2026 16:43
b89a314 to
7b24e9b
Compare
Contributor
TheRock Submodule Bump ActivityNewest first
|
1 task
marbre
pushed a commit
that referenced
this pull request
Sep 15, 2026
…11600) #11045 Source commit: `6760c671aa20be3b563ae6d4a7496e21bb5bd3a6` ## Motivation On systems where some fabric files (vpod_active_accels, local_accels) are legitimately empty, this caused UNEXPECTED_DATA returns instead of SUCCESS, breaking the IfoeFunctionalReadOnly.TestFabricRead test. ## Technical Details Changed the return logic to match the API contract: return SUCCESS when any files have data, NO_DATA when none do. This will also display fabric CLI output with available data. Also fixed typo in comment ("can read" → "cannot read"). ## Issue Tracking JIRA ID: ROCM-25770 ## Test Plan sudo ./amdsmitst --gtest_filter=IfoeFunctionalReadOnly.TestFabricRead sudo amd-smi fabric ## Test Result Passed, attached logs to ticket. ## Submission Checklist - [ ] Look over the contributing guidelines at https://github.com/ROCm/rocm-systems/blob/develop/CONTRIBUTING.md. Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com> Co-authored-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com>
abchoudh-amd
pushed a commit
that referenced
this pull request
Sep 16, 2026
## Motivation
On systems where some fabric files (vpod_active_accels, local_accels)
are legitimately empty, this caused UNEXPECTED_DATA returns instead of
SUCCESS, breaking the IfoeFunctionalReadOnly.TestFabricRead test.
## Technical Details
Changed the return logic to match the API contract: return SUCCESS when
any files have data, NO_DATA when none do.
This will also display fabric CLI output with available data.
Also fixed typo in comment ("can read" → "cannot read").
## Issue Tracking
JIRA ID: ROCM-25770
## Test Plan
sudo ./amdsmitst --gtest_filter=IfoeFunctionalReadOnly.TestFabricRead
sudo amd-smi fabric
Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com>
dlamd1dai
pushed a commit
to dlamd1dai/rocm-systems
that referenced
this pull request
Sep 16, 2026
## Motivation
On systems where some fabric files (vpod_active_accels, local_accels)
are legitimately empty, this caused UNEXPECTED_DATA returns instead of
SUCCESS, breaking the IfoeFunctionalReadOnly.TestFabricRead test.
## Technical Details
Changed the return logic to match the API contract: return SUCCESS when
any files have data, NO_DATA when none do.
This will also display fabric CLI output with available data.
Also fixed typo in comment ("can read" → "cannot read").
## Issue Tracking
JIRA ID: ROCM-25770
## Test Plan
sudo ./amdsmitst --gtest_filter=IfoeFunctionalReadOnly.TestFabricRead
sudo amd-smi fabric
Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com>
1 task done
marifamd
added a commit
that referenced
this pull request
Oct 12, 2026
## Motivation ROCm 10.1 has branched to `release/therock-10.1`. This opens the 10.2 development cycle: it bumps the library minor version to 27.2.0 and fills the `10.2.0` changelog section. While opening it, the `10.1.0` section on `develop` was audited against the release branch, and entries that will not ship in 10.1 were moved to `10.2.0`. ## Technical Details **Version** (`include/amd_smi/amdsmi.h`, `rust-interface/src/amdsmi_wrapper.rs`): - Bump `AMDSMI_LIB_VERSION_MINOR` `1 -> 2` (27.2.0). SONAME stays `libamd_smi.so.27` (`SOVERSION` is `MAJOR` only). - Regenerate the Rust binding constant to match. The Python wrapper and Go shim carry no minor-version constant. **Changelog** (`CHANGELOG.md`): - Extend the existing `## amd_smi_lib for ROCm 10.2.0` section. - Move the `10.1.0` entries whose source PR is not on `release/therock-10.1`, and add entries for three develop-only PRs whose fixes merged without one: | Action | Source PR | Entries | |--------|-----------|---------| | Move `10.1.0` → `10.2.0` | #8624 | CLI exit-code rework: 5 Changed, 1 Removed, 2 Resolved Issues | | Move `10.1.0` → `10.2.0` | #11494 | `AMDSMI_VRAM_TYPE_HBM4` (Added) | | Move `10.1.0` → `10.2.0` | #11066 | fwupd UMA carveout (Changed) | | Move `10.1.0` → `10.2.0` | #11471 | NPM node power limit: 1 Added, 2 Changed | | Move `10.1.0` → `10.2.0` | #10678 | Version-absent `amd-smi metric` fields omitted from human output (Changed; was under Removed, but it changes output) | | Move `10.1.0` → `10.2.0` | #12144 | xGMI data counters reading as unavailable on MI450 (Resolved Issues) | | Move `10.1.0` → `10.2.0` | #12804 | NPM balancing mode get/set (Added) | | New in `10.2.0` | #11474 | Topology APIs returned uninitialized NUMA data (Resolved Issues) | | New in `10.2.0` | #11045 | `amdsmi_get_gpu_fabric_info()` rejected partial UALink sysfs data (Resolved Issues) | | New in `10.2.0` | #12999 | NULL output pointers, CPER paging after a large record, `amd-smi static --clock` traceback (3 Resolved Issues) | - Drop the `### Removed` heading left empty in `10.1.0`. - Keep the #11628 entry in `10.1.0` (cherry-picked to the release branch as #12032) and the `10.0.0` section as is (it differs from `release/therock-10.0` only by the #11046 placement fixes). **Docs** (`docs/how-to/amdsmi-cli-tool.md`): - Update the `amd-smi --help` banner and default-view header examples to 27.2.0 / ROCm 10.2.0 (stale since 27.0.0). ## Issue Tracking N/A ## Test Plan - Configure and build with `-DBUILD_TESTS=ON`; confirm CMake reports 27.2.0. - Run `pre-commit` (amdsmi config) on the changed files. - Check `10.2.0`, `10.1.0` and `10.0.0` against changelog conventions: allowed subsection headings, two-space line breaks on headline bullets, no JIRA IDs in entry text. - Diff the `10.1.0` entries and headings against `release/therock-10.1`. - No GPU run or new unit test: no runtime code changed. ## Test Result - Build: pass (`amdsmitst` links), CMake reports 27.2.0 - `pre-commit`: all hooks passed - Changelog conventions: clean for `10.2.0`, `10.1.0`, `10.0.0` - `10.1.0` vs `release/therock-10.1`: identical entries and headings --------- Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Motivation
On systems where some fabric files (vpod_active_accels, local_accels) are legitimately empty, this caused UNEXPECTED_DATA returns instead of SUCCESS, breaking the IfoeFunctionalReadOnly.TestFabricRead test.
Technical Details
Changed the return logic to match the API contract: return SUCCESS when any files have data, NO_DATA when none do.
This will also display fabric CLI output with available data.
Also fixed typo in comment ("can read" → "cannot read").
Issue Tracking
JIRA ID: ROCM-25770
Test Plan
sudo ./amdsmitst --gtest_filter=IfoeFunctionalReadOnly.TestFabricRead
sudo amd-smi fabric
Test Result
Passed, attached logs to ticket.
Submission Checklist