git: 64fb7033d752 - stable/14 - amd64: print 'EFI RT fault' line before fault CPU state
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Oct 2025 03:08:43 UTC
The branch stable/14 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=64fb7033d752830458d9d401c5b03d03d4aac204
commit 64fb7033d752830458d9d401c5b03d03d4aac204
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-10-24 09:39:13 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-10-26 17:37:07 +0000
amd64: print 'EFI RT fault' line before fault CPU state
(cherry picked from commit cfb28c5ea0bce2ce95b14076bc63546049f0c16c)
---
sys/amd64/amd64/trap.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c
index 2c3b8f0b4dd8..bf0719f501ef 100644
--- a/sys/amd64/amd64/trap.c
+++ b/sys/amd64/amd64/trap.c
@@ -460,9 +460,9 @@ trap(struct trapframe *frame)
if ((print_efirt_faults == 1 && cnt == 0) ||
print_efirt_faults == 2) {
- trap_diag(frame, 0);
printf("EFI RT fault %s\n",
traptype_to_msg(type));
+ trap_diag(frame, 0);
}
frame->tf_rip = (long)curpcb->pcb_onfault;
return;
@@ -899,8 +899,8 @@ after_vmfault:
if ((print_efirt_faults == 1 && cnt == 0) ||
print_efirt_faults == 2) {
- trap_diag(frame, eva);
printf("EFI RT page fault\n");
+ trap_diag(frame, eva);
}
}
frame->tf_rip = (long)curpcb->pcb_onfault;