SMCCC for aarch64

26 views
Skip to first unread message

Robin Kim

unread,
Jul 3, 2019, 9:05:08 AM7/3/19
to Hafnium
I wonder SMCCC for aarch64.

When I look at the include/uapi/linux/psci.h, the base for aarch64 is PSCI_0_2_FN64_BASE which has PSCI_0_2_FN_BASE + PSCI_0_2_64BIT (0xC4000000)
hafnium looks has aarch32 in func identifier.

for example,

0x83000000-0x8300FFFF : SMC32: OEM Service Calls
0x84000000-0x8400FFFF : SMC32: Standard Service Calls

0xC3000000-0xC300FFFF : SMC64: OEM Service Calls
0xC4000000-0xC400FFFF : SMC64: Standard Service Calls

Andrew Scull

unread,
Jul 3, 2019, 10:38:49 AM7/3/19
to Robin Kim, Hafnium
The SMCCC_CONVENTION_MASK is used to toggle between 32 and 64-bit mode. Looks like both versions are handled today.

--
You received this message because you are subscribed to the Google Groups "Hafnium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hafnium-discu...@googlegroups.com.
To post to this group, send email to hafnium...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/hafnium-discuss/a05a4b45-2f1d-4444-aa83-d40629b7e611%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages