freebsd-dev/sys/arm64
Andrew Turner 95dd6974b5 Always read the VFP regs in the arm64 fill_fpregs
The PCB_FP_STARTED is used to indicate that the current VFP context
has been used since either 1. the start of the thread, or 2. exiting
a kernel FP context.

When case 2 was added to the kernel this could cause incorrect results
to be returned when a thread exits the kernel FP context and fill_fpregs
is called before it has restored the VFP state, e.g. by trappin on a
userspace VFP instruction.

In both of the cases the base save area is still valid so reduce the
use of the PCB_FP_STARTED flag check to help decide if we need to
store the current threads VFP state.

Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D37994
2023-01-18 09:31:35 +00:00
..
acpica acpica: Merge ACPICA 20221020 2022-10-27 22:04:32 -04:00
arm64 Always read the VFP regs in the arm64 fill_fpregs 2023-01-18 09:31:35 +00:00
broadcom genet: add another case where headers need pullup 2022-10-29 07:52:57 -05:00
cavium Add fdt to name of a fdt specific function 2022-05-23 15:24:35 +01:00
conf Add Combo PHY, RK817, Syr827, tcs4525 pmic devices to Rockchip specific config. 2023-01-08 03:07:18 +00:00
coresight arm64: coresight: fix the build without FDT 2022-09-29 14:33:33 -05:00
freescale/imx arm/arm64 freescale: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 14:26:44 -07:00
include Fix the SPDX-License-Identifier in CMN-600 files 2022-12-22 10:36:18 +00:00
intel arm64 intel: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 14:26:45 -07:00
iommu smmu: fix FDT and !FDT builds. 2022-12-21 15:53:09 +00:00
linux sys: use .S for assembly language files that use the preprocessor 2022-11-02 10:29:00 -04:00
nvidia/tegra210 sys: Nuke double-semicolons 2022-11-02 09:34:20 -06:00
qoriq Include sys/malloc.h directly in the qoriq clock 2022-11-03 09:45:47 +00:00
qualcomm arm/arm64 qualcomm: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 14:26:45 -07:00
rockchip Add delay to have things settle. 2023-01-07 07:42:44 +00:00