Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Jan 2022 01:29:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        amd64@FreeBSD.org
Subject:   [Bug 209821] UEFI - installation media hangs when booting on ASUS P6P67 DELUXE
Message-ID:  <bug-209821-17361-ScNCAoIrHH@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-209821-17361@https.bugs.freebsd.org/bugzilla/>
References:  <bug-209821-17361@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209821

--- Comment #73 from commit-hook@FreeBSD.org ---
A commit in branch stable/12 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3Df131d68e21fc360f5c8e63377f25cf607=
06d9afa

commit f131d68e21fc360f5c8e63377f25cf60706d9afa
Author:     David Sebek <dasebek@gmail.com>
AuthorDate: 2022-01-07 20:18:49 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-01-09 01:28:01 +0000

    efi: loader: Inline copy_finish function in amd64 trampoline

    Instead of calling the efi_copy_finish function from amd64_tramp,
    include the copy instructions in the trampoline code itself.
    This avoids boot hangs and restarts in the cases when
    the efi_copy_finish code happens to be located at a memory
    location that is overwritten during the copy process.

    This is a direct commit to stable/12 since no-copy loader mode requires
    the kernel update not suitable for the branch.

    PR:     209821

 stand/efi/loader/arch/amd64/amd64_tramp.S   | 59 +++++++++++++++++++------=
----
 stand/efi/loader/arch/amd64/elf64_freebsd.c | 18 +++++----
 stand/efi/loader/copy.c                     |  8 ++++
 stand/efi/loader/loader_efi.h               |  1 +
 4 files changed, 60 insertions(+), 26 deletions(-)

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209821-17361-ScNCAoIrHH>