Page MenuHomeFreeBSD

amr64: Move CPU feature & errata setup earlier
ClosedPublic

Authored by andrew on Thu, May 15, 5:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jun 4, 7:22 AM
Unknown Object (File)
Wed, May 28, 3:25 PM
Unknown Object (File)
Mon, May 26, 5:04 PM
Unknown Object (File)
Tue, May 20, 9:31 AM
Subscribers

Details

Summary

To allow for the state of some errata to be detected we need devices,
e.g. to call into the SMCCC firmware. Because of this we need to check
this after devices drivers are ready.

As the presence of this errata may require us to mask out some fields
from the ID register views, and these register views are used to build
the userspace hwcap values and used in late kernel ifunc resolvers we
need to ensure they have run by a known point.

Add a synchronisation point for APs at SI_SUB_CONFIGURE,
SI_ORDER_MIDDLE + 1. This is early enough that we can move setting the
hwcap values just after this, and late enough for devices to be present.

Sponsored by: Arm Ltd

Diff Detail

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

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Wed, May 28, 1:35 PM
This revision was automatically updated to reflect the committed changes.