From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2076.outbound.protection.outlook.com [40.107.6.76]) by sourceware.org (Postfix) with ESMTPS id A72EE3858D35 for ; Wed, 28 Dec 2022 18:07:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A72EE3858D35 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iM6+Tctl/6hlAPRTJakXp3S7oQ3m4P0NjIqsp7kMzXM=; b=gbiwLDMM7CyRwwc2rxLCpDt4jj09N1qgs62gYeiPhgC1y7zPk5H/KoOMAwPJw+LZNEdfsfNY7BTPLNCsWSoYHbaZg0Cw/YB1tJYpSABtfG5SfPnR+5Hrev+Be7wgXUBAda9OrgVScfW+OvdliZxYpMD2oyhxu2b85n1hq2vaWrg= Received: from DB9PR05CA0001.eurprd05.prod.outlook.com (2603:10a6:10:1da::6) by DBAPR08MB5703.eurprd08.prod.outlook.com (2603:10a6:10:1ad::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5966.17; Wed, 28 Dec 2022 18:07:24 +0000 Received: from DBAEUR03FT014.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:1da:cafe::3f) by DB9PR05CA0001.outlook.office365.com (2603:10a6:10:1da::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.17 via Frontend Transport; Wed, 28 Dec 2022 18:07:24 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT014.mail.protection.outlook.com (100.127.143.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5966.17 via Frontend Transport; Wed, 28 Dec 2022 18:07:23 +0000 Received: ("Tessian outbound 43b0faad5a68:v132"); Wed, 28 Dec 2022 18:07:23 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 350a53ac75fe2750 X-CR-MTA-TID: 64aa7808 Received: from 075690134beb.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 53C67960-E15E-4437-9937-38AE2AEF8E2A.1; Wed, 28 Dec 2022 18:07:16 +0000 Received: from EUR03-DBA-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 075690134beb.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 28 Dec 2022 18:07:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BRCkBpTSO+aXoXWgrsJDHKF1/wpcERQxib2zZ97Jq+PkhopZLx0NsAJlaaqk8Ox5+yZX75EcySceKkeOY6ClnSkMkxm+wJ2LH56Hy0sp8Qpmsnr5jyT1T47+vp1Qln/bOfqJRlD1N7eG1RWtfzBXsOmIE6h+gqQTB7Ks1bMPmqLwnm3rr90cc+y907+/36K9cxUSLCvyJzPrM4khYx6XAxWiYxBXwKpSUwtEN4g6kvcr1+cIwDgA+rhpDhpxE56MPxZo5+QIenN4PtaPvLWAxXqR7C1k2J/BKXJCa8uLfiat+aw06QCA/qTVrJ2ej00vuZ8wPKwPQLPSfWgiS454MA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=iM6+Tctl/6hlAPRTJakXp3S7oQ3m4P0NjIqsp7kMzXM=; b=lm6xMc4Ic4wxkfVKa7JyGNhAz2Bsz5JmHwpGOAckFJLUDuYCVzJ45sfn53nOiAHv1hYWfOtjBh4i2K2o7x1FmyGsKaGvHw8JIEKZzEpwBtynD30DBfL1CGVtdYZqIEkEhyLDBuEygvRVALFVBqZd2+u34yonzyrLNE63wdndreSF4wG7MmkhDhDTN1wQ4nB4xRqKJofAGwYUVr2Rpuc0dMFLFkD7jiNOFrtCM2CpS/180UQpcRvKgo/H9VJj0lkUT/ta8NUh0ZcmqsUhB9aybXWhXfes3OQbl5tc2BWtLUleCp2GhVJi7kXF3NM4TEBgEHNyV0uR7UZbLYz7c9wgtg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iM6+Tctl/6hlAPRTJakXp3S7oQ3m4P0NjIqsp7kMzXM=; b=gbiwLDMM7CyRwwc2rxLCpDt4jj09N1qgs62gYeiPhgC1y7zPk5H/KoOMAwPJw+LZNEdfsfNY7BTPLNCsWSoYHbaZg0Cw/YB1tJYpSABtfG5SfPnR+5Hrev+Be7wgXUBAda9OrgVScfW+OvdliZxYpMD2oyhxu2b85n1hq2vaWrg= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from VI1PR08MB3919.eurprd08.prod.outlook.com (2603:10a6:803:c4::31) by AM0PR08MB5362.eurprd08.prod.outlook.com (2603:10a6:208:180::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5966.17; Wed, 28 Dec 2022 18:07:13 +0000 Received: from VI1PR08MB3919.eurprd08.prod.outlook.com ([fe80::eed7:25a3:e4ea:187a]) by VI1PR08MB3919.eurprd08.prod.outlook.com ([fe80::eed7:25a3:e4ea:187a%7]) with mapi id 15.20.5944.013; Wed, 28 Dec 2022 18:07:13 +0000 Message-ID: <47b95434-48df-6509-a0f0-7b1644de0359@arm.com> Date: Wed, 28 Dec 2022 18:07:11 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: [PING v1][PATCH] [aarch64/sme] binutils: Add new NT_ARM_ZA and NT_ARM_SSVE register set constants Content-Language: en-US To: binutils@sourceware.org References: <20221219131149.2268979-1-luis.machado@arm.com> From: Luis Machado In-Reply-To: <20221219131149.2268979-1-luis.machado@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P123CA0042.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600::30) To VI1PR08MB3919.eurprd08.prod.outlook.com (2603:10a6:803:c4::31) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: VI1PR08MB3919:EE_|AM0PR08MB5362:EE_|DBAEUR03FT014:EE_|DBAPR08MB5703:EE_ X-MS-Office365-Filtering-Correlation-Id: fc9fd70b-6a0a-491e-b799-08dae8fe5ede x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: YPX2pmqcf9tLggrwu/To9ATyNrOa/7Llf4quQVKC+U5yBCFD5QoHm6rcfMKXJxXnaMIQM0pzvFBMsFZY6992gmb3Pnl+zSSAnxiuUr8op2Ulfrp4RHMaRv5vh2NohtUDcRpYJ5jzjcDNb7l+DK4wLUjH9mkB/Y9albRKHfgn63kEe/rl2r0IMDC1/4gWx7oguGfH4Ed60ZOrqWefTnvyxwu+nSPX4zRbRhYesENiHl2KxwqAH2Yq4R3mf3JrmJp+QSd6QepVBd++38hRe4Qi40LGsijcF/WWIebIJB9FfNAtrysJZqU6DjDyyOD4RAVwmQvyIvywWpjlHH0AcDAmxdK12C++kHfhGOd4cjNm3Gvy8HKylprDUiYZZQihpZU+AtofeU/eCJmR00XGznIQ8ssMYkBsi+/bYQT9AWUsv06kQPjmNejHgc6RpBYqvWZKkDhBYKn4BqF+DpudmhSjsdglKSOM7mOQPyc8yGwgL2O0se/Q4WKZm+MRIOfwqwK4t6zMk+5AcspUvUSHaj91oNpBCyrMPOR4y7OEOY2+B0UQSNhiWNuglQSXuyvzJtFZBjkOlr5pYR1NsTw1WxBkTGa75H0+JMLxnvHt/ypQGjGMD/BxAPGNQKAmW3ZKlhk7Fc7A6t6aJk3T/BsFxth8teJpPIvtxtbpqYI3waN63sl/wHfOS740r247pWO+d2YbFu8xLQsP+gWX6ySWLERfGFNj881TuGJzosYxG80Z23M= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR08MB3919.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(39860400002)(376002)(396003)(346002)(366004)(136003)(451199015)(36756003)(6506007)(6486002)(478600001)(53546011)(186003)(26005)(6512007)(316002)(6916009)(31696002)(86362001)(41300700001)(31686004)(2906002)(8936002)(44832011)(5660300002)(66476007)(8676002)(66946007)(66556008)(2616005)(38100700002)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB5362 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT014.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: a2d60a94-bd71-4555-a922-08dae8fe5842 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5a0Uun9GS+dw5IJ9QvYEO/aDbId0YIsbSIL0GucnHlOjfx2+v6L4+AKh1laT4FhLByc6pniw/5bGG3wHCytCTgQNiaMUBYHMf+MwnIE4MVHOmJ9Af27GDFNXfvnebzGEY//mBCJoGUt2V9NqLCFPux4zI9KXFEd4/ll0OTna4Sx5XGTnSKDVNlb6qxXoWppNpidAeqrsPLELMxkcorRBJghFdWkDYmBjKLU9NTbbIT2c+PlDfLCzasfdTBipA5KVlN9PmTPMuv1xpCQbABBVN8EHVSU2qr0CAXLeEVWzmgLqqMVekKsrPBZfhVe6LWtAc34I7rBINgqcE34Zqe+TNGT07dhJmoLG9S0WhvQ3WUP7X88E2jFzwQcv9guC886Y6q48kE0POm8WcsKEMrF+Syz8Q5eJKO8EiguEMsieWLLbuNMVsPZR7dOX9P/LtaEMUyuy4D9FeUlSZELUp1foemN8BaOHhUooEDD3bST48niNFq9JKVz6cbgsU2J0Ba2+SAuw2uAlW4lrmpalV9cONbA/h2ZKrSij97PEgFgBYTElpU1OfUoUHYWVepxvOHi9ALnyO4R9fPaQ50u777ag9aybATitkbCxGXbJ5/x4CASeul21+PMW4gLvcgFPndehgsYnWeLgufqxwkOxoNe7FGSltrjJnBGN3hUS8GzbDlkDbaGsMRFBSt0mLLNyJEoGpsviS1lfRW0aeJs3u7bR/A== X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(13230022)(4636009)(376002)(396003)(346002)(39850400004)(136003)(451199015)(36840700001)(46966006)(356005)(40480700001)(86362001)(31696002)(36756003)(26005)(6486002)(186003)(6512007)(478600001)(6506007)(2906002)(53546011)(70206006)(70586007)(8936002)(6916009)(44832011)(316002)(8676002)(41300700001)(36860700001)(82310400005)(2616005)(336012)(5660300002)(82740400003)(47076005)(81166007)(31686004)(43740500002);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Dec 2022 18:07:23.7338 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fc9fd70b-6a0a-491e-b799-08dae8fe5ede X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DBAEUR03FT014.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR08MB5703 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,FORGED_SPF_HELO,GIT_PATCH_0,KAM_DMARC_NONE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE,TXREP,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 12/19/22 13:11, Luis Machado via Binutils wrote: > From: Ezra Sitorus > > The AArch64 SME feature exposes a couple new register sets: NT_ARM_ZA and > NT_ARM_SSVE. > > Teach binutils/include about those. > > Co-authored-by: Luis Machado > --- > binutils/readelf.c | 4 ++++ > include/elf/common.h | 5 +++++ > 2 files changed, 9 insertions(+) > > diff --git a/binutils/readelf.c b/binutils/readelf.c > index bce93782952..96e9502318a 100644 > --- a/binutils/readelf.c > +++ b/binutils/readelf.c > @@ -19547,6 +19547,10 @@ get_note_type (Filedata * filedata, unsigned e_type) > return _("NT_ARM_PACG_KEYS (ARM pointer authentication generic keys)"); > case NT_ARM_TAGGED_ADDR_CTRL: > return _("NT_ARM_TAGGED_ADDR_CTRL (AArch tagged address control)"); > + case NT_ARM_SSVE: > + return _("NT_ARM_SSVE (AArch64 streaming SVE registers)"); > + case NT_ARM_ZA: > + return _("NT_ARM_ZA (AArch64 SME ZA register)"); > case NT_ARM_PAC_ENABLED_KEYS: > return _("NT_ARM_PAC_ENABLED_KEYS (AArch64 pointer authentication enabled keys)"); > case NT_ARC_V2: > diff --git a/include/elf/common.h b/include/elf/common.h > index 16587f6fb06..c935746148e 100644 > --- a/include/elf/common.h > +++ b/include/elf/common.h > @@ -696,6 +696,11 @@ > #define NT_ARM_PAC_ENABLED_KEYS 0x40a /* AArch64 pointer authentication > enabled keys (prctl()) */ > /* note name must be "LINUX". */ > +#define NT_ARM_SSVE 0x40b /* AArch64 SME streaming SVE > + registers. */ > + /* note name must be "LINUX". */ > +#define NT_ARM_ZA 0x40c /* AArch64 SME ZA register. */ > + /* note name must be "LINUX". */ > #define NT_ARC_V2 0x600 /* ARC HS accumulator/extra registers. */ > /* note name must be "LINUX". */ > #define NT_LARCH_CPUCFG 0xa00 /* LoongArch CPU config registers */