Page MenuHomeFreeBSD

arm64: Fix errata workarounds that depend on smccc
ClosedPublic

Authored by andrew on Sep 19 2023, 2:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 6, 3:44 PM
Unknown Object (File)
Wed, Nov 6, 3:44 PM
Unknown Object (File)
Wed, Nov 6, 3:40 PM
Unknown Object (File)
Wed, Nov 6, 3:35 PM
Unknown Object (File)
Tue, Nov 5, 3:13 AM
Unknown Object (File)
Oct 7 2024, 4:14 PM
Unknown Object (File)
Sep 29 2024, 3:12 AM
Unknown Object (File)
Sep 8 2024, 7:39 AM
Subscribers

Details

Summary

Some arm64 errata depend on calling into the firmware via the SMCCC
interface. This needs to happen after the psci driver has attached
as they share the interface.

Fix this by allowing the workarounds to mark when they depend on
device drivers attaching.

This is only an issue on CPU 0 as the workarounds are applied later
for the non-boot CPUs.

Sponsored by: Arm Ltd

Diff Detail

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

Event Timeline

emaste added inline comments.
sys/arm64/arm64/cpu_errata.c
198

This comment doesn't quite match?

This revision is now accepted and ready to land.Sep 20 2023, 11:41 AM