| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
PSCI: Don't take missing implementation of psci get_version() as fatal.
Minimalistic PSCI implementation in U-Boot doesn't implement get_version()
method for some SoC. In this case, use PSCI version declared by 'psci' node
in DT as fallback.
Notes:
svn path=/stable/12/; revision=350824
|
|
|
|
|
|
|
|
| |
Looks good from: andrew
Sponsored by: Rubicon Communications, LLC (Netgate)
Notes:
svn path=/head/; revision=337752
|
|
|
|
|
|
|
|
|
|
|
| |
not include the needed headers to get the bool definition.
Reported by: manu
Pointy hat to: andrew
Sponsored by: DARPA, AFRL
Notes:
svn path=/head/; revision=336971
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=336967
|
|
|
|
|
|
|
|
| |
Add a \n at the end of the printf if no PSCI function was found otherwise
it mess up the console log.
Notes:
svn path=/head/; revision=336037
|
|
|
|
|
|
|
| |
Sponsored by: DARPA, AFRL
Notes:
svn path=/head/; revision=335439
|
|
|
|
|
|
|
|
|
| |
version detection.
Sponsored by: DARPA, AFRL
Notes:
svn path=/head/; revision=335438
|
|
|
|
|
|
|
|
|
| |
While here add a comment with the document the function IDs come from.
Sponsored by: DARPA, AFRL
Notes:
svn path=/head/; revision=335063
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=335062
|
|
|
|
|
|
|
|
|
| |
communicate with the firmware.
Sponsored by: DARPA, AFRL
Notes:
svn path=/head/; revision=335061
|
|
|
|
|
|
|
|
|
| |
check for this, returning an error if the version is too old.
Sponsored by: DARPA, AFRL
Notes:
svn path=/head/; revision=335056
|
|
|
|
|
|
|
| |
Sponsored by: DARPA, AFRL
Notes:
svn path=/head/; revision=335055
|
|
|
|
|
|
|
|
|
| |
to query if a given function is implemented and its features.
Sponsored by: DARPA, AFRL
Notes:
svn path=/head/; revision=335054
|
|
|
|
|
|
|
|
|
|
|
| |
This is in preperation for supporting newer smccc functions that also use
the same call method.
Reviewed by: manu
Differential Revision: https://reviews.freebsd.org/D15745
Notes:
svn path=/head/; revision=334999
|
|
|
|
|
|
|
|
|
|
| |
outside the PSCI driver.
MFC after: 1 week
Sponsored by: DARPA, AFRL
Notes:
svn path=/head/; revision=327728
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Prior to r324754 we treated PSCI 0.2 and 1.0 as identical, and r324754
extended that to include all PSCI 1.x revisions. Change the string
emitted under bootverbose to reference '0.2 compatible' to avoid
confusion when the system includes a later PSCI rev.
Discussed with: andrew
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=324758
|
|
|
|
|
|
|
|
|
|
|
| |
reports version 1.1 so the check was failing. As thjis is a minor change
from 1.0, and future 1.x revisions are also expected to be backwards
compatible just ignore the minor revision in the init handler.
Sponsored by: DARPA, AFRL
Notes:
svn path=/head/; revision=324754
|
|
|
|
|
|
|
|
|
|
| |
specification we already support, with the only changes in functions we
don't currently use.
Sponsored by: DARPA, AFRL
Notes:
svn path=/head/; revision=324368
|
|
|
|
|
|
|
|
|
|
|
| |
Clang 4.0 accepts the smc instruction with or without specifying
.arch_extension sec, but Clang 5.0 produces an error without it.
MFC after: 3 weeks
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=320065
|
|
|
|
|
|
|
|
|
|
|
|
| |
kernel calls this directly so the event handler is not called, meaning
the computer fails to reboot.
Tested by: cognet
MFC after: 1 week
Sponsored by: DARPA, AFRL
Notes:
svn path=/head/; revision=317361
|
|
|
|
|
|
|
|
|
|
|
| |
Table to find if the hardware supports PSCI, and if so what method the
kernel should use to interact with it.
Obtained from: ABT Systems Ltd
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=309674
|
|
|
|
|
|
|
|
|
| |
impossible as the PSCI firmware is missing.
Sponsored by: ABT Systmes Ltd
Notes:
svn path=/head/; revision=307910
|
|
|
|
|
|
|
|
|
|
| |
can be seen as the same as 0.2. There are changes with the data passed to
CPU_SUSPEND, however we don't yet use this call.
Sponsored by: ABT Systems Ltd
Notes:
svn path=/head/; revision=286630
|
|
|
|
|
|
|
|
| |
started. This allows this functions to be used with the regular ARM SMP
initialisation sequence.
Notes:
svn path=/head/; revision=283363
|
|
|
|
|
|
|
|
|
| |
in qemu.
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=281497
|
|
handles versions 0.1 and 0.2 of the standard on 32-bit ARM.
With this driver we can shutdown in QEMU. Further work is needed to
turn secondary cores on on boot and to support later revisions of the
specification.
Submitted by: Robin Randhawa <Robin.Randhawa at ARM.com>
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/head/; revision=281466
|