From nobody Mon Feb 19 16:45:06 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 4TdpLB5x96z5C9HM; Mon, 19 Feb 2024 16:45:06 +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 4TdpLB3zpDz4bWW; Mon, 19 Feb 2024 16:45:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708361106; 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=LQND/Na/sNXpBKW9N0M875gb+xwmfx6/8ldt85n9rxg=; b=DWQEq4KVw8ZJN4L4z4ROnDYb5JggQKrp4gE98bd2jp1U0y6rtGkqH/9ge/JtpyaonGcm/t UFIJ9cA5Ektrc5edyG5ianm4TWMLhQ6xt+YUiQlVH+pHW56uWmg3B8aHwPp7V+cGr4YOze BnFkKemzLS8XjcGGFQmTs3kP4rUa5AuJwUXEgaXIjQOncnKYksHujHroDXm8kYVVXcf3eB Z9oxXYdcEtuCld/zz+3cdBQK3VHq5q2FQryv82J/sPlAtDQMc15mqG26Qjmmbb5ulh1qnr dpvUZ5AGif93Z4Pw3kls/KNmqApM3djDCnjDvhZFTHBh1NDuf/fx05aV+WSdKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708361106; 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=LQND/Na/sNXpBKW9N0M875gb+xwmfx6/8ldt85n9rxg=; b=dsT1YZ+UXltNNzbsPtloojtehFDPJ8fT4+kCvA7qudHx4a+jfplio6BQMt0AP5+KOZNmgx 2dQYbFT15Mu+Jj7LXWLuCMjuznECJ4SC3SbgRPMBny6i5QDbuvOJH30+2YyDrvkc5JV3fn yxMu3bhf5lBQMo3dNUPqtvUOMi1pTQr+ZcH8Zm7YmZ9WtOOwndS52vnZ9BIliaCDbHSkVn W+d/OgnpE1MrwEU2KId4LqlHi//m+XbdW5bjJznUJ9OXe1eDcZhPt3SeTMfcXAG1HZUx7l V4KcNZBT9Kyrmla98bhkvgiamsA8928tSFGn1EFEiYwwRqAJNOK+0Qx/yv+dMQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708361106; a=rsa-sha256; cv=none; b=XsRE3gQDCuvyGNrY2bh1IwZ7cUoMmdHNHLDqIGxwsVLTd2kYojNNDMEi87zm7InuivXcic U6meFTrtjNHZhMI5qwNkHrbC3DFVEUH+cAFlqAgTjoRjOnjlAWJrqJmv7u7STVxmIFwyEi bqUwK1FY0HAFhAzpVMRrIW+wv6uMOOL1npuN/DAGg3UYnGUurKCxz5cYHxxs5XcYaiE2+W pI5Ap0fWbYEfhHaoKcCVDNZwI6NcnZwqykFovvTqpmLovGhDt79RqbHCKvoxdGJbBJ7DqI HnQPPTQwJ05HxPJFPAeX218FNpvvBh4hFV20ZgQRIHQluruZ+V1xQyGGZqNvtA== 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 4TdpLB35mPzjfb; Mon, 19 Feb 2024 16:45:06 +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 41JGj6Dk095320; Mon, 19 Feb 2024 16:45:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41JGj6Ld095317; Mon, 19 Feb 2024 16:45:06 GMT (envelope-from git) Date: Mon, 19 Feb 2024 16:45:06 GMT Message-Id: <202402191645.41JGj6Ld095317@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Andrew Turner Subject: git: de4ca58e2c2a - stable/13 - arm64: Mark the armv8 crc32c as supporting BTI 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/stable/13 X-Git-Reftype: branch X-Git-Commit: de4ca58e2c2ab260e0842bd6c233201a5caf55f2 Auto-Submitted: auto-generated The branch stable/13 has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=de4ca58e2c2ab260e0842bd6c233201a5caf55f2 commit de4ca58e2c2ab260e0842bd6c233201a5caf55f2 Author: Andrew Turner AuthorDate: 2023-11-14 15:01:58 +0000 Commit: Andrew Turner CommitDate: 2024-02-19 12:44:42 +0000 arm64: Mark the armv8 crc32c as supporting BTI This is built into a test so needs the BTI elf note for the rest of the test to be built with BTI support enabled. As the assembly uses the ENTRY macro it already supports BTI, so mark it as such. Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D42595 (cherry picked from commit 25d0310ed881e86cec9ab5cf37dd8471e88ad554) --- sys/libkern/arm64/crc32c_armv8.S | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/libkern/arm64/crc32c_armv8.S b/sys/libkern/arm64/crc32c_armv8.S index 32bf00ee477d..649afff4b711 100644 --- a/sys/libkern/arm64/crc32c_armv8.S +++ b/sys/libkern/arm64/crc32c_armv8.S @@ -26,6 +26,8 @@ */ #include +#include + .arch_extension crc /* @@ -76,3 +78,5 @@ last_byte: end: ret END(armv8_crc32c) + +GNU_PROPERTY_AARCH64_FEATURE_1_NOTE(GNU_PROPERTY_AARCH64_FEATURE_1_VAL)