From nobody Mon Sep 16 08:15:08 2024 X-Original-To: dev-commits-src-all@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 4X6d4s45jYz5WkK3; Mon, 16 Sep 2024 08:15:09 +0000 (UTC) (envelope-from git@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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X6d4s0ZTJz4RgL; Mon, 16 Sep 2024 08:15:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726474509; 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; bh=MetvNB9iMQ//vzbZz3N6crbFyjVf8I/kDVGsHQ5emIs=; b=VKNLBF3gxXrJpXKWrGdT1GeVx6g9fRwLsp9uujlM2HW1/2dVzGfxdA/fchrAS5YpOS1lvr T9WbzP5wi0nuoyEufm+XKdcWw+mMS1hAfH+zWqp58TX0g3wnfS0bjuxvJaCQbUZg+iTOZ1 8a2+u5PRz1Gr0MVUTIVn00hilPjdwKA7o52uaopUopI1BJb2otIlwluprVwwZnySKRgNMW iqroGfgDci4ifZzv9Zpjuk1fAHhN2NUEiXJ8h4J3J5EVLqoKbTQc+mSK8lqclQ1zHY9L3f ZF/ikH+c4fxYP22Un9yiOAqXdJNNn/cnyzhj9VSiKy0dMXcdVYLzUA3fPfRnlQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726474509; a=rsa-sha256; cv=none; b=Lq9U2hoELWyfnupPQllszBFLjyVNFyuSs7F41uQ3XGQJJcF1EZujPcyOE+RMkgIEo2Zl4z zKGt/tMycCokqjxXm91bZ9AV5xoaPmVvg3KL3/8QeycPAO0d8l7ANO+pVyVV4wVJJ+e/3k lGLOk7Az8Flsu4owQ8SH9q+FiwHhW1Lu98mVwgA//20gmAPSVBqZyRWmKi6c+79QqfGoGf 3FBtEJlYtVWKtRM6QaIT12P6NQKHfa4+Cl68dTIKFMDOED4c31RLvFgcgUVineb4T3FXfV +7kMxxIqRSK2PydHewDCSa3itPJXalSdDo6wANWt+k8PW2oIajxpLbEu1TqQtw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726474509; 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; bh=MetvNB9iMQ//vzbZz3N6crbFyjVf8I/kDVGsHQ5emIs=; b=JczrMKP2yWxPbnGQrJb+pHco397F1iCVY1tE8SR54qiMTqPZ2cmp1XclaZMT79uwU1yWpS jyfhJ7M06ZtzlhoxyM6Q2M/DOF9TudBVjNnpHC6skICKPCiFP84+cTGZqA4NZ6XlVUal1f rnzvGTAjrFymCT9DpRGyqCvBmvYX3AUgrqCllY9lccihkt8NBpOYpaE6eZENcPtGSSdQD6 4/9Vw14loxLDToNCmlcg5W1GdO/j332VEEd8YdFi7uKa9lnV6HOS/nQiq1gUHNIlPNymGb GRcBxGUCkOtpU/BJ4DzeyGiqhS4T+7Fawf+ruadgqsSs3Myg5tqjj3uWngQP4A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4X6d4s0ByNzmtx; Mon, 16 Sep 2024 08:15:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48G8F8O8027269; Mon, 16 Sep 2024 08:15:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48G8F8lp027266; Mon, 16 Sep 2024 08:15:08 GMT (envelope-from git) Date: Mon, 16 Sep 2024 08:15:08 GMT Message-Id: <202409160815.48G8F8lp027266@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 687b896f8ea5 - main - amd64 la57_trampoline: lgdt descriptor is always 10 bytes in long mode List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 687b896f8ea58e67c3a0bfbd3af3041733e57dcf Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=687b896f8ea58e67c3a0bfbd3af3041733e57dcf commit 687b896f8ea58e67c3a0bfbd3af3041733e57dcf Author: Konstantin Belousov AuthorDate: 2024-09-12 03:33:48 +0000 Commit: Konstantin Belousov CommitDate: 2024-09-16 08:11:54 +0000 amd64 la57_trampoline: lgdt descriptor is always 10 bytes in long mode Extend its storage to be compliant. This is currently nop due to padding and nul gdt descriptor right after the lgdt descriptor. Sponsored by: Advanced Micro Devices (AMD) Sponsored by: The FreeBSD Foundation MFC after: 1 week --- sys/amd64/amd64/locore.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/amd64/amd64/locore.S b/sys/amd64/amd64/locore.S index d05f38dbba05..3df3dd722f45 100644 --- a/sys/amd64/amd64/locore.S +++ b/sys/amd64/amd64/locore.S @@ -151,7 +151,7 @@ l2: movq %r11,%rsp .p2align 4,0 ENTRY(la57_trampoline_gdt_desc) .word la57_trampoline_end - la57_trampoline_gdt - .long 0 /* filled by pmap_bootstrap_la57 */ + .long 0, 0 /* filled by pmap_bootstrap_la57 */ .p2align 4,0 ENTRY(la57_trampoline_gdt) .long 0x00000000 /* null desc */