The branch stable/14 has been updated by kib:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=011c1f2f06bb434aa6e8064158f5c17fd8bb2139

commit 011c1f2f06bb434aa6e8064158f5c17fd8bb2139
Author:     Konstantin Belousov <k...@freebsd.org>
AuthorDate: 2025-05-28 11:58:48 +0000
Commit:     Konstantin Belousov <k...@freebsd.org>
CommitDate: 2025-06-12 18:02:50 +0000

    amd64: revert unintended changes in ia32_exception.S
    
    (cherry picked from commit 71186b6eaa070dda5229af374b584e5f65ce5fb3)
---
 sys/amd64/ia32/ia32_exception.S | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys/amd64/ia32/ia32_exception.S b/sys/amd64/ia32/ia32_exception.S
index ef1a2c59a0af..42d0ff6c638b 100644
--- a/sys/amd64/ia32/ia32_exception.S
+++ b/sys/amd64/ia32/ia32_exception.S
@@ -54,10 +54,10 @@ int0x80_syscall_common:
        movq    %rax,TF_RAX(%rsp)
        movq    %rdx,TF_RDX(%rsp)
        movq    %rcx,TF_RCX(%rsp)
-       movq    %r15,TF_R15(%rsp)
        call    handle_ibrs_entry
        sti
        movq    %rsi,TF_RSI(%rsp)
+       movq    %r8,TF_R8(%rsp)
        movq    %r9,TF_R9(%rsp)
        movq    %rbx,TF_RBX(%rsp)
        movq    %rbp,TF_RBP(%rsp)
@@ -66,6 +66,7 @@ int0x80_syscall_common:
        movq    %r12,TF_R12(%rsp)
        movq    %r13,TF_R13(%rsp)
        movq    %r14,TF_R14(%rsp)
+       movq    %r15,TF_R15(%rsp)
        movl    $TF_HASSEGS,TF_FLAGS(%rsp)
        pushfq
        andq    $~(PSL_D | PSL_AC),(%rsp)

Reply via email to