From nobody Wed Jul 2 10:02:21 2025 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 4bXFn9733kz60C4P; Wed, 02 Jul 2025 10:02:21 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bXFn95rn6z496b; Wed, 02 Jul 2025 10:02:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1751450541; 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=jiWX6DTjcTbzgOZ6K7BTKkgMRNoog8CjfR+783xz9p0=; b=ZavJT7XR4mUheNSaV2YEolA4E1g57zawJGcT2Okbw82MdQZL0HWbAGfwswV4SuSC1s/WzT vZ1SkekMNLCBn6tdYgpY60C/a7sxTx3Z43usOztpPzteoDhuaqACLbc6E+YeQZNTpMuA5x lvismlhVgeU1eaPruUZhVvvwndVzRS2wQ7rGKQrVbAQQD4Ho3ihHQ/YpRx1cYiZcg77heH Tg3ufJGTlD51SYy+j7CUV5SLINDXd6dOoOwnnYDUUmlQ7h/Sbg/7bzfJJgIKBR+IPWhK3z koauNX8xppkJXA8pOj7/2JGkJ5DoPRm5lWNVLMsVNl/CAGnKcSt9AzIMm2+WwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1751450541; 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=jiWX6DTjcTbzgOZ6K7BTKkgMRNoog8CjfR+783xz9p0=; b=U7wfZXw3FVLSnMYR4t0gQpT3m80xremWzfSmSAndPLtiNUP/BogQAv23S7f2sOZj9TAwZc dFzWYtBh1aGmIac4CxGPQjZLpQxd7dZo1g1aNzwxCL+VExX/YfARmsN2UEhcyoF/ULvnL8 iFnFzkIdp9nOYd8aYENB3IPfYi5nol0c9DtA4qbIiB6T+uU1IV6N5I7tQNgFh5UTgKSI49 zdeWYnuodHFl337DH7PH0y55GzPKneY6ohGK8cHbLsOpuIAjCPbrDFBHlS49BeKWFjlzZV 89STmxqyV5u/YV5BaIa75GJaM/8rcQkmLdKiquUySPBY6/fxjc1jdlF8rcBE7A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1751450541; a=rsa-sha256; cv=none; b=UD/lsU0h/Cf9dl5/0Zlr+W0tI43OsodETyisr6RsGqgyAj7hPZJQ0stQUCxW1ZshkBLYzK CJc6neoBEo/zWJ04vE1cEtbV/a/SK+WjvLfjLrJW0W6/L8l4FNEyYgCnr/Yn5kcbESaXQ5 UcF6fyuipoR2ClYWoxd6BWlwD9kL98QV2AWFicquHIPYFMH/YGGcLodMk6alR0F/JrwYIy w3UzxS/cOLigxJjtUhcMFHBfMNWOaxWxifVvDafGGwvJZjh8f2SS3XgYW1sbEBn1fCODYk cihC4jsNyZIDkPYiX/7QNroWBKR7cjO1ICY1vihf2qX44rGSlF9kWHTF/pD/UA== 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 4bXFn95PwbzK0; Wed, 02 Jul 2025 10:02:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 562A2LG3012139; Wed, 2 Jul 2025 10:02:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 562A2LAt012136; Wed, 2 Jul 2025 10:02:21 GMT (envelope-from git) Date: Wed, 2 Jul 2025 10:02:21 GMT Message-Id: <202507021002.562A2LAt012136@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: e80cb2254414 - main - arm64: Export the pointer auth ID fields 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-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: e80cb2254414018d41b00004fe7c7ccf828e0fbc Auto-Submitted: auto-generated The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=e80cb2254414018d41b00004fe7c7ccf828e0fbc commit e80cb2254414018d41b00004fe7c7ccf828e0fbc Author: Andrew Turner AuthorDate: 2025-06-28 01:58:01 +0000 Commit: Andrew Turner CommitDate: 2025-07-02 09:49:01 +0000 arm64: Export the pointer auth ID fields Set the pointer authentication ID fields and HWCAPs for userspace when it is present. Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D50982 --- sys/arm64/arm64/identcpu.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/arm64/arm64/identcpu.c b/sys/arm64/arm64/identcpu.c index 123aeeb090dd..49b4b25b51bb 100644 --- a/sys/arm64/arm64/identcpu.c +++ b/sys/arm64/arm64/identcpu.c @@ -1029,9 +1029,9 @@ static const struct mrs_field id_aa64isar1_fields[] = { id_aa64isar1_sb, id_aa64isar1_sb_caps), MRS_FIELD_HWCAP(ID_AA64ISAR1, FRINTTS, false, MRS_LOWER, MRS_USERSPACE, id_aa64isar1_frintts, id_aa64isar1_frintts_caps), - MRS_FIELD_HWCAP(ID_AA64ISAR1, GPI, false, MRS_LOWER, 0, + MRS_FIELD_HWCAP(ID_AA64ISAR1, GPI, false, MRS_LOWER, MRS_USERSPACE, id_aa64isar1_gpi, id_aa64isar1_gpi_caps), - MRS_FIELD_HWCAP(ID_AA64ISAR1, GPA, false, MRS_LOWER, 0, + MRS_FIELD_HWCAP(ID_AA64ISAR1, GPA, false, MRS_LOWER, MRS_USERSPACE, id_aa64isar1_gpa, id_aa64isar1_gpa_caps), MRS_FIELD_HWCAP(ID_AA64ISAR1, LRCPC, false, MRS_LOWER, MRS_USERSPACE, id_aa64isar1_lrcpc, id_aa64isar1_lrcpc_caps), @@ -1039,9 +1039,9 @@ static const struct mrs_field id_aa64isar1_fields[] = { id_aa64isar1_fcma, id_aa64isar1_fcma_caps), MRS_FIELD_HWCAP(ID_AA64ISAR1, JSCVT, false, MRS_LOWER, MRS_USERSPACE, id_aa64isar1_jscvt, id_aa64isar1_jscvt_caps), - MRS_FIELD_HWCAP(ID_AA64ISAR1, API, false, MRS_LOWER, 0, + MRS_FIELD_HWCAP(ID_AA64ISAR1, API, false, MRS_LOWER, MRS_USERSPACE, id_aa64isar1_api, id_aa64isar1_api_caps), - MRS_FIELD_HWCAP(ID_AA64ISAR1, APA, false, MRS_LOWER, 0, + MRS_FIELD_HWCAP(ID_AA64ISAR1, APA, false, MRS_LOWER, MRS_USERSPACE, id_aa64isar1_apa, id_aa64isar1_apa_caps), MRS_FIELD_HWCAP(ID_AA64ISAR1, DPB, false, MRS_LOWER, MRS_USERSPACE, id_aa64isar1_dpb, id_aa64isar1_dpb_caps), @@ -1146,9 +1146,9 @@ static const struct mrs_field id_aa64isar2_fields[] = { id_aa64isar2_pac_frac), MRS_FIELD(ID_AA64ISAR2, BC, false, MRS_LOWER, 0, id_aa64isar2_bc), MRS_FIELD(ID_AA64ISAR2, MOPS, false, MRS_LOWER, 0, id_aa64isar2_mops), - MRS_FIELD_HWCAP(ID_AA64ISAR2, APA3, false, MRS_LOWER, 0, + MRS_FIELD_HWCAP(ID_AA64ISAR2, APA3, false, MRS_LOWER, MRS_USERSPACE, id_aa64isar2_apa3, id_aa64isar2_apa3_caps), - MRS_FIELD_HWCAP(ID_AA64ISAR2, GPA3, false, MRS_LOWER, 0, + MRS_FIELD_HWCAP(ID_AA64ISAR2, GPA3, false, MRS_LOWER, MRS_USERSPACE, id_aa64isar2_gpa3, id_aa64isar2_gpa3_caps), MRS_FIELD_HWCAP(ID_AA64ISAR2, RPRES, false, MRS_LOWER, MRS_USERSPACE, id_aa64isar2_rpres, id_aa64isar2_rpres_caps),