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

2020-07-12 Thread Richard Henderson
On 6/25/20 9:20 AM, Peter Maydell wrote: > On Fri, 5 Jun 2020 at 05:17, Richard Henderson >> @@ -787,9 +788,11 @@ abi_long target_mremap(abi_ulong old_addr, abi_ulong >> old_size, >> new_addr = -1; >> } else { >> new_addr = h2g(host_addr); >> +/* FIXME: Move page fla

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

2020-07-11 Thread Richard Henderson
On 6/25/20 9:20 AM, Peter Maydell wrote: > On Fri, 5 Jun 2020 at 05:17, 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 v2 01/17] tcg: Introduce target-specific page data for user-only

2020-06-25 Thread Peter Maydell
On Fri, 5 Jun 2020 at 05:17, 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 > --- > @@ -289,6

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

2020-06-04 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 --- include/exec/cpu-all.h| 20 ++-- accel/tcg/translate-all.c |