Page MenuHomeFreeBSD

arm64: Update GICv3/4 register macros
Needs ReviewPublic

Authored by andrew on Tue, Aug 25, 2:38 PM.
Tags
None
Referenced Files
F171169983: D59182.id185036.diff
Wed, Sep 9, 5:13 AM
Unknown Object (File)
Tue, Sep 8, 1:18 PM
Unknown Object (File)
Tue, Sep 8, 1:33 AM
Unknown Object (File)
Mon, Sep 7, 1:36 PM
Unknown Object (File)
Mon, Sep 7, 12:25 PM
Unknown Object (File)
Mon, Sep 7, 10:27 AM
Unknown Object (File)
Sun, Sep 6, 4:06 AM
Unknown Object (File)
Sat, Sep 5, 1:02 PM

Details

Reviewers
manu
Group Reviewers
arm64
Summary

Use the field names found in the documentation and drop _EL1 where
appropriate. This will reduce the diff when these are generated from
the BSD licensed JSON register files.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 76155
Build 73038: arc lint + arc unit

Event Timeline

kajetan.puchalski_arm.com added inline comments.
sys/arm64/include/armreg.h
819

Are we sure about dropping _EL1_ from here? EOIMode as a field only exists in ICC_CTLR_EL1 as far as I can tell.

822

Similarly, we only have ICC_IAR0_EL1 and ICC_IAR1_EL1. If the special INTID 1023 is shared between Group 0 and Group 1 interrupts, would this not be more aptly named something like ICC_IAR_EL1_SPUR?

824–828

Both of these registers only have an EL1 variant so same as above

859–860

This field exists in _EL1, _EL2 and _EL3 so the change makes sense, but maybe it'd be good to update the comment as well?