Re: [PULL v2 05/13] accel/tcg: Relax va restrictions on 64-bit guests

2020-06-05 Thread Richard Henderson
On 6/5/20 10:46 AM, Alex Bennée wrote: > > Richard Henderson writes: > >> On 6/5/20 7:11 AM, Alex Bennée wrote: >>> @@ -467,7 +467,7 @@ abi_long target_mmap(abi_ulong start, abi_ulong len, >>> int prot, >>> * It can fail only on 64-bit host with 32-bit target. >>> * On any

Re: [PULL v2 05/13] accel/tcg: Relax va restrictions on 64-bit guests

2020-06-05 Thread Alex Bennée
Richard Henderson writes: > On 6/5/20 7:11 AM, Alex Bennée wrote: >> @@ -467,7 +467,7 @@ abi_long target_mmap(abi_ulong start, abi_ulong len, int >> prot, >> * It can fail only on 64-bit host with 32-bit target. >> * On any other target/host host mmap() handles this error

Re: [PULL v2 05/13] accel/tcg: Relax va restrictions on 64-bit guests

2020-06-05 Thread Richard Henderson
On 6/5/20 7:11 AM, Alex Bennée wrote: > @@ -467,7 +467,7 @@ abi_long target_mmap(abi_ulong start, abi_ulong len, int > prot, > * It can fail only on 64-bit host with 32-bit target. > * On any other target/host host mmap() handles this error correctly. > */ > -

Re: [PULL v2 05/13] accel/tcg: Relax va restrictions on 64-bit guests

2020-06-05 Thread Alex Bennée
Alex Bennée writes: > Laurent Vivier writes: > >> On 15/05/2020 16:43, Alex Bennée wrote: >>> From: Richard Henderson >>> >>> We cannot at present limit a 64-bit guest to a virtual address >>> space smaller than the host. It will mostly work to ignore this >>> limitation, except if the

Re: [PULL v2 05/13] accel/tcg: Relax va restrictions on 64-bit guests

2020-06-04 Thread Alex Bennée
Laurent Vivier writes: > On 15/05/2020 16:43, Alex Bennée wrote: >> From: Richard Henderson >> >> We cannot at present limit a 64-bit guest to a virtual address >> space smaller than the host. It will mostly work to ignore this >> limitation, except if the guest uses high bits of the

Re: [PULL v2 05/13] accel/tcg: Relax va restrictions on 64-bit guests

2020-06-04 Thread Laurent Vivier
On 15/05/2020 16:43, Alex Bennée wrote: > From: Richard Henderson > > We cannot at present limit a 64-bit guest to a virtual address > space smaller than the host. It will mostly work to ignore this > limitation, except if the guest uses high bits of the address > space for tags. But it will