Repository navigation
schemas: cpu-map: Add die topology level - #208
Draft
TroyMitchell911 wants to merge 1 commit into
Draft
TroyMitchell911 wants to merge 1 commit into
TroyMitchell911 wants to merge 1 commit into
Conversation
The CPU map can represent sockets and clusters but has no level for multiple dies in one socket. Firmware must therefore flatten all clusters into the socket or describe each die as a socket, losing part of the physical hierarchy. Add optional dieN nodes between the socket and cluster levels. Allow a single-socket system to omit the socket node, and continue accepting clusters directly below cpu-map or a socket for compatibility with existing descriptions. Keep die topology independent of NUMA node association. Signed-off-by: Troy Mitchell <troy.mitchell@linux.dev>
|
I do wonder why do you need the die information? I could not find the reason here or in https://lore.kernel.org/all/20260920-riscv-die-topology-rfc-v1-0-071c0bf61d5f@linux.dev/, except statement that die topology has to be flatten. OK, but why would that be a problem? Both here and in patchset you should explain what sort of problem are you solving. |
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.
The CPU map has no explicit die level, so systems with multiple dies in one socket must flatten their clusters or describe each die as a separate socket.
Add optional
dieNnodes between socket and cluster. A single-socket system may omitsocket0. Existing descriptions with clusters directly belowcpu-mapor a socket remain valid, and die topology is independent of NUMA node association.This is the companion binding proposal for the Linux RFC:
https://lore.kernel.org/all/20260920-riscv-die-topology-rfc-v1-0-071c0bf61d5f@linux.dev/
Kept as a draft for review alongside the kernel implementation.
Validation on the rebased branch: