Skip to content

Conversation

@christian-herber-nxp
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@mark-honman mark-honman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The analysis of the AIA spec issue #620 has opened up some more possibilities, so I'm not sure this is the best approach.

I don't care very much about eidelivery - AIA indicates it's more for de-featuring a sophisticated AIA system than anything else.

We do need to explore the possibility of keeping eithreshold instead of creating a new ithreshold CSR. Will write more on #620.

Copy link
Collaborator

@mark-honman mark-honman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty much good to go, but ithreshold needs to go into smidctrl/ssidctrl

Register {mithreshold} implements exactly IPRIOLEN bits.

In contrast to existing threshold mechanisms in AIA,
this CSR applies to major and minor interrupt identities.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since eithreshold is not implemented, xithreshold should be included in sxidctrl, after xtopei?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did think about that. I am not aware of a good use case for thresholds without preemption.
Therefore, I believe it is fitting the preemption extension well.
Also if you wanted to use the preemption extension e.g. with an IMSIC, it would be good that this global threshold is in the preemption extension.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AIA provides threholds but not preemption, so I hope there is a use-case!

But your point about emabling preemption with an IMSIC is valid - the preemption extension should not be tied to a specific interrupt controller.

Copy link
Collaborator

@mark-honman mark-honman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks you for taking the time to thrash out the possibilities.

@christian-herber-nxp christian-herber-nxp merged commit 969c977 into master Dec 10, 2025
1 check passed
@christian-herber-nxp christian-herber-nxp deleted the 620-clarify-interaction-of-xithreshold-and-interrupt-file-eithreshold branch December 10, 2025 16:53
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.

Clarify interaction of xithreshold and interrupt file eithreshold.

3 participants