From nobody Sun Jan 9 01:29:34 2022 X-Original-To: amd64@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C95E4193FC9B for ; Sun, 9 Jan 2022 01:29:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JWfWf2wWRz3N6h for ; Sun, 9 Jan 2022 01:29:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 230F5F20 for ; Sun, 9 Jan 2022 01:29:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2091TYsE005475 for ; Sun, 9 Jan 2022 01:29:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2091TYR0005474 for amd64@FreeBSD.org; Sun, 9 Jan 2022 01:29:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: amd64@FreeBSD.org Subject: [Bug 209821] UEFI - installation media hangs when booting on ASUS P6P67 DELUXE Date: Sun, 09 Jan 2022 01:29:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: uefi X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting FreeBSD to the AMD64 platform List-Archive: https://lists.freebsd.org/archives/freebsd-amd64 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-amd64@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641691774; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5qcVCbyBNtQ36IBdbHYhktLG+X0f13MegTR7Tnq2CXk=; b=urMJid2xqFLRNdd+qGSjwj/RPGx0MXWw9RuoL6pArEAde/olHEv0B/mFPaxAScciYt3uyQ LBrFh5+t1w7eW14wtRFCY+SIJaM0dKw2TKk1q2G4MLtQ57i0qC8v1uQ9er3hT+Pg+8Vhw6 FidAToYwWMNiqBvRfWUB7EgGazInG5ZkoDCzat5pPrhGaQdFW5/y7MEEj8+45bd3Nx0lUg PLV9intIGuqEufDPXyJjDK+YnNjF4/BvCiRA1LkxpHG/Tpv6rmHxqVdPveVHxAnWugoUlz nbrFwhApTtOFl3HiApc80YAk1IyinBRKTMB/MtJiXcSHTm0mB0eMZXJcej5zEA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641691774; a=rsa-sha256; cv=none; b=Yl8KiLWqah5pibvzKmlQAKYKq5TtiY2wZozqbYyepSuswtIX7YXCA0O+PEEwRT3gIElgVM yYpxMhIwpzosJ+Ur45OYnzTx9Bs/r51eiNruR5aqye7fQTDxZinlBzs4bAsxdqUC5hvJg1 KLH7lEPC1kEC/Rzdth8DVSXmROEMFDB2rtqlP0iu7TmKG8PYq794dZ7O4JrG4gKjmpKLa2 H5Ax1fbr5cS32Q64UhJDR1IbpkBpe1BxHQSTxKNfwGdoCSQTrWF4bOxEh8toTDjs+2n1L5 f9Ky41dkys142EfPHoYiogkNgrrDWE/l5jJuedHpiqAVNQq59I7ptBYISpqSiw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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 AuthorDate: 2022-01-07 20:18:49 +0000 Commit: Konstantin Belousov 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.=