[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests
From: |
Peter Maydell |
Subject: |
Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests |
Date: |
Mon, 13 Mar 2023 21:35:23 +0000 |
On Mon, 13 Mar 2023 at 19:21, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> On 3/13/23 04:44, Luis Machado wrote:
> >> Luis: I think that rather than doing (2) with a QEMU namespace,
> >> we should define a gdb namespace for this. That makes it clear
> >> that this is still a gdb-upstream-sanctioned way of exposing
> >> the pauth registers.
> >
> > That should be fine as well, and would work to side-step the gdb 12 bug so
> > it doesn't crash.
> >
> > We could name the feature "org.gnu.gdb.aarch64.pauth_v2" or somesuch, and
> > slowly stop
> > using the original
> > "org.gnu.gdb.aarch64.pauth" feature. I can document the requirements for a
> > compliant
> > pauth_v2.
>
> What if we leave the original two registers, pauth_[cd]mask, in
> org.gnu.gdb.aarch64.pauth
> and move the new *_high registers into a different feature? That would
> maximize the set
> of gdb version for which the original user-only support is functional.
If that avoids the gdb crash, sure. But I had the impression from
Luis' description of it that that would not help (i.e. that it was
the not-used-by-gdb registers in other XML sections like sysregs
that resulted in it getting confused about the register number
for its internal pauth-related register).
thanks
-- PMM
- Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests, (continued)
- Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests, Richard Henderson, 2023/03/10
- Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests, Peter Maydell, 2023/03/10
- Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests, Alex Bennée, 2023/03/10
- Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests, Peter Maydell, 2023/03/13
- Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests, Luis Machado, 2023/03/13
- Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests, Richard Henderson, 2023/03/13
- Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests,
Peter Maydell <=
- Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests, Luis Machado, 2023/03/14
- Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests, Luis Machado, 2023/03/15
- Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests, Peter Maydell, 2023/03/17
- Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests, Luis Machado, 2023/03/17
- Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests, Peter Maydell, 2023/03/17
- Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests, Luis Machado, 2023/03/17
- Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests, Luis Machado, 2023/03/17
- Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests, Richard Henderson, 2023/03/10
[PATCH 04/11] scripts/ci: update gitlab-runner playbook to handle CentOS, Alex Bennée, 2023/03/10
[PATCH 07/11] tcg: Clear plugin_mem_cbs on TB exit, Alex Bennée, 2023/03/10