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

scripts: build: gen_isr: irq more than 1 byte per level #61048

Closed
wants to merge 1 commit into from

Conversation

jgl-meta
Copy link
Collaborator

@jgl-meta jgl-meta commented Aug 1, 2023

In some architectures such as RISC-V it can be the case that there are more than 255 interrupts per level. Additionally, this short comming is not completely solved by simply adding additional levels or aggrigators. This diff adds the ability to determine how many bits are needed per level based on the MAX_IRQ_PER_AGGRIGATOR Kconfig variable.

@jgl-meta jgl-meta requested a review from cfriedt August 1, 2023 20:44
@jgl-meta jgl-meta self-assigned this Aug 1, 2023
In some architectures such as RISC-V it can be the case that
there are more than 255 interrupts per level. Additionally,
this short comming is not completely solved by simply adding
additional levels or aggrigators. This diff adds the ability
to determine how many bits are needed per level based on the
MAX_IRQ_PER_AGGRIGATOR Kconfig variable.

Signed-off-by: Joshua Lilly <jgl@meta.com>
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