qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/4] Fix incorrect use of tb_invalidate_phys_pag


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH 0/4] Fix incorrect use of tb_invalidate_phys_page_range by target-xtensa
Date: Sat, 14 Apr 2012 16:04:48 +0000

On Mon, Apr 9, 2012 at 22:48, Max Filippov <address@hidden> wrote:
> Avi reported [1] that target-xtensa incorrectly supply virtual addresses
> to tb_invalidate_phys_page_range. Currently there's no way to invalidate
> all cached TBs at the given virtual address in softmmu mode. As a shortcut
> solution I translate virtual address to physical address using guest TLB
> and reuse most of breakpoint_invalidate() code to invalidate TB at that
> physical address.
>
> This series is extracted from my recent xtensa pull request, build of
> usermode targets is fixed.
>
> [1] http://lists.gnu.org/archive/html/qemu-devel/2012-03/msg03572.html
>
> Max Filippov (4):
>  exec: provide tb_invalidate_phys_addr function
>  target-xtensa: fix tb invalidation for IBREAK and LOOP
>  target-xtensa: add tests for LBEG/LEND invalidation
>  target-xtensa: add test for IBREAK invalidation

Thanks, applied all.

>
>  exec-all.h                    |    1 +
>  exec.c                        |    9 +++++--
>  target-xtensa/op_helper.c     |   29 ++++++++++++++---------
>  target-xtensa/translate.c     |    2 +
>  tests/tcg/xtensa/test_break.S |   34 +++++++++++++++++++++++++++
>  tests/tcg/xtensa/test_loop.S  |   50 
> +++++++++++++++++++++++++++++++++++++++++
>  6 files changed, 111 insertions(+), 14 deletions(-)
>
> --
> 1.7.7.6
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]