From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id gQMRJcqXlmoUQxoAWB0awg (envelope-from ) for ; Tue, 01 Sep 2026 05:15:54 -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=X1+FNrtS; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=X1+FNrtS; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 90CE71E09B; Tue, 01 Sep 2026 05:15:54 -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 [38.145.34.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 9E91E1E09B for ; Tue, 01 Sep 2026 05:15:53 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 04E5F4BA79B1 for ; Tue, 1 Sep 2026 09:15:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 04E5F4BA79B1 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=X1+FNrtS; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=X1+FNrtS Received: from OSPPR02CU001.outbound.protection.outlook.com (mail-norwayeastazlp170130007.outbound.protection.outlook.com [IPv6:2a01:111:f403:c20f::7]) by sourceware.org (Postfix) with ESMTPS id 503F14BA23EB for ; Tue, 1 Sep 2026 09:13:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 503F14BA23EB 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 503F14BA23EB Authentication-Results: sourceware.org; arc=pass smtp.remote-ip=2a01:111:f403:c20f::7 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1788254008; cv=pass; b=pabS5CUY01RvhslpboJ84RTn1vEpip9+ohAz5IjYdYdDAh+N7ydc4yfOxnhU8MPM77DbKiw70mB3yALuVGRM680ahTCsuWe75ugtLA28TS0xSrr2485LyKA2G8w33/K8g6QCeghKqLec/g5rjmnmYfsutHsFUAQmoTomEOKmcj0= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1788254008; c=relaxed/simple; bh=F8PdKxO/WxiEI6/5PI3fY2dviLbGAu8TYny1riF9oqc=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=DibxjCySKdvF/B9ES7w5pF0g8iAGwFhFu1L+cwaiLA9BQ8305LwBwHLSu8WDuX8+bjeyyA549HQO2FFNsDpYTHNGNLkLCNIPXHd4GrSs7bWqHxNAh02ftFuqqNJDj/E4sri3ukBor2LwyIOYmjAKcX2Thuy6PIJdNazL8iCGD8c= 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=X1+FNrtS; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=X1+FNrtS DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 503F14BA23EB ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=vf4m/LPwd+KiBopqPR6qKZGCLbnn/EwMTSLKxGj1c1gDYtnngGiOjLosX24Ax9W3lATd5hb8iH6u6//ReBFWFTmaRl2rUn5xXs/JSW/iPt5tzUhBPNAoY5V7SUzQqvP3PZ1uivGXNomxpw8dqeEpTtqYq9jWssgNXL9d+BlYqcQDoMNKS0SKVVsYK/hVcU3yUluk2a+RmhZyTGYQCTq1POnnc0hLUOYao2kO0A04wMy0O+I4Psu7OJNFntvbbfTl8QY3t6bldZqM63s4job1B6H7SHDWOr9HQtb4Na+Js8ViMHRQwIW9NIReiSy20b2SWEkhhws+iiFcLLO7LrCxRw== 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=jHHVT8IE1l55P+Seo4qDpN56LKiVdchW1pXn/Os9KgI=; b=BLSUzPhBV61UJtg/FlECZYjYoxQYNhwtHYYOU7n56TSeF8VTYcHT2BzRtwgC6lkJxiF7yoQ/ifaxBvXMgL0jmmy2iE6nATgEGUoz5TXVwSUYGW7n8Qdd4GuxtuGir+APDaRZ6Ufb6O3BdU91rn3+HftYdZ0rVK7CLTwMmTplvFXhMtMK7+Ze/twAgFAf3ej7N8qLNzRUfuDqWzuoaKAUlYm9V1C1mK6Pennvd+Khoc7BrmmLrFLF2K4wezHeHFDA38YIHYoNiQ8fiFaj7pAKL6BnOfUQJLEd/2u6TzL8gDj/fSVCBTY35bW9iy5YoYu7ycejep/TWtWEtwwxqfufdg== 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=jHHVT8IE1l55P+Seo4qDpN56LKiVdchW1pXn/Os9KgI=; b=X1+FNrtSiJsOIDiCFpeBtkKhJuqnls9sN2LytIo59fQIZHayRYqxu9CojZmKEVeB1BHW9R95gxe6/L9LjEolbbsZ+eur3pHM1fhIOP0geK2w9jekIRklFFNp4R5EUFidIEFMUl6aFobSpTJBNU/v9mwO7Mtn+NHwx2FaiZPbFaA= Received: from DUZPR01CA0003.eurprd01.prod.exchangelabs.com (2603:10a6:10:3c3::15) by PAWPR08MB9592.eurprd08.prod.outlook.com (2603:10a6:102:2ec::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.382.10; Tue, 1 Sep 2026 09:13:11 +0000 Received: from DU2PEPF00028D0C.eurprd03.prod.outlook.com (2603:10a6:10:3c3:cafe::2e) by DUZPR01CA0003.outlook.office365.com (2603:10a6:10:3c3::15) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.382.10 via Frontend Transport; Tue, 1 Sep 2026 09:13:11 +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 DU2PEPF00028D0C.mail.protection.outlook.com (10.167.242.20) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.360.3 via Frontend Transport; Tue, 1 Sep 2026 09:13:10 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=dzQ0wSPWyw5yoOCpWT/UuEYn/fCVJxurXgIA71Ee++Ysmxoofx8Uv7z8CPg780qnimzc6EmW5bmgNxKTRCr2uDpjjkbAwm9w+anbCSQQAGYJJiTlvkFK33kZItQFJsbnS+l1cuZJ8azw9rlzBXjX8a7kZFYihY1cG0erNws5Tmb1ula+0L21c2JDx3QxB0YCgnR1gm+1TqEnGaozAzz3jQyNU7qFLUQXD3Cmw/LZpxsuo4voUlgm2ut9lFWT2dVesH0nmZJKLMJ7ntjicsCNLrarVs2mgEGN0M5t5o0NVRI3u36KVWgKIwW64bxO6md4dxrjVxgWDzvzsmHAkHLd3g== 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=jHHVT8IE1l55P+Seo4qDpN56LKiVdchW1pXn/Os9KgI=; b=jr5i2UtPizJZEIrWE4ZSXcoWZicE5twigyGqOK7q4EzGSOZ7P9o36X0xDOABjRrcFrdFwyxVs3+hivhaaVYkcRklN5tySGK3DncD8gCab78zfHv49NKkkp63pN8lAgCMH7EErMY1SpJmolPl0CR3JxNb5h5jDkbDEN0/zKWbT5S7qmTZ/46cnOMw9vtV/z41zG8lgpTkmnTbwGejD+3pO9SYv08KdOmwDy4EEvz4Q8VmjiGbidSK8HXuC5r8mR19e4+2ZbTtxM90dMvFjmvmTXqBxLOm0lq0PmRXV53r4ZWo/BRBaplwwxOkI2bIDDlvvdwLEf+cT2zIjJ8b6x/U9Q== 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=jHHVT8IE1l55P+Seo4qDpN56LKiVdchW1pXn/Os9KgI=; b=X1+FNrtSiJsOIDiCFpeBtkKhJuqnls9sN2LytIo59fQIZHayRYqxu9CojZmKEVeB1BHW9R95gxe6/L9LjEolbbsZ+eur3pHM1fhIOP0geK2w9jekIRklFFNp4R5EUFidIEFMUl6aFobSpTJBNU/v9mwO7Mtn+NHwx2FaiZPbFaA= Received: from DUZPR01CA0208.eurprd01.prod.exchangelabs.com (2603:10a6:10:4b6::6) by GVUPR08MB11911.eurprd08.prod.outlook.com (2603:10a6:150:347::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.382.10; Tue, 1 Sep 2026 09:12:35 +0000 Received: from DB5PEPF00014B8F.eurprd02.prod.outlook.com (2603:10a6:10:4b6:cafe::84) by DUZPR01CA0208.outlook.office365.com (2603:10a6:10:4b6::6) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.382.10 via Frontend Transport; Tue, 1 Sep 2026 09:12:34 +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 DB5PEPF00014B8F.mail.protection.outlook.com (10.167.8.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.382.8 via Frontend Transport; Tue, 1 Sep 2026 09:12:34 +0000 Received: from AZ-NEU-EXJ02.Arm.com (10.240.25.139) 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, 1 Sep 2026 09:12:18 +0000 Received: from AZ-NEU-EX04.Arm.com (10.240.25.138) by AZ-NEU-EXJ02.Arm.com (10.240.25.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.29; Tue, 1 Sep 2026 09:12:18 +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, 1 Sep 2026 09:12:18 +0000 From: To: CC: , , , , , , , Srinath Parvathaneni Subject: [PATCH v4 0/5] gdb/aarch64: Add POR_EL0 register support for FEAT_S1POE Date: Tue, 1 Sep 2026 09:12:11 +0000 Message-ID: <20260901091216.5711-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: DB5PEPF00014B8F:EE_|GVUPR08MB11911:EE_|DU2PEPF00028D0C:EE_|PAWPR08MB9592:EE_ X-MS-Office365-Filtering-Correlation-Id: eb0bbb78-ad8c-471b-ab6c-08df08093ea7 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; ARA:13230040|23010399003|376014|1800799024|82310400026|36860700016|10067099003|56012099006|11063799006|3023799007|18002099003; X-Microsoft-Antispam-Message-Info-Original: tZBAtRRAS84Fm6+E2DvSUmSj8uYcbnUbGd/dRTu4HCtTQWcGqklnyr5rnnKcts0NO9FP5EcgJZcfof7vOr3MCss81G8FpUuydejTMtQSi1gRy4Z2SoKg8ILRFHGjC4w4SY9HG/qF33Wsq1xE6+UWZqyb0IVTVfKQ5SkBDyn45bH1QsLADIWi6ytIkOANqboEs9Y8nfwsDCouiYqDmKtqZcYBhb6qelMePua+PbiSw1UGxqpue41Y6gzBABd82MwEoj9cz9YtwlYzmdaDpGAsSxcygIh/pArEfz5da0v8x+0AqlXOkn8/b85l1D3qkYpHYEycHXgGbmMcMUEbmMT41kglVsy09WDZBnXhHQ3O7YQ8ZShQhXQi+fgpr+CG1BwwFKOwPRcnJ4VaIU/iy+QYDopnkp+2OqqDxV6YAruajLGTNcm2ASJQe9GzHlaj1BQV+g3SjXiX6ea0gim/j3XWHAikeKiods1vi0YpZPyAysCZFtikFu3WbNDDPXDYRC1sRMIif5otalaW0u88ioZPj37YBY5BBPen4UtfFKYkodE62gn/CTaWjQMjmOiZaJJyXfU9cs0Us6Hmj+RGL1PSQb/Hqi2BWkWS0/C5RG5Yx9kqzPwdoBMfDkyBML16yiIT/8r2Bhx2xREUYrqnoxw9NSyZpbSvE5Rnx3DBO63ypaaq3N4fFMxgOZ3KXRldiI+37/vR+ygeq5PNyrsN8Wb7Ag== 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)(23010399003)(376014)(1800799024)(82310400026)(36860700016)(10067099003)(56012099006)(11063799006)(3023799007)(18002099003); DIR:OUT; SFP:1101; X-Exchange-RoutingPolicyChecked: KN/iLhJ/+6k01zR/MRlVEgksOzjBQhpmhVydK2vz1rbsTNnfG6r4nPmwj5cQ7rZMOdJ4SnXV0sfBVbOIqffsOXfTROXvzZAGVo4LzFWTa5ANy8vCZ5qqh/ylyR0FOomCthNvS41EZJY27CppCLqLeVlmLCIaJuJ93LxprUmw3iHqmCK2fQIc0WYTtZohlVT8lB2/Gv9VO4z+HNtcri+cY1XyBVPPd4rjFH5PB2LK1KiYCYWhikieaDCw0vOZWRki0KTqel+uO4Y5nNLOE3pwmJuSg2CuqiJy6PbV7BlogesVuO46cPLHCyrKewnXebdLjF2Jy9L3bS4gWQEd7rNaLQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVUPR08MB11911 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DU2PEPF00028D0C.eurprd03.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 00288fbf-dfda-4004-0005-08df08092929 X-Microsoft-Antispam: BCL:0; ARA:13230040|23010399003|36860700016|82310400026|376014|35042699022|1800799024|14060799003|56012099006|10067099003|11063799006|3023799007|18002099003; X-Microsoft-Antispam-Message-Info: TvGxWQhHTCetUW0vhJH5YfXdLA+uBwGAuqVZkAVBNWLCi5sK0HhYbdN4thSkL+MnabdjvDdE1/Jck6eaxQpIaUMrviB7yKYmheZmlHzpwQI0spxWOIXHFvxcjkHUM6H0s/1PAZrV/lwzYqOWDj8wHqV4uXbEULdq/poVqgVNFnNYQE1c0oTWP504eCtDTikgP9wzoRS4EVLu/riZnKV7hcTCu88HoirjtDFHGVQwDEGwz+wgtv2sD0QL6SgiOpfpDT8lBZZrbEjVWjl/HGa4w58zwU6G68QX4QO/oelGkRwACsGQgUDIFKQGgjUWYQbd3SE0LJ5BmT6pQXS9tVKrD1xzxZHk4XWwMnz+OjR2KFcKruDnvHWaFOCVIhDE7vFSv8DG9zuDKR9b7hT/5RkC5rBIeqPUQjq/LNZJq2ZA2vqkpWSWpbBVn+VF3UyI4qx+cvTwt4s2KeOeNs5BhCmR4K8KysaWxFVg0Wy/SxpxlkiVuIRyuSkPpiLzLkvhBbcugSXA6jWzoaNqqT7wRSPJAJihw8PaWpR2sEu9XGztJmT7Y5K0+J6fTBvj190mXdtOiM6H6gd5TIZYYGEU6Wa8Clqop2kFvIMmdDxP16fK/H5WkugizFCFqgi6zmew5MjufxY37qHjolUrNKVLiQ7AmYAVeA9pZUWD6iOUi+AwEOZsLlPS9jRl1rkvDhLhqXtBWalWFKpBlP0xpO46eT4IxQ== 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)(36860700016)(82310400026)(376014)(35042699022)(1800799024)(14060799003)(56012099006)(10067099003)(11063799006)(3023799007)(18002099003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: lrpaikN6rISXhjlbuEud7wzJzApGmqpBM3lVdwsxzfvaqmhcUx4Ssg6sXgd0GCtx6N4pzo/23ymSBovhZTsxiwqbi6Y0y/tc+E4mJtFbGfUt5vozN4HXLGx2/GSq0G5mDijfFZjge+8J76e/yWGBwjozzM22+Dn4Jzwj+Rpjx8BLPwgOiK0gqR7lsplq1tRC4biyq18CwUXZf/V1+UhK3QqoQyCOCT+usgn5YrKbZdguui88I7rN3tSZhkwiqiJiuOm8TtXoLKViuDQo1FSwavfSUzrltvvYFC0l/2YF/UDPImHcJX23JKG9k00T+0JqRSawICbxZi5wKDSq/OT7u0ogE1K3frfT6LlWbtFihEjFY3qd9dz2hWYrSXzQ62muk/v+wlDpYC6O5ZIyCZmhY2TqgSvzu1j8CNTt5BWnsnSBPhJkkYWRjvLfW/ZVm4Rt X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2026 09:13:10.7669 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: eb0bbb78-ad8c-471b-ab6c-08df08093ea7 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: DU2PEPF00028D0C.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAWPR08MB9592 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 v3 -> v4: Patch 1: * Address review comments and update the POR_EL0 interface based on the discussion. * Keep POR_EL0 as a raw uint64 in the target description and move the permission decoding out of the XML. * Add por_p0 through por_p15 pseudo-registers, with each pseudo-register mapping to the corresponding 4-bit field in POR_EL0. * Add read/write support for the POE pseudo-registers. Writing a pseudo-register updates the corresponding field in POR_EL0. * Add the "por" register group containing POR_EL0 and the POE pseudo-registers. * Update the POR_EL0 display to omit zero valued fields and split long output across multiple lines. * Add custom permission display for the POE pseudo-registers. Patch 2: * Address review comments. * Rebase to use the generic gdb_si accessors for si_code, si_errno, si_addr and si_pkey. * Fix the SIGSEGV comment and mark the protection-key diagnostic for translation. Patch 3: * Rebased. * No functional changes. Patch 4: * Rebased. * Update the patch subject to mention both core file and signal frame support. * Address review comments. Patch 5: * Address review comments. * Add a POE signal frame test to verify that POR_EL0 is restored from the saved signal context while unwinding. * Add tests for the new "por" register group and POE pseudo-registers. * Use "require allow_aarch64_poe_tests" in the POE tests. * Remove the stray aarch64-poe-sigsegv. file. * Update the tests for the new POR_EL0 interface. ----------------------------- 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 adds support for the POR_EL0 register, allowing GDB to read and write it using the Linux NT_ARM_POE regset. It also adds POE pseudo-registers por_p0 through por_p15, with each pseudo-register mapping to the corresponding 4-bit permission field in POR_EL0. POR_EL0 and the pseudo-registers are added to the "por" register group so they can be displayed together using "info registers por". The series also improves SIGSEGV diagnostics for Permission Overlay violations, adds gdbserver support for POR_EL0, adds core file support and restores POR_EL0 while unwinding through signal frames. The BFD/readelf support for the NT_ARM_POE core note was posted separately and has already been approved and committed: commit d15490528409305f97004a2860fdb04543862774 Author: Srinath Parvathaneni srinath.parvathaneni@arm.com 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 for FEAT_S1POE Add support for reading and writing POR_EL0 using the Linux NT_ARM_POE regset. Add por_p0 through por_p15 pseudo-registers for accessing the individual permission fields in POR_EL0, and add the "por" register group for displaying the POE register state. [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 POR_EL0 using the Linux NT_ARM_POE regset during remote debugging. [4/5] gdb/aarch64: Add core file and signal frame support for FEAT_S1POE Restore POR_EL0 from Linux core files and from the POE context while unwinding through signal frames. [5/5] gdb/testsuite: Add FEAT_S1POE testcases Add tests for POR_EL0 and the POE pseudo-registers, the "por" register group, SIGSEGV diagnostics, fix-and-continue support, core file support and signal frame unwinding. 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? 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 and signal frame 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 | 68 ++++- gdb/aarch64-tdep.c | 274 ++++++++++++++++++ gdb/aarch64-tdep.h | 12 + 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 | 14 + gdb/features/aarch64-poe.xml | 11 + gdb/nat/aarch64-poe-linux.h | 29 ++ gdb/testsuite/gdb.arch/aarch64-poe-core.exp | 101 +++++++ gdb/testsuite/gdb.arch/aarch64-poe-sigframe.c | 45 +++ .../gdb.arch/aarch64-poe-sigframe.exp | 55 ++++ gdb/testsuite/gdb.arch/aarch64-poe-sigsegv.c | 52 ++++ .../gdb.arch/aarch64-poe-sigsegv.exp | 55 ++++ gdb/testsuite/gdb.arch/aarch64-poe.c | 29 ++ gdb/testsuite/gdb.arch/aarch64-poe.exp | 60 ++++ gdb/testsuite/lib/gdb.exp | 55 ++++ gdbserver/linux-aarch64-low.cc | 30 ++ 21 files changed, 994 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-sigframe.c create mode 100644 gdb/testsuite/gdb.arch/aarch64-poe-sigframe.exp 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