From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id wXswDE2ZVmrlawgAWB0awg (envelope-from ) for ; Tue, 14 Jul 2026 16:17:17 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=BD+n+zgy; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=BD+n+zgy; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 2DA2D1E09E; Tue, 14 Jul 2026 16:17:17 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=unavailable autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [IPv6:2620:52:6:3111::32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 76A881E033 for ; Tue, 14 Jul 2026 16:17:16 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 63BED4BA798E for ; Tue, 14 Jul 2026 20:17:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 63BED4BA798E Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=BD+n+zgy; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=BD+n+zgy Received: from AM0PR83CU005.outbound.protection.outlook.com (mail-westeuropeazon11010024.outbound.protection.outlook.com [52.101.69.24]) by sourceware.org (Postfix) with ESMTPS id F25C14BA23CE for ; Tue, 14 Jul 2026 20:16:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F25C14BA23CE Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org F25C14BA23CE Authentication-Results: sourceware.org; arc=pass smtp.remote-ip=52.101.69.24 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1784060204; cv=pass; b=xzCS2R4vQScQ/ice9Y8FXcOp5oybhJiqdXxYnQ4XhRp4WJedhs4Frj7Gm+bjWmomghPtYM+ptk4s42VXJhk8UiDzI0GqoBjBthuByfaoCRczEzmN6F2AxQm95LPuslh0cdVB5YGziX0oClvxavlDRzFfSdgApGcDGv8VrHyLkJs= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1784060204; c=relaxed/simple; bh=ZBMFN9wBYjzHq6YcKoic9r7hh1z0E8Yb21Q+LVAddYs=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=f6BzV3YDHY0OQyeaGRDT96k8nsanLmCnxVyN8fKKO++HEZ9IyIqm/niGBfhSPPwN/MM7qwXQIGO0l3RCX0XLv3hbo0AcnAvmYQxJGchCqJ9n4F6fbEfcjGlTMK9aq3qsnTws4JlRcoGT0L8Uh129S/oK3G3TKNCmyJpK1QPzA3M= ARC-Authentication-Results: i=3; sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=BD+n+zgy; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=BD+n+zgy DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F25C14BA23CE ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=EtZOPuNxiYDjSuNCzGFcMLbuF1R+q8H6xlnmwVhoE9z9NdqIKvJq7SyPudDt+28dAOzOgGsyp7Cbw9e+6JmYTjNCYuJx4ZlgNOOI/2SwpQ5Oz3lVosJ4Bt+xSXcdRn03nT8HPxmy0ulR1OFQvblF+m3kq/Tzb0T5Z6QZRW9Zb17NKYTTy7xninPTS49cURWXSIQBRen/oXX3FtXv4pk7iCTNEO0o7rWPFuU6Nuxem/A1z0TnhfrDximRK5YyLXTLa4ol5gGOmltATncjl8v4GuMERQOw9kANyJlDcP0OlgdVI+6kZUvv+63hpYChFmvHZJYd3mmF9yim+rqKUE5Eag== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=BA4MT9jeHvukzynya+J21u4thaRt/xRjzGLYvWZ+5d0=; b=rtD5895NYfwR2DxNbs6vcsiopa1/OBZZlB90Ujs6BdpWkhQjKCA5+e02jKt8a/tZoCU0XWfGkT0sqLhn8+qE0+fXtsfUnLdXUziNfXJDiJB2wzXK2iY9laWl/gx3qLWv9bdPHMRDSbTwaBOlwZ2gSHoLw2OE/6d0yYoAhlp/HCDEfyNDEZCp0a9y+YbW6n89eIt4rXEI+/eUyr2n5gX3GwHvQrIxwmhPirxdp1lFO33uGekP4RtVs6j5TcFS2ClMDK3Z+4nj3bffEBsbipttF1H/Lbae6FWVzqH1A/awMOWEyDTA9ZK6Du22SAbbLiyQ1ukafrYKqDT46MEqlhM3AA== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 4.158.2.129) smtp.rcpttodomain=sourceware.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=arm.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BA4MT9jeHvukzynya+J21u4thaRt/xRjzGLYvWZ+5d0=; b=BD+n+zgyCmOtbVbBqAJ1btCFDoSwdyYoy+QHmpllbuADqEdXeC2RFOnP02Q/SqmdJ0P3lp03UYy3oRP8etB8E8A+v4lRuMH3AuF3t33ULel4BLk0UUUzn4W/eDuKgFddsP11YG0UbN6qC7UYnom9Tb344D02ywqCEX2sB3PRM6o= Received: from DB9PR05CA0022.eurprd05.prod.outlook.com (2603:10a6:10:1da::27) by AM8PR08MB5827.eurprd08.prod.outlook.com (2603:10a6:20b:1da::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.223.10; Tue, 14 Jul 2026 20:16:38 +0000 Received: from DB1PEPF00039231.eurprd03.prod.outlook.com (2603:10a6:10:1da:cafe::51) by DB9PR05CA0022.outlook.office365.com (2603:10a6:10:1da::27) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.223.9 via Frontend Transport; Tue, 14 Jul 2026 20:16:38 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 4.158.2.129) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=arm.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 4.158.2.129 as permitted sender) receiver=protection.outlook.com; client-ip=4.158.2.129; helo=outbound-uk1.az.dlp.m.darktrace.com; pr=C Received: from outbound-uk1.az.dlp.m.darktrace.com (4.158.2.129) by DB1PEPF00039231.mail.protection.outlook.com (10.167.8.104) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.223.9 via Frontend Transport; Tue, 14 Jul 2026 20:16:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=JQTU6A05E7PM4DFSbuDo5iSOkiDiBAOfvXQrh9anmWyypo0OdYErHR1B+eQGgHftBZq+jqgG1TZ0S0P2zI8zOBpbjoEZ5J3B46F2urLp4UiKXYk3bFbhY/xwtd9MvN4qShiCJVdiUgyK28aZUIv1GHVkChnD4I15UkfgMBUJEWt2fMzR40/FZwZNT++bL0Khj2fzx/KjraJQ5lqMv1lOqNf1lbLgs+S+jNi6a3Kre11QB00ZXglKH8Rf0bEgGtfpEc9a9vOqYt2nXVtzA2r4+ajdu+c6G+RH3PAanwBZ0a7PiGDV9Q/Jo72tq9+oVMKQLIr9mD3aL3sc2SET/XdyUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=BA4MT9jeHvukzynya+J21u4thaRt/xRjzGLYvWZ+5d0=; b=c1INYQmBk38LnHjQg9feRnspU4cNdSIaI/cmMhyeKw9yGoSIuFvlcwfGJNgJBqGCuO7bfR3eZMu7tprnX+YNbt9Rv/F+tjXa0TxMrNSiH7nqKIjdOtGwYx7ITscB0AUHNLpWX/F11+CpPdVFGmhjz3tUx632gvM9d0Fgj5WltbSs1gexh1MZMS/ic+LEnVX16KbvhCt6QzDQdaXTtKs+TRQsPHVd9owYGbc1TX89NdpsePcj4Ht3NqOLL8ypgjBSa+OMhWVgHMFJBd3UY2dBruC2XTvw5vxqDUecoUxbJig7OEzlQ2CDyMF4hM3CRzRfQJ0d7XyAAIf/Nt3IBKcnAw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 172.205.89.229) smtp.rcpttodomain=sourceware.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BA4MT9jeHvukzynya+J21u4thaRt/xRjzGLYvWZ+5d0=; b=BD+n+zgyCmOtbVbBqAJ1btCFDoSwdyYoy+QHmpllbuADqEdXeC2RFOnP02Q/SqmdJ0P3lp03UYy3oRP8etB8E8A+v4lRuMH3AuF3t33ULel4BLk0UUUzn4W/eDuKgFddsP11YG0UbN6qC7UYnom9Tb344D02ywqCEX2sB3PRM6o= Received: from PR1P264CA0055.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:2ca::11) by PAXPR08MB6368.eurprd08.prod.outlook.com (2603:10a6:102:159::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.202.20; Tue, 14 Jul 2026 20:15:35 +0000 Received: from AM4PEPF00025F99.EURPRD83.prod.outlook.com (2603:10a6:102:2ca:cafe::28) by PR1P264CA0055.outlook.office365.com (2603:10a6:102:2ca::11) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.223.9 via Frontend Transport; Tue, 14 Jul 2026 20:15:35 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 172.205.89.229) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 172.205.89.229 as permitted sender) receiver=protection.outlook.com; client-ip=172.205.89.229; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (172.205.89.229) by AM4PEPF00025F99.mail.protection.outlook.com (10.167.16.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.245.3 via Frontend Transport; Tue, 14 Jul 2026 20:15:33 +0000 Received: from AZ-NEU-EX04.Arm.com (10.240.25.138) by AZ-NEU-EX04.Arm.com (10.240.25.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.29; Tue, 14 Jul 2026 20:15:32 +0000 Received: from ip-10-249-56-67.eu-west-1.compute.internal (10.249.56.67) by mail.arm.com (10.240.25.138) with Microsoft SMTP Server id 15.2.2562.29 via Frontend Transport; Tue, 14 Jul 2026 20:15:32 +0000 From: To: CC: , , , , , , Srinath Parvathaneni Subject: [PATCH v3 0/5] gdb/aarch64: Add POR_EL0 register support for FEAT_S1POE Date: Tue, 14 Jul 2026 20:15:25 +0000 Message-ID: <20260714201530.78374-1-srinath.parvathaneni@arm.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AM4PEPF00025F99:EE_|PAXPR08MB6368:EE_|DB1PEPF00039231:EE_|AM8PR08MB5827:EE_ X-MS-Office365-Filtering-Correlation-Id: 021ac26d-008f-4662-a0ba-08dee1e4cf98 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; ARA:13230040|1800799024|36860700016|82310400026|376014|23010399003|11063799006|56012099006|6133799003|18002099003|3023799007; X-Microsoft-Antispam-Message-Info-Original: SqkRjGseSTyATI4tQjZnQ5HkJwAiZaGHca3iXQEqy6EEiKDQeTPD22h/4RZZS+Y4X2MD0eKLvvBCMFeqAo4pRBkrUgTDDUWaP+2kbR/k03CxLCmCMLKO8eKttX2JtUCeKnGLxRYlYytapfbYzGhvbTzgpBMzdVgjlv3wBEbNHh1DN/YeU3ZtKWVYub+ldBi84Ql+zusOh2Kda2V6M3m61iUbAu2L7X4lZkvChRelJuCGCgIMYHe4tIWr7YWPa+T47kIflPy9Vr3u+xsshmIQrM0hGskEVA9VjHpc45pn8w4rZhOT/90Re7AFRZ8m6ZiY3u9LS4+HNQp8AHSagjrbgdNsRtGCp6TkB4Io3CrHV00coo1qQEQYPEgLJ6M8ky1wuFqzd/1WvtdIphyRX11REXJhwqcFn1yil4axfdYjmuRco8hOxfBRVJJ4TfrQknbH3h6DlCx3QSu5z+ydgNmAA1F2wClh1S6KK1YEyZq0qFRWaAE0XZvjyPV5rNIEUpYjFpoPg1hynrT3IoRtOUzjN600ngge4ppjgJG3vU3VDpiFcGT4c8jR3k9cJqdBfEFmekn8jK9cWTRdpS5/uBGw2c95bSQOMN2E950PHfLwLWruk7pl2SQCKva+c8yVay1gEGtjJKam6i99SKDI9ULEaQfH1uEmd5iAHMlM+XCpbUsYDi6h8XWMhRpwvj2vEb67lrezic2AQ40RbrtpUjKsgA== X-Forefront-Antispam-Report-Untrusted: CIP:172.205.89.229; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:nebula.arm.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(1800799024)(36860700016)(82310400026)(376014)(23010399003)(11063799006)(56012099006)(6133799003)(18002099003)(3023799007); DIR:OUT; SFP:1101; X-Exchange-RoutingPolicyChecked: hgtmNJLE4Cag26rAOzDp8Gq590QPpt+U/1AwsQeN2mR7fSp21HM5cef5VQhcoxwai/TJIiQvVp9BD5y3LbEZTlNSwVl3BDj6Y23g/L1oqMV0VOg1yY5orKh5PCsPsWuUxRIkCW8FD0MDR0bU/AgdJCXvFd1CCgfXJgA0FSWUBbS8s8kmAvae6cYa3DRi5u1pxLbmBUOa8wjNuiQFPQ57Lsgb/OFrq0xEhAu8akhnDKc5fRATuDKUWhRScRx/WjG5ZSGV3eVncz7qH95iS3k7mcZXC43L+a87QlU5fW8phHmFbtQX+wYU9WvgsqioBJwt02oN8sj0PHrGEzmc8wPdtA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6368 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB1PEPF00039231.eurprd03.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: ead19a01-80bf-4c93-cb14-08dee1e4a922 X-Microsoft-Antispam: BCL:0; ARA:13230040|23010399003|376014|35042699022|14060799003|36860700016|82310400026|1800799024|56012099006|11063799006|6133799003|3023799007|18002099003; X-Microsoft-Antispam-Message-Info: 3vTXh0oz5Hyx81kmQOH9vpoJwFboR95vEuK8IYLb1hRkBuFuJ8LMsqhqTvqxzlepXe1jpYXMT2xaQgsW6ixShC3RdDERQ29feQcamdJScgplZjD9sdsgNQFrWUyGijK2U6F/Ote84k0SRkkCkXbU+sAzsiaCjT0QC1JNI1T49/RCOuYowhrEP49hwMq5uES8ZqPnjxwDumXvJ7+nYTUBYkFyMpCNX19yOQ0JAw2Fw+fgtfp25RqJRmpcuWLIocjML0+nb9OR/eiBrU4ep3a/reOLMJonsgjnE0fhJPbOqM3R+h6TcA2dsmabgdLT6uO45VVwcJL/5MMN9zNM2usWvQthCQw2l3tgXSOrQN2H7OW9DRbI674w2dT/tWn3bnn0JrgGqXs6Teiv/+qox7LtWa0NwY9r/MeswpQGjIMfV9zbqEckNN++TyOhloWMa3ZaVRiZahbT3iRhZVQIkUIgD96YBRusSScjWaTdcZoqbUzNQhM5MbJvQCqcFmO4dV9AQ9VfCcHytNnaFdve/UXLXJWzcs+kT0gdx/gCduP0k6nrUhKA51ZValtGX202xCLGL2t6ENIj1DdHRlBXt74Uq7c3qBxnTeflnhVUujClYxzhocM2qmJrQd+55qQx3SIu2yBm3/r7aOxTVhdkazI5DLqr02SDNSq2y+5sX230EvxwClemMtqinrMW9Qphe4MtsLLYg2c4Bn9T5moJ8XhoKA== X-Forefront-Antispam-Report: CIP:4.158.2.129; CTRY:GB; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:outbound-uk1.az.dlp.m.darktrace.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(23010399003)(376014)(35042699022)(14060799003)(36860700016)(82310400026)(1800799024)(56012099006)(11063799006)(6133799003)(3023799007)(18002099003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: E/sThbOvDIEWKDd6/xDeYhoTB6xXPrD5YH+fEj/4D8YLSJpiBnFA8RrKczGp74YVaWpneDmmlFqP8fuizjEclc6UPP3BESOH+bn4YKMp7nF9Mtat9SNjKMSxJtwYrwbUO0g+2PROUVJQY4O5/tk59x0bq+MgwE+4wgV33SAstGm1h2m7dhtM6AA0sydggtiztDvhA8GGNwC0R3kBdNhMcKvCuE9rGyODT6Ofun7r39JOxcUdhuL5Bwqi1EgA6Anz6n3Y9xuErnMFqpV7w6gLblNvf6gWAE+OKWw+GQC8W//OC973iQlda1As+I3TGi5L8i2BzsQ3xunFOYTiR4lv1WWATKCESRf534am78e4p1TA+BsMa9nMCvsEVpo3pcGBrC3tPnr37u6Dc+rl1cbrSTAeNqRXOSui/m28r9pb3WN9NStWOGBAuc3ogOi1VxWW X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jul 2026 20:16:38.3782 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 021ac26d-008f-4662-a0ba-08dee1e4cf98 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[4.158.2.129]; Helo=[outbound-uk1.az.dlp.m.darktrace.com] X-MS-Exchange-CrossTenant-AuthSource: DB1PEPF00039231.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR08MB5827 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org From: Srinath Parvathaneni Changes v2 -> v3: Patch 1: * Address review comments. * After discussion, retain the _EL0 suffix for the POE register. * Merge the POR_EL0 custom printing support from v2 Patch 2. * Update the XML description to use the POR_EL0_FLAGS type for custom register printing. Patch 2: * Corresponds to v2 Patch 3. * No functional changes. * Approved by Thiago Jung Bauermann. Patch 3: * Corresponds to v2 Patch 4. * No functional changes. * Approved by Thiago Jung Bauermann. Patch 4: * The BFD/readelf changes from v2 Patch 5 have been posted separately to binutils-gdb and have since been approved and committed. * Corresponds to v2 Patch 6. * Address review comments on the GDB core file support. Patch 5: * Corresponds to v2 Patch 7. * Address review comments. * Update the tests to reflect the POR_EL0 custom string shown by `info registers por_el0` and `print $por_el0`. * Fix aarch64-poe-core.exp test issues. * Rebased onto current upstream master, including: * Matthieu Longo's "gdb: align siginfo_t with the Linux kernel definition". * My "gdb: Fix assignment to TYPE_CODE_FLAGS registers" patch. ---------------- Changes v1 -> v2: * Rebased the SIGSEGV diagnostic support on Matthieu Longo's generic "siginfo_t" changes, using the new "_._addr_pkey.si_pkey" layout instead of introducing a target-specific "siginfo_t" extension. * Split the original series into smaller, subsystem-specific patches: * GDB register support * POR_EL0 pretty printing * SIGSEGV diagnostics * gdbserver support * BFD/readelf core file support * GDB core file support * Testsuite * Separated BFD/readelf and GDB core file support into independent patches. * Retained FEAT_S1POE expansion as "Permission Overlay Extension" after internal discussion. * Removed the POR_EL0 permission decoding string (e.g. `por_el0[pkey=] = rwx`) from SIGSEGV diagnostics, as displaying permissions without also showing base and effective permissions can be misleading to users. * Rebased the series onto current upstream master + Matthieu's patch "gdb: align siginfo_t with the Linux kernel definition" ---------------- Hi, This series adds support for the AArch64 Permission Overlay Extension (FEAT_S1POE) in GDB and gdbserver. The series introduces support for the POR_EL0 register, allowing GDB to read and write it using the Linux NT_ARM_POE regset. It also improves SIGSEGV diagnostics for Permission Overlay violations, extends gdbserver to transfer POR_EL0 during remote debugging, restores POR_EL0 from core files, and adds testsuite coverage. The BFD/readelf support for the NT_ARM_POE core note has already been posted and approved separately. commit d15490528409305f97004a2860fdb04543862774 Author: Srinath Parvathaneni Date: Thu Jul 2 13:57:25 2026 +0000 bfd/readelf: Add core file support for FEAT_S1POE The series consists of the following patches: [1/5] gdb/aarch64: Add POR_EL0 register support Add support for reading and writing the POR_EL0 register using the Linux NT_ARM_POE regset. [2/5] gdb: Improve SIGSEGV diagnostics for POE faults Report the faulting address together with the associated protection key for Permission Overlay violations. [3/5] gdbserver/aarch64: Add POR_EL0 register support Transfer the POR register through the Linux NT_ARM_POE regset during remote debugging. [4/5] gdb/aarch64: Add core file support for FEAT_S1POE Restore the POR_EL0 register from Linux core files and signal frames. [5/5] gdb/testsuite: Add FEAT_S1POE testcases Add tests covering POR_EL0 register access, SIGSEGV diagnostics, fix-and-continue support, and core file support. The series has been tested natively and using gdbserver with remote GDB on an FVP built using shrinkwrap with a Linux kernel configured with CONFIG_ARM64_POE=y and a glibc version providing userspace POE support. Regression tested on aarch64-none-linux-gnu with no regressions. Ok for GDB master? ---------- >> This series adds support for the AArch64 Permission Overlay Extension >> (FEAT_S1POE) in GDB, gdbserver, BFD and the testsuite. > > Hi Srinath! > > I don't know much about the arm architecture or this extension in > specific, but it seems that it at least adds new registers so this seems > like a valid question: Do these impact recording of ARM instructions > with the record-full subsystem at all? > > It would be nice to have a gdb.reverse test that exercises some (ideally > all) new instructions if there are any, and some other instructions that > manipulate those new registers, if needed. > > This isn't required to get this series merged, of course, but it would > be very nice to have it. Hi Guinevere, As far as I understand, FEAT_S1POE doesn't introduce any new AArch64 instructions in userspace, it only exposes the POR_EL0 register, which is accessed through the Linux Protection-key APIs. The register itself is managed by the kernel rather than being modified by normal AArch64 instructions. Because of that, I don't think this support has any impact on the record-full subsystem. Thanks for the suggestion about adding gdb.reverse tests. I'll keep that in mind for other feature support. Regards, Srinath Srinath Parvathaneni (5): gdb/aarch64: Add POR_EL0 register support for FEAT_S1POE gdb: Improve SIGSEGV diagnostics for POE faults gdbserver/aarch64: Add POR_EL0 register support gdb/aarch64: Add core file support for FEAT_S1POE gdb/testsuite: Add FEAT_S1POE testcases gdb/Makefile.in | 2 + gdb/aarch64-linux-nat.c | 64 +++++++++++ gdb/aarch64-linux-tdep.c | 71 +++++++++++- gdb/aarch64-tdep.c | 23 ++++ gdb/aarch64-tdep.h | 10 ++ gdb/arch/aarch64-poe-linux.h | 29 +++++ gdb/arch/aarch64.c | 4 + gdb/arch/aarch64.h | 8 +- gdb/features/Makefile | 1 + gdb/features/aarch64-poe.c | 68 ++++++++++++ gdb/features/aarch64-poe.xml | 47 ++++++++ gdb/nat/aarch64-poe-linux.h | 29 +++++ gdb/testsuite/gdb.arch/aarch64-poe-core.exp | 101 ++++++++++++++++++ gdb/testsuite/gdb.arch/aarch64-poe-sigsegv. | 0 gdb/testsuite/gdb.arch/aarch64-poe-sigsegv.c | 52 +++++++++ .../gdb.arch/aarch64-poe-sigsegv.exp | 58 ++++++++++ gdb/testsuite/gdb.arch/aarch64-poe.c | 29 +++++ gdb/testsuite/gdb.arch/aarch64-poe.exp | 46 ++++++++ gdb/testsuite/lib/gdb.exp | 55 ++++++++++ gdbserver/linux-aarch64-low.cc | 30 ++++++ 20 files changed, 723 insertions(+), 4 deletions(-) create mode 100644 gdb/arch/aarch64-poe-linux.h create mode 100644 gdb/features/aarch64-poe.c create mode 100644 gdb/features/aarch64-poe.xml create mode 100644 gdb/nat/aarch64-poe-linux.h create mode 100644 gdb/testsuite/gdb.arch/aarch64-poe-core.exp create mode 100644 gdb/testsuite/gdb.arch/aarch64-poe-sigsegv. create mode 100644 gdb/testsuite/gdb.arch/aarch64-poe-sigsegv.c create mode 100644 gdb/testsuite/gdb.arch/aarch64-poe-sigsegv.exp create mode 100644 gdb/testsuite/gdb.arch/aarch64-poe.c create mode 100644 gdb/testsuite/gdb.arch/aarch64-poe.exp -- 2.43.0