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, Nov 11, 6:09 AM
Unknown Object (File)
Tue, Nov 5, 3:56 AM
Unknown Object (File)
Oct 9 2024, 4:29 AM
Unknown Object (File)
Oct 9 2024, 4:10 AM
Unknown Object (File)
Sep 29 2024, 6:10 AM
Unknown Object (File)
Sep 15 2024, 7:18 PM
Unknown Object (File)
Sep 15 2024, 4:43 AM
Unknown Object (File)
Sep 7 2024, 4:50 AM
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.