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
F107165462: D41916.diff
Sat, Jan 11, 3:11 AM
F107162468: D41916.diff
Sat, Jan 11, 2:14 AM
Unknown Object (File)
Nov 21 2024, 8:53 AM
Unknown Object (File)
Nov 20 2024, 9:04 AM
Unknown Object (File)
Nov 14 2024, 1:50 AM
Unknown Object (File)
Nov 6 2024, 3:44 PM
Unknown Object (File)
Nov 6 2024, 3:44 PM
Unknown Object (File)
Nov 6 2024, 3:40 PM
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 53644
Build 50535: 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