Re: [PATCH for-8.0 11/11] linux-user/arm: Take more care allocating commpage

2023-03-27 Thread Alex Bennée
Richard Henderson writes: > On 3/27/23 01:38, Alex Bennée wrote: >> Richard Henderson writes: >> >>> User setting of -R reserved_va can lead to an assertion >>> failure in page_set_flags. Sanity check the value of >>> reserved_va and print an error message instead. Do not >>> allocate a

Re: [PATCH for-8.0 11/11] linux-user/arm: Take more care allocating commpage

2023-03-27 Thread Richard Henderson
On 3/27/23 10:36, Richard Henderson wrote: On 3/27/23 01:38, Alex Bennée wrote: Richard Henderson writes: User setting of -R reserved_va can lead to an assertion failure in page_set_flags.  Sanity check the value of reserved_va and print an error message instead.  Do not allocate a commpage

Re: [PATCH for-8.0 11/11] linux-user/arm: Take more care allocating commpage

2023-03-27 Thread Richard Henderson
On 3/27/23 01:38, Alex Bennée wrote: Richard Henderson writes: User setting of -R reserved_va can lead to an assertion failure in page_set_flags. Sanity check the value of reserved_va and print an error message instead. Do not allocate a commpage at all for m-profile cpus. I see this:

Re: [PATCH for-8.0 11/11] linux-user/arm: Take more care allocating commpage

2023-03-27 Thread Philippe Mathieu-Daudé
On 27/3/23 10:38, Alex Bennée wrote: Richard Henderson writes: User setting of -R reserved_va can lead to an assertion failure in page_set_flags. Sanity check the value of reserved_va and print an error message instead. Do not allocate a commpage at all for m-profile cpus. I see this:

Re: [PATCH for-8.0 11/11] linux-user/arm: Take more care allocating commpage

2023-03-27 Thread Alex Bennée
Richard Henderson writes: > User setting of -R reserved_va can lead to an assertion > failure in page_set_flags. Sanity check the value of > reserved_va and print an error message instead. Do not > allocate a commpage at all for m-profile cpus. I see this: TESTconvd on i386

[PATCH for-8.0 11/11] linux-user/arm: Take more care allocating commpage

2023-03-22 Thread Richard Henderson
User setting of -R reserved_va can lead to an assertion failure in page_set_flags. Sanity check the value of reserved_va and print an error message instead. Do not allocate a commpage at all for m-profile cpus. Signed-off-by: Richard Henderson --- linux-user/elfload.c | 37