Re: [PATCH v5 0/4] accel/tcg: Make sure that tb->size != 0 after translation

2021-04-26 Thread Cornelia Huck
On Fri, 16 Apr 2021 17:49:35 +0200 Ilya Leoshkevich wrote: > If arch-specific code generates a translation block of size 0, > tb_gen_code() may generate a spurious exception. > > Fix s390x (patch 1), ARM (patch 2) and xtensa (patch 3) and add an > assertion in order to catch such situations earl

Re: [PATCH v5 0/4] accel/tcg: Make sure that tb->size != 0 after translation

2021-04-26 Thread Cornelia Huck
On Fri, 23 Apr 2021 10:50:59 -0700 Richard Henderson wrote: > On 4/23/21 3:31 AM, Cornelia Huck wrote: > > So, what's the way forward here? I can pick this if I get an ack for > > the arm patch. If someone else wants to take this, I'll just ack the > > s390x patch. > > You've volunteered, so t

Re: [PATCH v5 0/4] accel/tcg: Make sure that tb->size != 0 after translation

2021-04-23 Thread Richard Henderson
On 4/23/21 3:31 AM, Cornelia Huck wrote: So, what's the way forward here? I can pick this if I get an ack for the arm patch. If someone else wants to take this, I'll just ack the s390x patch. You've volunteered, so that means you get it, I think. ;-) r~

Re: [PATCH v5 0/4] accel/tcg: Make sure that tb->size != 0 after translation

2021-04-23 Thread Cornelia Huck
On Fri, 16 Apr 2021 17:49:35 +0200 Ilya Leoshkevich wrote: > If arch-specific code generates a translation block of size 0, > tb_gen_code() may generate a spurious exception. > > Fix s390x (patch 1), ARM (patch 2) and xtensa (patch 3) and add an > assertion in order to catch such situations earl

[PATCH v5 0/4] accel/tcg: Make sure that tb->size != 0 after translation

2021-04-16 Thread Ilya Leoshkevich
If arch-specific code generates a translation block of size 0, tb_gen_code() may generate a spurious exception. Fix s390x (patch 1), ARM (patch 2) and xtensa (patch 3) and add an assertion in order to catch such situations earlier (patch 4). v1: https://lists.nongnu.org/archive/html/qemu-devel/20