Searched hist:f4036a92346e9f7c70a9db88352f172e198e3402 (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/arm64/include/ |
H A D | frame.h | diff f4036a92346e9f7c70a9db88352f172e198e3402 Thu Mar 02 15:15:54 CET 2023 Zachary Leaf <zachary.leaf@arm.com> arm64: add fault address to trapframe
It was previously possible for the fault address register to get clobbered before it was saved. This small window occurred when an additional exception was encountered inside the exception handler, overwriting the previous value.
Commit f29942229d24 ("Read the arm64 far early in el0 exceptions") patched this issue, but avoided changing the trapframe since this could be considered a KBI change in FreeBSD 13.
Revert the above fix and save the fault address in the trapframe instead. This saves the fault address even earlier in the exception handling process, and is a more robust and simple fix.
Reviewed by: andrew, jhb, jrtc27 Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D38984
|
/freebsd/sys/arm64/arm64/ |
H A D | genassym.c | diff f4036a92346e9f7c70a9db88352f172e198e3402 Thu Mar 02 15:15:54 CET 2023 Zachary Leaf <zachary.leaf@arm.com> arm64: add fault address to trapframe
It was previously possible for the fault address register to get clobbered before it was saved. This small window occurred when an additional exception was encountered inside the exception handler, overwriting the previous value.
Commit f29942229d24 ("Read the arm64 far early in el0 exceptions") patched this issue, but avoided changing the trapframe since this could be considered a KBI change in FreeBSD 13.
Revert the above fix and save the fault address in the trapframe instead. This saves the fault address even earlier in the exception handling process, and is a more robust and simple fix.
Reviewed by: andrew, jhb, jrtc27 Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D38984
|
H A D | exception.S | diff f4036a92346e9f7c70a9db88352f172e198e3402 Thu Mar 02 15:15:54 CET 2023 Zachary Leaf <zachary.leaf@arm.com> arm64: add fault address to trapframe
It was previously possible for the fault address register to get clobbered before it was saved. This small window occurred when an additional exception was encountered inside the exception handler, overwriting the previous value.
Commit f29942229d24 ("Read the arm64 far early in el0 exceptions") patched this issue, but avoided changing the trapframe since this could be considered a KBI change in FreeBSD 13.
Revert the above fix and save the fault address in the trapframe instead. This saves the fault address even earlier in the exception handling process, and is a more robust and simple fix.
Reviewed by: andrew, jhb, jrtc27 Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D38984
|
H A D | trap.c | diff f4036a92346e9f7c70a9db88352f172e198e3402 Thu Mar 02 15:15:54 CET 2023 Zachary Leaf <zachary.leaf@arm.com> arm64: add fault address to trapframe
It was previously possible for the fault address register to get clobbered before it was saved. This small window occurred when an additional exception was encountered inside the exception handler, overwriting the previous value.
Commit f29942229d24 ("Read the arm64 far early in el0 exceptions") patched this issue, but avoided changing the trapframe since this could be considered a KBI change in FreeBSD 13.
Revert the above fix and save the fault address in the trapframe instead. This saves the fault address even earlier in the exception handling process, and is a more robust and simple fix.
Reviewed by: andrew, jhb, jrtc27 Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D38984
|