From nobody Tue Nov 21 11:27:56 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 4SZMYm3YKSz51QnD; Tue, 21 Nov 2023 11:27:56 +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 4SZMYm2y1Tz3MyF; Tue, 21 Nov 2023 11:27:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700566076; 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=2SA2XLkMkH8rpKEzI/s3SNIEZ+vfkbCDIlh1H96L7yw=; b=yIDD/AhmPCPVlyx0ZEatUYH61XK3mu3bnnbR+uyHluyWqDm7RUfJLqmidwSSydqnUTAgTo UlvviRElAkyQaRBn+Dqt+qzuui4dRPLBCDFkDPh2KS/UfO+lHOzV5Gk9xE2Ak+qFUQHuAH XLtH2zPxKIkxZaPTm5Bq7/8w+OQlblROl/17B+p+SQ2PV6G+IUhvEaswsEaPHKiD77yPtg EGGsRpW5Dh8v+Mu7co0bJkA0TAOdIH1iRkCU/VAkiO6n8gzCW+GwxVClXGs/RPeiRPt+CN NneT9b9kp4CB2ZgStneSFoehyxeMGNkSwuiJQe5DeXlpbPdH7QoKbiHROVuG9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700566076; 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=2SA2XLkMkH8rpKEzI/s3SNIEZ+vfkbCDIlh1H96L7yw=; b=Wtgbbl8IlghpA6m2HO5oEIrWqTIbqyr47Dh/Lfm/KRx2JI5OtR4ku9Goqkewj15HJfPtMT 6fCIevSffhuy246ra9j7Xqi1H7lnlWKmqC9qozIurI/vDPiyINjdNrSgO1bSXp9SocMzqw oNtkoYkwDxP5JIPm8nogoqEkitpREJ1O/jiuTaPDSi46vYE0BwGc5iG5GY9o0mjIgHN9LD oKV0nzUFEJVRUB+42LKDGuYrgo/b2lbK2KyaqWqFGbSZrFvrRuS5jkMemlqQtScYVia/3v YSB+yL1Ege2s3kA+N4XRiAwGjy4ROt8Cewg98eejIoSRrkApm70kT2zGEbqR7w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700566076; a=rsa-sha256; cv=none; b=oQNQC7OrW9CJ6yPes1zM/rov/2l76Jy+qTbX3gI4824Rdt6RgVLnSjrPnM4fjlESXMiJd5 IHCEH/2z+ubCjFppnPP9Xau7OgtjK1S2Xi7xVrj+eqT8JfyjFlsPCWhPoYZJG55SdH07+i wraZcC7raXflmt7jDyazzQ7nbWpy9zSc3wIfpii+weNZBXRRyqnpDPwweotNf/y2pEcXZZ hZR8tyxKTs/jci3gy+w9oTtofYEJmV5sC8TwgVN8ssxQb6m5xTsAawMuskKlfvhYoMPub6 +2DKVlwJH+X5SELYskT4M9ihUFOlF/SS4yu0ZBFIodgVkf0pR/8ycRI9arvwEA== 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 4SZMYm1tzkzYdG; Tue, 21 Nov 2023 11:27:56 +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 3ALBRubw025938; Tue, 21 Nov 2023 11:27:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3ALBRujJ025935; Tue, 21 Nov 2023 11:27:56 GMT (envelope-from git) Date: Tue, 21 Nov 2023 11:27:56 GMT Message-Id: <202311211127.3ALBRujJ025935@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: 25d0310ed881 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 25d0310ed881e86cec9ab5cf37dd8471e88ad554 Auto-Submitted: auto-generated The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=25d0310ed881e86cec9ab5cf37dd8471e88ad554 commit 25d0310ed881e86cec9ab5cf37dd8471e88ad554 Author: Andrew Turner AuthorDate: 2023-11-14 15:01:58 +0000 Commit: Andrew Turner CommitDate: 2023-11-21 11:25:43 +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 --- 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)