Uio update 20260827 - #119
Open
bentheredonethat wants to merge 3 commits into
Open
Conversation
Open the Linux irq_shmem_demo host path on the libmetal UIO bus using stable logical names exposed through /sys/class/uio/uioX/name. Read the host IPI remote kick bit from the backing device-tree node through libmetal,uio-ipi-bitmask, and derive descriptor and payload sizes from the opened IO regions so the host demo no longer depends on generated device names or carveout size macros. Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
Remove amd_linux_userspace host-side config header generation now that the Linux demo opens fixed logical UIO devices and derives the remaining runtime values directly from libmetal IO regions and the backing device tree. Drop config.h.in and the configure-time CMake path, and update the Linux host README to document the required UIO logical names, the libmetal,ipi-remote-mask property, and the direct run flow. Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
Allow the Linux host irq_shmem_demo to override the default logical UIO names and the IPI remote-mask property from the command line while keeping the stable libmetal defaults. Plumb a small platform options struct through platform_init(), parse long-form host arguments in main(), and document the override flow in the host README.
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.
pivot Libmetal Linux demo to use new UIO device discovery