History log of /freebsd-current/sys/dev/psci/smccc_arm64.S
Revision Date Author Comments
# 2790ff21 16-May-2024 Andrew Turner <andrew@FreeBSD.org>

dev/psci: Fix a function name

dd a missing underscore to arm_smccc_1_2_* to fix the GCC build.

Sponsored by: Arm Ltd


# 685dc743 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 6cc52efa 01-Feb-2023 John Baldwin <jhb@FreeBSD.org>

arm_smcc_1_2_*: Don't trash SP and X19 if no return value structure.

Jumping direct to ret was not restoring the saved value of x19 and was
also not adjusting sp to discard the two saved registers.

Reviewed by: andrew
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D37922


# 7a58bf04 26-Sep-2022 Wei Hu <whu@FreeBSD.org>

arm64: Enabling new hypercalls using HvCallSetVpRegisters and HvCallGetVpRegisters

Enabling HvCallSetVpRegisters and HvCallGetVpRegisters for hypercalls to
read and write to specific MSRs. This is required for implementing wrmsr
and rdmsr, which is required for Hyper-V vmbus driver for ARM64.

Also we need to use arm smccc hvc 1.2 version as we need to access
registers beyond X0-X3 for HvCallGetVpRegisters. Currently scoping
it only for Hyper-V.

Reviewed by: lwhsu, andrew, whu
Tested by: Souradeep Chakrabarti <schakrabarti@microsoft.com>
Signed-off-by: Souradeep Chakrabarti <schakrabarti@microsoft.com>
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D36256


# 48a7e53d 22-Aug-2022 Andrew Turner <andrew@FreeBSD.org>

Merge the common parts of the SMCCC handlers

To simplify adding new handlers merge the common parts of the functions
used to call into the arm SMCCC firmware.

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D36297


# 7722d8c7 13-Sep-2019 Ruslan Bukin <br@FreeBSD.org>

Add generic arm/arm64 secure-monitor SMCCC interface and switch
PSCI code to use it.

This interface will also be used by Intel Stratix 10 platform.

This was not tested on arm due to lack of PSCI-enabled arm hardware
lying around.

Reviewed by: andrew
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D21439