Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[topgen] Generate files for all address spaces #25894

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

a-will
Copy link
Contributor

@a-will a-will commented Jan 16, 2025

Individually generate C and Rust collateral for all address spaces

Fix up alert and irq domains to enable generating collateral where the
alerts and irqs don't necessarily generate from devices in the same
address space as the CPU. Darjeeling has bus bridges that make servicing
those interrupts possible (indirect reachability to the IP).

The autogenerated tests will surely be bonkers, but that is to be fixed
up later.

@a-will a-will force-pushed the addr-space-output-redo branch from fb78b14 to 062ed30 Compare January 16, 2025 15:28
@a-will a-will changed the title WIP Start handling indirectly reachable IPs on same alert / irq domains [topgen] Generate files for all address spaces Jan 16, 2025
@a-will a-will force-pushed the addr-space-output-redo branch 2 times, most recently from a7dae8e to 6bcfc4a Compare January 16, 2025 16:36
@a-will
Copy link
Contributor Author

a-will commented Jan 16, 2025

This PR reworks #23122 a bit and adds comments that explain what the functions are trying to do and where there are limitations.

Individually generate C and Rust collateral for all address spaces

Fix up alert and irq domains to enable generating collateral where the
alerts and irqs don't necessarily generate from devices in the same
address space as the CPU. Darjeeling has bus bridges that make servicing
those interrupts possible (indirect reachability to the IP).

The autogenerated tests will surely be bonkers, but that is to be fixed
up later.

Co-authored-by: Robert Schilling <[email protected]>
Signed-off-by: Alexander Williams <[email protected]>
@a-will a-will force-pushed the addr-space-output-redo branch from 6bcfc4a to aaa22be Compare January 16, 2025 17:26
@a-will a-will marked this pull request as ready for review January 16, 2025 17:27
@a-will a-will requested review from msfschaffner and a team as code owners January 16, 2025 17:27
@a-will a-will requested review from cfrantz, pamaury, Razer6, matutem and qmn and removed request for a team January 16, 2025 17:27
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.

1 participant