Page MenuHomeFreeBSD

arm64: Add RSI detection for CCA
ClosedPublic

Authored by sarah.walker2_arm.com on Thu, Apr 23, 10:29 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 14, 3:57 AM
Unknown Object (File)
Wed, May 13, 9:32 PM
Unknown Object (File)
Wed, May 13, 1:10 AM
Unknown Object (File)
Tue, May 12, 9:27 AM
Unknown Object (File)
Mon, May 11, 11:44 AM
Unknown Object (File)
Mon, May 11, 4:23 AM
Unknown Object (File)
Mon, May 11, 1:58 AM
Unknown Object (File)
Sun, May 10, 9:59 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 Not Applicable
Unit
Tests Not Applicable

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
51–52

And again below

56

I think this can use arm_smccc_invoke_smc to remove the 0 arguments

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