Page MenuHomeFreeBSD

Read the CPUID from the gic
ClosedPublic

Authored by andrew on Mar 22 2016, 6:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jul 28, 12:09 PM
Unknown Object (File)
Mon, Jul 14, 8:08 AM
Unknown Object (File)
Mon, Jul 7, 9:29 AM
Unknown Object (File)
Jun 30 2025, 5:34 PM
Unknown Object (File)
Jun 16 2025, 6:38 PM
Unknown Object (File)
Jun 16 2025, 1:34 PM
Unknown Object (File)
Jun 16 2025, 11:12 AM
Unknown Object (File)
Jun 15 2025, 2:15 PM
Subscribers

Details

Summary

On some hardware we need to read the CPU interface ID. This is because
not all SoCs boot from CPU0 as the GIC sees the world.

To work around this it we can ask the ID by reading any of
GICD_ITARGETSR0 to GICD_ITARGETSR7. These are defined to return the
mask for the current CPU.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

andrew retitled this revision from to Read the CPUID from the gic.
andrew updated this object.
andrew edited the test plan for this revision. (Show Details)
andrew added a reviewer: ARM.
andrew added a subscriber: emaste.
This revision was automatically updated to reflect the committed changes.