Page MenuHomeFreeBSD

arm64: Add RSI detection for CCA
ClosedPublic

Authored by sarah.walker2_arm.com on Apr 23 2026, 10:29 AM.
Tags
None
Referenced Files
F163079316: D56598.id.diff
Sun, Jul 19, 9:50 PM
Unknown Object (File)
Wed, Jul 15, 7:19 AM
Unknown Object (File)
Wed, Jul 15, 7:19 AM
Unknown Object (File)
Tue, Jul 14, 1:33 AM
Unknown Object (File)
Sun, Jul 12, 3:49 AM
Unknown Object (File)
Mon, Jun 29, 3:51 PM
Unknown Object (File)
Sat, Jun 27, 3:28 PM
Unknown Object (File)
Thu, Jun 25, 10:57 AM
Subscribers

Details

Summary

Detect the presence of the Realm Services Interface (RSI). This detection is
performed early in bootup; PSCI initialisation has been moved to initarm() to
faciliate this.

Sponsored by: Arm Ltd

Diff Detail

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

Event Timeline

sys/arm64/arm64/rsi.c
45–53

Are these are needed?

sys/dev/psci/psci.h
49

This is defined on both arm and arm64

Remove unnecessary #includes, remove unncessary aarch64 guard

Just style

sys/arm64/arm64/rsi.c
50–51

And again below

55

I think this can use arm_smccc_invoke_smc to remove the 0 arguments

57–60
This revision is now accepted and ready to land.May 8 2026, 2:51 PM
This revision was automatically updated to reflect the committed changes.