#
c2e0d56f |
| 04-Jun-2024 |
Andrew Turner <andrew@FreeBSD.org> |
arm64: Support BTI checking in most of the kernel
LLD has the -zbti-report=error argument to check if the BTI note is present when linking. To allow for this to be used when linking the kernel and m
arm64: Support BTI checking in most of the kernel
LLD has the -zbti-report=error argument to check if the BTI note is present when linking. To allow for this to be used when linking the kernel and modules: - Add the BTI note to the remaining assembly files - Mark ptrauth.c as protected by BTI - Disable -zbti-report for vmm hypervisor switching code as it's not used there.
The linux64 module doesn't build with the flag as it includes vdso code that doesn't include the note.
Reviewed by: imp, kib, emaste Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D45466
show more ...
|
Revision tags: release/14.1.0 |
|
#
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
|
Revision tags: release/13.3.0, release/14.0.0 |
|
#
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 |
|
#
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.
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
show more ...
|
Revision tags: release/12.4.0 |
|
#
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 r
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
show more ...
|
#
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 D
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
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 |
|
#
61c1328e |
| 13-Sep-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r352105 through r352307.
|
#
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-en
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
show more ...
|