From nobody Wed Oct 25 12:35:51 2023 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 4SFpLc0rfZz4xSWK; Wed, 25 Oct 2023 12:35:52 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SFpLb5w4Dz3gpg; Wed, 25 Oct 2023 12:35:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698237351; 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=wVYOzSztLfoM5wy+UjReBH3BC/BFPjWsX6HcCOqfhYY=; b=IvuEtBdb8XuqXvh346JM7dVqt6Qvmllr1uRN9D2k6ChvzTyNoGjCkO78MueEN4E8CHImVU WEzO+9/8dC2Bd/WQAgR9JESkato1QtWzDN2zklUNURiuApA65uZk7zQsDKo6WgBUbEHgSN fGLoPfWJp+MYjcXiRmvSVbvEj+mfzClYzwnmR+53cFQuroLETY6U/CdGXZCEc9ZrsqVuhf w9FhOBz7MBwZTVZCl6uYtTJR80dXOlZwIv3Lo2f+P58RnyXrIUIbDIw0JbKBPMx1CYspA8 IzkS1TCP0kdqfnA/HYVqBPw9uGDsq/e/Lly7SjTocL59jkM/WPhMksm5cPJvfw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698237351; a=rsa-sha256; cv=none; b=whA/rho4ubdY53YfjcjRh/X7Ttp8fi7z2d33SdWmKpL0i/GGsLq0OJJnsZLj8F4/FJPmwz 4RxN44+6G5d852TRlksj0zQv28CgEVALh91NfsdL0w4CO1kPQ79FX5cQOI2fCtgjcTKFkm n9M5xxZpsyNC6QmT792rgJOi8r6TS6uqLrBNjgRvisjuqzikfxPOvkk70F2CYcrcIXuptl fkE03bb3i1aacKuw1lwiui/97eSSpZZ4hOk3KDM40/J1ag/H/ETZiGnJgGCIudRkfMjzDw 3mEfl7PsF4hCuaPj3uc6enDzGm4bGHamxja46/27SeIPQZ8LPmCWQoCazpZLbA== 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=1698237351; 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=wVYOzSztLfoM5wy+UjReBH3BC/BFPjWsX6HcCOqfhYY=; b=OEeWYdnf1YBfVgMboh9ryF6IDbaKPp5WGhIFp7zeSXD7G+37m4pwBehd45s9oRYiMgHnYI tkyTssbaEAbcAyVo9COvrRiQsU7FoSEQFgg8qUi8FpX7LhafsWce34iBrGayTIRDZVcD2S OZuyhXUFWPNwmOZH+AKVANqH3AN7z5toviqiG43eDcKRwJ/4RhgPntwQdGBJM6GrDpthGd RnHqxsQnHTBJXqPKmD2S/VHCunKDRaCya1F8QDpbow53I1Jo6yTeWv2oFcIOz/wkbAkyRn Z9pyExtDvAiTO00s/tRf7AV8gRccfjcgqd9ojqHDpfSEqy7b/TKzutAeLiUMwg== 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 4SFpLb4yPZz14WV; Wed, 25 Oct 2023 12:35:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39PCZp1r089107; Wed, 25 Oct 2023 12:35:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39PCZpGm089104; Wed, 25 Oct 2023 12:35:51 GMT (envelope-from git) Date: Wed, 25 Oct 2023 12:35:51 GMT Message-Id: <202310251235.39PCZpGm089104@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andrew Turner Subject: git: 1e05cf5f97de - main - arm64: Add a missing MRS_HWCAP_END 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: andrew X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1e05cf5f97dee6d7139aa64f14264fb4c2333455 Auto-Submitted: auto-generated The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=1e05cf5f97dee6d7139aa64f14264fb4c2333455 commit 1e05cf5f97dee6d7139aa64f14264fb4c2333455 Author: Andrew Turner AuthorDate: 2023-10-25 12:32:04 +0000 Commit: Andrew Turner CommitDate: 2023-10-25 12:33:16 +0000 arm64: Add a missing MRS_HWCAP_END Add a missing end marker to stop the arm64 CPU ID code reading past the end of an array. Sponsored by: Arm Ltd --- sys/arm64/arm64/identcpu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/arm64/arm64/identcpu.c b/sys/arm64/arm64/identcpu.c index 5d23e1495dea..0dc23286ec9d 100644 --- a/sys/arm64/arm64/identcpu.c +++ b/sys/arm64/arm64/identcpu.c @@ -1723,6 +1723,7 @@ static const struct mrs_field_value mvfr0_fpdp[] = { static const struct mrs_field_hwcap mvfr0_fpdp_caps[] = { MRS_HWCAP(&elf32_hwcap, HWCAP32_VFP, MVFR0_FPDP_VFP_v2), MRS_HWCAP(&elf32_hwcap, HWCAP32_VFPv3, MVFR0_FPDP_VFP_v3_v4), + MRS_HWCAP_END }; static const struct mrs_field_value mvfr0_fpsp[] = {