From nobody Mon Feb 19 16:45:23 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 4TdpLX484sz5C9Nc; Mon, 19 Feb 2024 16:45:24 +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 4TdpLX0254z4bqw; Mon, 19 Feb 2024 16:45:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708361124; 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=sEmKfUdomJDwcViqsQNIPMYKLBFvg/cq+mooQRS5YeA=; b=UckflE9fg8XqPDMnzummgmz0/asvHfHWZhgQOrc91W1FS3gOkKO2jPlwI+FQdWqQl63Jrb qq3sCWQwR04i/tlzkHXF7eoNdvV4GL6Ejdky+nQepjmQ1L/Vr3AJ8Igue8lq68PYXct/m2 Rd1gl6MDCKfc2TYjZn7Zy1q/i7jQyslqCRa+n2bRZ9wjBb2VD8omc6hCjJaqfPACZ7KgTk cz2BbC8qSIBHU+VE2BRbOlJrf0vlpXEqRIoWih9igeYsDp0GiHo0nRio1Qk9SD0S7TBmqM hxTcHw8zjbh1EjakzIc4kFZyoiQDwNVEgH5Em81dA15gev/GFq2O11leOdGgLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708361124; 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=sEmKfUdomJDwcViqsQNIPMYKLBFvg/cq+mooQRS5YeA=; b=pDPWR1gedRs76lzM9PJdJkFdi7vgTAZdY4NDlXqDBzt60zyCgANlm87gpoMM/zc0W/UJjM 4xOQdN8Q9D1oWxO33b+Lcy0ZjFMEwogHP55Z4CLk9qdKazYP+LuJKksaRpXxipZ04pewXI J8gRWzY2F9Q89KH5T7fNB475UoqGI+CSw6NOEcV56Qw1Zk8xesRi6vW27lO5M9PSq7SO1v CzkK50GIvYMvIT5zNlqLMLVNvsZjQVuZUkCkF/mkytucJ7DXYTgi969ufMcUR2b7aHDNtK 25WNh2amHISJk+3lQNdcDD7z/nHQdWwd0fjT1Q6LZ+Ko0FE0+u241RZ8truzKg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708361124; a=rsa-sha256; cv=none; b=TP26PMegX1v+K22AM4wpdpuDhRwXHLlkZCblS140zIbfmRg1t3eZaR4s+xdkXBkcaOURpV PFxn8Vw2z5nd6jZT9iZIFcvnnN0XeGuHsnqcRr9d7Tr3MkTj35J14q1vwHAzw6WqYpuYpe IRfw2ixfRYooBLOKWwfJ0kff7taX8sJp+PeNd5IZ/373FavPiDyjuZqn8DXJatkflfkjit nVY13oCepH1JPpT9Jb2U77PxhM6EBsQstiO2aec9ueF97V/mGbl6f9/TDRxd5Vinmt3Fia HcvfwvsuoQsRG0zYRDkrFk7s5ugJn7GHzX3Sgw0OG6VI4JB4SWqA6Jon/uCc4A== 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 4TdpLW6F2VzjSS; Mon, 19 Feb 2024 16:45:23 +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 41JGjNvZ096279; Mon, 19 Feb 2024 16:45:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41JGjNYh096276; Mon, 19 Feb 2024 16:45:23 GMT (envelope-from git) Date: Mon, 19 Feb 2024 16:45:23 GMT Message-Id: <202402191645.41JGjNYh096276@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: 0cdf69c10504 - stable/14 - arm64: Expand HWCAP2 to be 64 bit 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/14 X-Git-Reftype: branch X-Git-Commit: 0cdf69c105040c8883f5fe467e6ce49f7df7b84b Auto-Submitted: auto-generated The branch stable/14 has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=0cdf69c105040c8883f5fe467e6ce49f7df7b84b commit 0cdf69c105040c8883f5fe467e6ce49f7df7b84b Author: Andrew Turner AuthorDate: 2023-10-27 10:24:55 +0000 Commit: Andrew Turner CommitDate: 2024-02-19 13:13:56 +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 (cherry picked from commit 0f0938800989dbf84a56c370db0b9379ee730a39) --- 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 */