freebsd-src/sys/arm64
Andrew Turner f29942229d Read the arm64 far early in el0 exceptions
When handling userspace exceptions on arm64 we need to dereference the
current thread pointer. If this is being promoted/demoted there is a
small window where it will cause another exception to be hit. As this
second exception will set the fault address register we will read the
incorrect value in the userspace exception handler.

Fix this be always reading the fault address before dereferencing the
current thread pointer.

Reported by:	olivier@
Reviewed by:	markj
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D38196
2023-02-02 16:43:15 +00:00
..
acpica acpica: Merge ACPICA 20221020 2022-10-27 22:04:32 -04:00
arm64 Read the arm64 far early in el0 exceptions 2023-02-02 16:43:15 +00:00
broadcom Mechanically convert genet(4) to IfAPI 2023-01-31 16:26:34 -05:00
cavium Add fdt to name of a fdt specific function 2022-05-23 15:24:35 +01:00
conf netlink: add NETLINK to GENERIC. 2023-01-31 14:22:11 +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 kstack_contains(): account for struct pcb on stack 2023-02-02 00:59:27 +02: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 linux(4): Deduplicate linux_trans_osrel(). 2023-02-02 17:58:07 +03: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