Re: [PATCH v4 01/23] tcg: Introduce target-specific page data for user-only

2021-02-03 Thread Alex Bennée
Richard Henderson writes: > On 2/2/21 4:40 PM, Richard Henderson wrote: >> Well, here's the thing: this appears to be v3, reposted. >> >> All of the work I did for v4 has gone missing. I went to go fix the single >> use >> of current_cpu, and it wasn't where I expected it to be, and that's w

Re: [PATCH v4 01/23] tcg: Introduce target-specific page data for user-only

2021-02-02 Thread Richard Henderson
On 2/2/21 4:40 PM, Richard Henderson wrote: > Well, here's the thing: this appears to be v3, reposted. > > All of the work I did for v4 has gone missing. I went to go fix the single > use > of current_cpu, and it wasn't where I expected it to be, and that's when I > noticed. I'm grepping blobs

Re: [PATCH v4 01/23] tcg: Introduce target-specific page data for user-only

2021-02-02 Thread Richard Henderson
On 2/2/21 4:29 AM, Peter Maydell wrote: > On Thu, 28 Jan 2021 at 22:41, Richard Henderson > wrote: >> >> This data can be allocated by page_alloc_target_data() and >> released by page_set_flags(start, end, prot | PAGE_RESET). >> >> This data will be used to hold tag memory for AArch64 MTE. >> >> S

Re: [PATCH v4 01/23] tcg: Introduce target-specific page data for user-only

2021-02-02 Thread Peter Maydell
On Thu, 28 Jan 2021 at 22:41, Richard Henderson wrote: > > This data can be allocated by page_alloc_target_data() and > released by page_set_flags(start, end, prot | PAGE_RESET). > > This data will be used to hold tag memory for AArch64 MTE. > > Signed-off-by: Richard Henderson > --- > v3: Add do

[PATCH v4 01/23] tcg: Introduce target-specific page data for user-only

2021-01-28 Thread Richard Henderson
This data can be allocated by page_alloc_target_data() and released by page_set_flags(start, end, prot | PAGE_RESET). This data will be used to hold tag memory for AArch64 MTE. Signed-off-by: Richard Henderson --- v3: Add doc comments; tweak alloc so that the !PAGE_VALID case is clear. --- incl