Re: [Qemu-devel] [PATCH v4 10/10] tcg: Allow goto_tb to any target PC in user mode

2016-04-28 Thread Richard Henderson
On 04/20/2016 02:15 PM, Sergey Fedorov wrote: > --- a/target-alpha/translate.c > +++ b/target-alpha/translate.c > @@ -464,8 +464,12 @@ static bool use_goto_tb(DisasContext *ctx, uint64_t dest) > if (in_superpage(ctx, dest)) { > return true; > } > +#ifndef CONFIG_USER_ONLY >

Re: [Qemu-devel] [PATCH v4 10/10] tcg: Allow goto_tb to any target PC in user mode

2016-04-21 Thread Alex Bennée
Sergey Fedorov writes: > From: Sergey Fedorov > > In user mode, there's only a static address translation, TBs are always > invalidated properly and direct jumps are reset when mapping change. > Thus the destination address is always valid for direct jumps and > there's no need to restrict it t

[Qemu-devel] [PATCH v4 10/10] tcg: Allow goto_tb to any target PC in user mode

2016-04-20 Thread Sergey Fedorov
From: Sergey Fedorov In user mode, there's only a static address translation, TBs are always invalidated properly and direct jumps are reset when mapping change. Thus the destination address is always valid for direct jumps and there's no need to restrict it to the pages the TB resides in. Signe