Re: [PATCH 0/9] accel/tcg: Fix page_set_flags and related [#1528]

2023-03-07 Thread Ninad Palsule
On 3/6/23 9:19 PM, Joel Stanley wrote: On Mon, 6 Mar 2023 at 02:14, Richard Henderson wrote: The primary issue is that of overflow, where "end" for the last page of the 32-bit address space overflows to 0. The fix is to use "last" instead, which can always be represented. This requires that

Re: [PATCH 0/9] accel/tcg: Fix page_set_flags and related [#1528]

2023-03-06 Thread Joel Stanley
On Mon, 6 Mar 2023 at 02:14, Richard Henderson wrote: > > The primary issue is that of overflow, where "end" for the last > page of the 32-bit address space overflows to 0. The fix is to > use "last" instead, which can always be represented. > > This requires that we adjust reserved_va as well, b

[PATCH 0/9] accel/tcg: Fix page_set_flags and related [#1528]

2023-03-05 Thread Richard Henderson
The primary issue is that of overflow, where "end" for the last page of the 32-bit address space overflows to 0. The fix is to use "last" instead, which can always be represented. This requires that we adjust reserved_va as well, because of -/* - * There are a number of places where we assign re