Skip to content

fix(gic): allocate a separate ITS ITT per DeviceID - #620

Merged
chetan-rathore merged 1 commit into
ARM-software:mainfrom
rajatgoyal47:main
Oct 8, 2026
Merged

chetan-rathore merged 1 commit into
ARM-software:mainfrom
rajatgoyal47:main

Conversation

@rajatgoyal47

Copy link
Copy Markdown
Collaborator

Maintain ITT state for each ITS and DeviceID pair so different devices cannot share EventID entries.

Reuse an existing ITT for subsequent mappings, size it from the MAPD Size and GITS_TYPER.ITTEntrySize fields, and unmap the device only after its final EventID is discarded.

Handle allocation failures, validate EventID bounds, and clean the ITT before publishing it to the ITS.

Change-Id: I7f6c643293a429772e9105db46710c4c41876732

Maintain ITT state for each ITS and DeviceID pair so different devices cannot share EventID entries.

Reuse an existing ITT for subsequent mappings, size it from the MAPD Size and GITS_TYPER.ITTEntrySize fields, and unmap the device only after its final EventID is discarded.

Handle allocation failures, validate EventID bounds, and clean the ITT before publishing it to the ITS.

Change-Id: I7f6c643293a429772e9105db46710c4c41876732
Signed-off-by: Rajat Goyal <rajat.goyal@arm.com>
@chetan-rathore
chetan-rathore merged commit f558dfd into ARM-software:main Oct 8, 2026
29 checks passed
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.

2 participants