|
From: | Richard Henderson |
Subject: | Re: [Qemu-arm] [PATCH v2 1/2] accel/tcg/translate-all: expand cpu_restore_state addr check |
Date: | Wed, 8 Nov 2017 17:23:37 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
On 11/08/2017 04:32 PM, Alex Bennée wrote: > We are still seeing signals during translation time when we walk over > a page protection boundary. This expands the check to ensure the host > PC is inside the code generation buffer. The original suggestion was > to check versus tcg_ctx.code_gen_ptr but as we now segment the > translation buffer we have to settle for just a general check for > being inside. > > I've also fixed up the declaration to make it clear it can deal with > invalid addresses. A later patch will fix up the call sites. > > Signed-off-by: Alex Bennée <address@hidden> > Reported-by: Peter Maydell <address@hidden> > Suggested-by: Paolo Bonzini <address@hidden> > Cc: Richard Henderson <address@hidden> Reviewed-by: Richard Henderson <address@hidden> r~
[Prev in Thread] | Current Thread | [Next in Thread] |