[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] cpu-exec: Fix direct jump to TB spanning page
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH] cpu-exec: Fix direct jump to TB spanning page |
Date: |
Thu, 26 May 2016 13:52:20 +0100 |
On 25 May 2016 at 17:37, Sergey Fedorov <address@hidden> wrote:
> On 16/05/16 17:36, Sergey Fedorov wrote:
>> On 16/05/16 16:49, Richard Henderson wrote:
>>> On 05/16/2016 06:13 AM, Sergey Fedorov wrote:
>>>> It is not safe to make a direct jump to a TB spanning two pages in
>>>> system emulation because the mapping for the second page can get changed
>>>> but we don't take care of direct jumps in this case.
>>> We don't? I'm pretty sure that we do...
>> What we just do is flushing the CPU virtual address cache, see for
>> tlb_flush() etc.
>
> Ping. This patch fixed a bug discussed in this thread:
> http://thread.gmane.org/gmane.comp.emulators.qemu/411648
Applied to master, thanks.
-- PMM