From nobody Fri Nov 10 16:06:09 2023 X-Original-To: dev-commits-src-main@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 4SRkFt03gJz4ywt2; Fri, 10 Nov 2023 16:06:10 +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 4SRkFs5Ccqz3NSM; Fri, 10 Nov 2023 16:06:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699632369; 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=3DrHPjIc4YjtZYicjx6FOdfV4rXebSIBtr3RCEMUJR0=; b=SKU5bt/VHeVq7qh3qodLrKdYX+DoSLSCieriJb0AqHx0t3zHf1EFKHN7UrPnsOpMST7FMU apzmLNpUP9F7D2c60RUaSY0XaawsxNl1McTtcMZgdqYWBLkcPGfECrRm/vV3O7/ha7KOb5 ggnBqpMm7lhZJVId/DwX7QQl+0Ml24vYKQLVifqjl8XY4ew5X0bcam3xzEkg9ksz5ypd7c IFil1ArHgHDWwB9nCf/2zDmqR3Uo4DobyRcmcrZ7H+dyaZEqd3ZQQ1t0o/2+PHx/yxGNw8 k+YfNa+Te3wflq7aGwUXdhrlRrb4+RM+K8B9tC5BVj+xB/rtCa9hOhXRh5b+tA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699632369; 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=3DrHPjIc4YjtZYicjx6FOdfV4rXebSIBtr3RCEMUJR0=; b=UPKj64eHAO8tL0Ldma1aECOP/4a0n+PjZR1shvppttxMT5J3rKxipMt87aDNUvYzcSCJOa +Tqtpe+zSu/Gxk3GjB3cCSleUgdrFJk2Hju5V4BAm3ZDPDNmbwkEmkQuSYYxfzOHnvY27S VGWU7hDCqkRJqj9AhUNNz2U6C5eG6wgp1wZ5mxp5J14awbW/FkhSKapx9oAyI7MPlftsnM CvYjbZ/7I7sKpt5dRUxJXjl25twMK9dLfl5V+96QBumWB+ReQhMTWDCQAeU1ZJE7+EONW5 3fAh1NTlLh9oRWVwPUFiP8IZlYTKXogB/lyQDY6p3cHmpgr4IOW71kFmohmfYw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699632369; a=rsa-sha256; cv=none; b=gFiOEl3DVaTNUvkXJd6vpK6nfZvbF1Il2/RDXCGlA80fleSO/WIwqSPTRK29rwVcTHkASH pn02vXmRt/ojsZlrbVfxWAT4kpTPYI8b5fxBohmRP6oOEnRRViVZr8Gb3OvHMNYG+vpEET Hh+reClRKRgTy1XHKPilpCwsthgaVTEDtCeJ8GjD8bf/oUdaimV9sdLVQ8FPyCrOeDXw/Y pZ7i2WWoZDc/MaqnNi8vz6rXssIfIIupF4/Frd3cGwlBwT/Gz+KO3wx5dscsqMT1rauFTM S7y+8xqkoC6kq+cbZ0dnZ0KH4fgO2Wqn5sGM5GCSwGs6hxm+6EsVCaDEZh4zfw== 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 4SRkFs48lGz13hN; Fri, 10 Nov 2023 16:06:09 +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 3AAG69qQ018249; Fri, 10 Nov 2023 16:06:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AAG69qe018246; Fri, 10 Nov 2023 16:06:09 GMT (envelope-from git) Date: Fri, 10 Nov 2023 16:06:09 GMT Message-Id: <202311101606.3AAG69qe018246@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: 0f0938800989 - main - arm64: Expand HWCAP2 to be 64 bit List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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: 0f0938800989dbf84a56c370db0b9379ee730a39 Auto-Submitted: auto-generated The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=0f0938800989dbf84a56c370db0b9379ee730a39 commit 0f0938800989dbf84a56c370db0b9379ee730a39 Author: Andrew Turner AuthorDate: 2023-10-27 10:24:55 +0000 Commit: Andrew Turner CommitDate: 2023-11-10 16:01:13 +0000 arm64: Expand HWCAP2 to be 64 bit There are more than 32 arm64 HWCAP2 values. Expand the macros to include leading zeros and mark them as unsigned long. Reviewed by: manu, imp, emaste Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D42378 --- sys/arm64/include/elf.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/sys/arm64/include/elf.h b/sys/arm64/include/elf.h index 5a7698f0324d..04449b20a194 100644 --- a/sys/arm64/include/elf.h +++ b/sys/arm64/include/elf.h @@ -133,24 +133,24 @@ __ElfType(Auxinfo); #define HWCAP_PACG 0x80000000 /* HWCAP2 */ -#define HWCAP2_DCPODP 0x00000001 -#define HWCAP2_SVE2 0x00000002 -#define HWCAP2_SVEAES 0x00000004 -#define HWCAP2_SVEPMULL 0x00000008 -#define HWCAP2_SVEBITPERM 0x00000010 -#define HWCAP2_SVESHA3 0x00000020 -#define HWCAP2_SVESM4 0x00000040 -#define HWCAP2_FLAGM2 0x00000080 -#define HWCAP2_FRINT 0x00000100 -#define HWCAP2_SVEI8MM 0x00000200 -#define HWCAP2_SVEF32MM 0x00000400 -#define HWCAP2_SVEF64MM 0x00000800 -#define HWCAP2_SVEBF16 0x00001000 -#define HWCAP2_I8MM 0x00002000 -#define HWCAP2_BF16 0x00004000 -#define HWCAP2_DGH 0x00008000 -#define HWCAP2_RNG 0x00010000 -#define HWCAP2_BTI 0x00020000 +#define HWCAP2_DCPODP 0x0000000000000001ul +#define HWCAP2_SVE2 0x0000000000000002ul +#define HWCAP2_SVEAES 0x0000000000000004ul +#define HWCAP2_SVEPMULL 0x0000000000000008ul +#define HWCAP2_SVEBITPERM 0x0000000000000010ul +#define HWCAP2_SVESHA3 0x0000000000000020ul +#define HWCAP2_SVESM4 0x0000000000000040ul +#define HWCAP2_FLAGM2 0x0000000000000080ul +#define HWCAP2_FRINT 0x0000000000000100ul +#define HWCAP2_SVEI8MM 0x0000000000000200ul +#define HWCAP2_SVEF32MM 0x0000000000000400ul +#define HWCAP2_SVEF64MM 0x0000000000000800ul +#define HWCAP2_SVEBF16 0x0000000000001000ul +#define HWCAP2_I8MM 0x0000000000002000ul +#define HWCAP2_BF16 0x0000000000004000ul +#define HWCAP2_DGH 0x0000000000008000ul +#define HWCAP2_RNG 0x0000000000010000ul +#define HWCAP2_BTI 0x0000000000020000ul #ifdef COMPAT_FREEBSD32 /* ARM HWCAP */