From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F00393856DDA; Wed, 27 Jul 2022 19:10:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F00393856DDA From: "rth at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug gdb/29421] New: Extend aarch64 pauth xml for gdbstub and kernel mode Date: Wed, 27 Jul 2022 19:10:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jul 2022 19:10:43 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29421 Bug ID: 29421 Summary: Extend aarch64 pauth xml for gdbstub and kernel mode Product: gdb Version: HEAD Status: NEW Severity: enhancement Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: rth at gcc dot gnu.org Target Milestone: --- The current definition of org.gnu.gdb.aarch64.pauth only applies to TTBR0, which is sufficient for native user-mode debugging. It would be nice to extend this to TTBR1, so that it may be used for gdbstub debugging, and the cpu is in EL[12]. My suggestion is simply to add pauth_{d,c}mask1 (possibly within a different feature name). These values would be -1 when the active translation regime does not have two VA ranges, i.e. EL2 but not EL2&0, and EL3. --=20 You are receiving this mail because: You are on the CC list for the bug.=