Skip to content

Comments

libsel4vm: fix GIC_DIST_CTLR enable handling#109

Open
axel-h wants to merge 1 commit intoseL4:masterfrom
Hensoldt-Cyber:patch-axel-36
Open

libsel4vm: fix GIC_DIST_CTLR enable handling#109
axel-h wants to merge 1 commit intoseL4:masterfrom
Hensoldt-Cyber:patch-axel-36

Conversation

@axel-h
Copy link
Member

@axel-h axel-h commented Jun 2, 2023

We have seen that some VMs try to write 0x03 instead of 0x01. Support this case more gracefully and ensure that the GIC_DIST_CTLR_EN_GRP1 setting properly applied.

  • check the bit an not the value
  • ignore GIC_DIST_CTLR_EN_GRP1 and print a warning
  • print the value if unknown bits are set

Signed-off-by: Axel Heider <axel.heider@hensoldt.net>
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