Page MenuHomeFreeBSD

Add support for arm64 to the arm generic timer driver
ClosedPublic

Authored by andrew on Apr 2 2015, 1:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 20, 5:37 PM
Unknown Object (File)
Mar 16 2024, 2:03 AM
Unknown Object (File)
Mar 16 2024, 2:02 AM
Unknown Object (File)
Jan 8 2024, 9:34 PM
Unknown Object (File)
Jan 8 2024, 9:34 PM
Unknown Object (File)
Jan 8 2024, 9:13 PM
Unknown Object (File)
Jan 5 2024, 6:13 PM
Unknown Object (File)
Jan 4 2024, 11:05 PM
Subscribers

Details

Summary
  • Add macros to handle the differences in accessing these registers on arm and arm64
  • Use the fdt data to detect if we are on an ARMv7 or ARMv8
  • Use the virtual timer by default on arm64, we may not have access to the physical timer.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

andrew retitled this revision from to Add support for arm64 to the arm generic timer driver.
andrew updated this object.
andrew edited the test plan for this revision. (Show Details)
andrew added reviewers: emaste, imp.
sys/arm/arm/generic_timer.c
109 ↗(On Diff #4601)

Perhaps #else /* __aarch64__ */ just to make it clear where else this is used.

Add #else /* __aarch64__ */

emaste edited edge metadata.

looks good to me

This revision is now accepted and ready to land.Apr 2 2015, 3:22 PM
andrew updated this revision to Diff 4653.

Closed by commit rS281072 (authored by @andrew).