History log of /freebsd/sys/dev/psci/smccc.c (Results 1 – 13 of 13)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 18250ec6 06-Dec-2024 John Baldwin <jhb@FreeBSD.org>

Replace calls to bus_generic_attach with bus_attach_children

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D47675


Revision tags: release/14.2.0
# 3e19edca 14-Oct-2024 Andrew Turner <andrew@FreeBSD.org>

dev/psci: Make SMCCC into a real driver

This will be used by other drivers that manage SMCCC firmware services
to use as an attachment point.

Sponsored by: Arm Ltd
Differential Revision: https://re

dev/psci: Make SMCCC into a real driver

This will be used by other drivers that manage SMCCC firmware services
to use as an attachment point.

Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D46988

show more ...


# b9cd72b0 14-Oct-2024 Andrew Turner <andrew@FreeBSD.org>

sys: Use the new arm_smccc_invoke macros

Simplify the calls into the SMCCC firmware with the new
arm_smccc_invoke* macros.

Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D

sys: Use the new arm_smccc_invoke macros

Simplify the calls into the SMCCC firmware with the new
arm_smccc_invoke* macros.

Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D46987

show more ...


Revision tags: release/13.4.0, release/14.1.0, release/13.3.0
# fdafd315 24-Nov-2023 Warner Losh <imp@FreeBSD.org>

sys: Automated cleanup of cdefs and other formatting

Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.

Remov

sys: Automated cleanup of cdefs and other formatting

Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.

Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/
Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/
Remove /\n+#if.*\n#endif.*\n+/
Remove /^#if.*\n#endif.*\n/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/

Sponsored by: Netflix

show more ...


Revision tags: release/14.0.0
# 8a723e2b 19-Sep-2023 Andrew Turner <andrew@FreeBSD.org>

Check SMCCC is ready before using

Add asserts to check SMCCC has been initialised before callers try to
use it.

Reviewed by: emaste
Sponsored by: Arm Ltd
Differential Revision: https://reviews.free

Check SMCCC is ready before using

Add asserts to check SMCCC has been initialised before callers try to
use it.

Reviewed by: emaste
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D41917

show more ...


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

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

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


Revision tags: release/13.2.0, release/12.4.0
# 0600af1f 04-Jun-2022 Andrew Turner <andrew@FreeBSD.org>

Make SMCCC usable by device drivers

To allow device drivers to call into SMCCC we need to initialise it
earlier. As it depends on PSCI, and that is detected via ACPI or FDT
move the call to smccc_in

Make SMCCC usable by device drivers

To allow device drivers to call into SMCCC we need to initialise it
earlier. As it depends on PSCI, and that is detected via ACPI or FDT
move the call to smccc_init to the PSCI driver.

Add a function for drivers to read the smccc version, or 0 if smccc
is not present.

show more ...


Revision tags: release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0
# 14b841d4 11-Aug-2018 Kyle Evans <kevans@FreeBSD.org>

MFH @ r337607, in preparation for boarding


# bbd7a929 04-Aug-2018 Dimitry Andric <dim@FreeBSD.org>

Merge ^/head r336870 through r337285, and resolve conflicts.


# 100a6d19 31-Jul-2018 Andrew Turner <andrew@FreeBSD.org>

Use int for the pcpu_ssbd argument. This is included from userland and may
not include the needed headers to get the bool definition.

Reported by: manu
Pointy hat to: andrew
Sponsored by: DARPA, AFRL


# 0594061e 31-Jul-2018 Andrew Turner <andrew@FreeBSD.org>

Implement the SSBD (CVE-2018-3639) workaround on arm64

This calls into the Arm Trusted Firmware to enable and disable the
workaround for the Speculative Store Bypass Disable (SSBD) issue, also
known

Implement the SSBD (CVE-2018-3639) workaround on arm64

This calls into the Arm Trusted Firmware to enable and disable the
workaround for the Speculative Store Bypass Disable (SSBD) issue, also
known as Spectre Variant 4.

As this may have a large performance overhead, and how exploitable SSBD is
is unknown we follow the Linux lead of allowing the administrator to select
between always on, always off, or only enabled in the kernel, with the
latter being the default.

PR: 228955
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D15819

show more ...


Revision tags: release/11.2.0
# 1d802c64 20-Jun-2018 Andrew Turner <andrew@FreeBSD.org>

Move the SMCCC SYSINIT later in the boot so the psci driver has attached.

Sponsored by: DARPA, AFRL


# f651b525 13-Jun-2018 Andrew Turner <andrew@FreeBSD.org>

Add support for the ARM SMC Calling Convention (SMCCC). This is a method
to call into the firmware in a similar way to the existing PSCI, and used
PSCI to detect when SMCCC is enabled.

There is a fu

Add support for the ARM SMC Calling Convention (SMCCC). This is a method
to call into the firmware in a similar way to the existing PSCI, and used
PSCI to detect when SMCCC is enabled.

There is a function ID space we can use. Currently we only support 3
functions in the ARM Architecture Calls region, however it is expected we
will expend these in the future.

Sponsored by: DARPA, AFRL

show more ...