Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests

2023-03-17 Thread Luis Machado
On 3/17/23 17:12, Luis Machado wrote: On 3/17/23 17:07, Peter Maydell wrote: On Fri, 17 Mar 2023 at 16:55, Luis Machado wrote: On 3/17/23 16:37, Peter Maydell wrote: Having run into this problem in another couple of situations, one of which involved gdb 10, I think I'm increasingly favouring

Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests

2023-03-17 Thread Luis Machado
On 3/17/23 17:07, Peter Maydell wrote: On Fri, 17 Mar 2023 at 16:55, Luis Machado wrote: On 3/17/23 16:37, Peter Maydell wrote: Having run into this problem in another couple of situations, one of which involved gdb 10, I think I'm increasingly favouring option 2 here. The affected gdbs seem t

Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests

2023-03-17 Thread Peter Maydell
On Fri, 17 Mar 2023 at 16:55, Luis Machado wrote: > On 3/17/23 16:37, Peter Maydell wrote: > > Having run into this problem in another couple of situations, one of > > which involved gdb 10, I think I'm increasingly favouring option > > 2 here. The affected gdbs seem to be quite widely deployed, a

Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests

2023-03-17 Thread Luis Machado
On 3/17/23 16:37, Peter Maydell wrote: On Wed, 15 Mar 2023 at 09:51, Luis Machado wrote: On 3/13/23 11:44, Luis Machado wrote: On 3/13/23 11:22, Peter Maydell via Gdb wrote: Luis and I came up with two options: (1) leave QEMU outputting the pauth xml as-is, and tell people whose gdb 12 crash

Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests

2023-03-17 Thread Peter Maydell
On Wed, 15 Mar 2023 at 09:51, Luis Machado wrote: > On 3/13/23 11:44, Luis Machado wrote: > > On 3/13/23 11:22, Peter Maydell via Gdb wrote: > >> Luis and I came up with two options: > >> > >> (1) leave QEMU outputting the pauth xml as-is, and tell people > >> whose gdb 12 crashes that they should

Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests

2023-03-15 Thread Luis Machado
Hi, On 3/13/23 11:44, Luis Machado wrote: On 3/13/23 11:22, Peter Maydell via Gdb wrote: On Fri, 10 Mar 2023 at 18:20, Alex Bennée wrote: (adding some more gdb types to CC) Fabiano Rosas writes: Peter Maydell writes: On Fri, 10 Mar 2023 at 10:31, Alex Bennée wrote: You need a very

Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests

2023-03-14 Thread Luis Machado
On 3/13/23 19:21, Richard Henderson 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

Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests

2023-03-13 Thread Peter Maydell
On Mon, 13 Mar 2023 at 19:21, Richard Henderson 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 exposin

Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests

2023-03-13 Thread Richard Henderson
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 s

Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests

2023-03-13 Thread Luis Machado
On 3/13/23 11:22, Peter Maydell via Gdb wrote: On Fri, 10 Mar 2023 at 18:20, Alex Bennée wrote: (adding some more gdb types to CC) Fabiano Rosas writes: Peter Maydell writes: On Fri, 10 Mar 2023 at 10:31, Alex Bennée wrote: You need a very new gdb to be able to run with pauth suppor

Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests

2023-03-13 Thread Peter Maydell
On Fri, 10 Mar 2023 at 18:20, Alex Bennée wrote: > > > (adding some more gdb types to CC) > > Fabiano Rosas writes: > > > Peter Maydell writes: > > > >> On Fri, 10 Mar 2023 at 10:31, Alex Bennée wrote: > >>> > >>> You need a very new gdb to be able to run with pauth support otherwise > >>> your

Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests

2023-03-13 Thread Luis Machado
On 3/10/23 18:07, Peter Maydell wrote: On Fri, 10 Mar 2023 at 18:00, Fabiano Rosas wrote: Peter Maydell writes: On Fri, 10 Mar 2023 at 10:31, Alex Bennée wrote: You need a very new gdb to be able to run with pauth support otherwise your likely to hit asserts and aborts. Disable pauth for

Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests

2023-03-10 Thread Alex Bennée
(adding some more gdb types to CC) Fabiano Rosas writes: > Peter Maydell writes: > >> On Fri, 10 Mar 2023 at 10:31, Alex Bennée wrote: >>> >>> You need a very new gdb to be able to run with pauth support otherwise >>> your likely to hit asserts and aborts. Disable pauth for now until we >>>

Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests

2023-03-10 Thread Fabiano Rosas
Peter Maydell writes: > On Fri, 10 Mar 2023 at 18:00, Fabiano Rosas wrote: >> >> Peter Maydell writes: >> >> > On Fri, 10 Mar 2023 at 10:31, Alex Bennée wrote: >> >> >> >> You need a very new gdb to be able to run with pauth support otherwise >> >> your likely to hit asserts and aborts. Disabl

Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests

2023-03-10 Thread Richard Henderson
On 3/10/23 09:47, Peter Maydell wrote: On Fri, 10 Mar 2023 at 10:31, Alex Bennée wrote: You need a very new gdb to be able to run with pauth support otherwise your likely to hit asserts and aborts. Disable pauth for now until we can properly probe support in gdb. Signed-off-by: Alex Bennée

Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests

2023-03-10 Thread Peter Maydell
On Fri, 10 Mar 2023 at 18:00, Fabiano Rosas wrote: > > Peter Maydell writes: > > > On Fri, 10 Mar 2023 at 10:31, Alex Bennée wrote: > >> > >> You need a very new gdb to be able to run with pauth support otherwise > >> your likely to hit asserts and aborts. Disable pauth for now until we > >> can

Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests

2023-03-10 Thread Fabiano Rosas
Peter Maydell writes: > On Fri, 10 Mar 2023 at 10:31, Alex Bennée wrote: >> >> You need a very new gdb to be able to run with pauth support otherwise >> your likely to hit asserts and aborts. Disable pauth for now until we >> can properly probe support in gdb. >> >> Signed-off-by: Alex Bennée >

Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests

2023-03-10 Thread Peter Maydell
On Fri, 10 Mar 2023 at 10:31, Alex Bennée wrote: > > You need a very new gdb to be able to run with pauth support otherwise > your likely to hit asserts and aborts. Disable pauth for now until we > can properly probe support in gdb. > > Signed-off-by: Alex Bennée If it makes gdb fall over, then

Re: [PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests

2023-03-10 Thread Richard Henderson
On 3/10/23 02:31, Alex Bennée wrote: You need a very new gdb to be able to run with pauth support otherwise your likely to hit asserts and aborts. Disable pauth for now until we can properly probe support in gdb. Signed-off-by: Alex Bennée --- tests/tcg/aarch64/Makefile.target | 2 ++ 1 file

[PATCH 09/11] tests/tcg: disable pauth for aarch64 gdb tests

2023-03-10 Thread Alex Bennée
You need a very new gdb to be able to run with pauth support otherwise your likely to hit asserts and aborts. Disable pauth for now until we can properly probe support in gdb. Signed-off-by: Alex Bennée --- tests/tcg/aarch64/Makefile.target | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t