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

2021-01-19 Thread Peter Maydell
On Fri, 15 Jan 2021 at 22:46, 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 v3 01/21] tcg: Introduce target-specific page data for user-only

2021-01-15 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