kerf: parse explicit-width CPU cells in DTS inputs - #11
Draft
nickolaev wants to merge 1 commit into
Draft
Conversation
nickolaev
force-pushed
the
sriov-vf-assignment
branch
3 times, most recently
from
July 30, 2026 22:05
d98d1e8 to
5104ec1
Compare
nickolaev
force-pushed
the
sriov-vf-assignment
branch
from
August 11, 2026 17:49
5104ec1 to
29e4f71
Compare
Contributor
|
Sorry for being late. This PR was for SR-IOV, hence I was waiting for the kernel part to settle down before reviewing this, as the interface could be changed during the review. But now since you changed it to CPU topology, it is coincidentally same with #12 . Please let me know what's your preference to move forward, I am happy to drop mine since it is not complete either. @nickolaev If you prefer to move forward with this one, please at least do a rebase. By the way: the memory allocation policy must be global, so can't be specified during every |
nickolaev
force-pushed
the
sriov-vf-assignment
branch
2 times, most recently
from
August 23, 2026 18:41
04cdf78 to
6008a70
Compare
The harness emits CPU lists in DTS source as explicit-width device-tree cells, for example cpus = /bits/ 64 <2 3 4>. The source parser only accepted the legacy unqualified <...> form, so valid harness baselines failed before reaching DTB parsing. Accept 32-bit and 64-bit explicit-width forms for the top-level /resources cpus property, and parse decimal or hexadecimal cell values with base detection. Signed-off-by: Nikolay Nikolaev <nicknickolaev@gmail.com>
nickolaev
force-pushed
the
sriov-vf-assignment
branch
from
August 23, 2026 18:45
6008a70 to
e209112
Compare
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.
Summary
Validation