qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] b55f54: exec: flush CPU TB cache in breakpoin


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] b55f54: exec: flush CPU TB cache in breakpoint_invalidate
Date: Thu, 13 Feb 2020 11:00:13 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: b55f54bc965607c45b5010a107a792ba333ba654
      
https://github.com/qemu/qemu/commit/b55f54bc965607c45b5010a107a792ba333ba654
  Author: Max Filippov <address@hidden>
  Date:   2020-02-11 (Tue, 11 Feb 2020)

  Changed paths:
    M exec.c

  Log Message:
  -----------
  exec: flush CPU TB cache in breakpoint_invalidate

When a breakpoint is inserted at location for which there's currently no
virtual to physical translation no action is taken on CPU TB cache. If a
TB for that virtual address already exists but is not visible ATM the
breakpoint won't be hit next time an instruction at that address will be
executed.

Flush entire CPU TB cache in breakpoint_invalidate to force
re-translation of all TBs for the breakpoint address.

This change fixes the following scenario:
- linux user application is running
- a breakpoint is inserted from QEMU gdbstub for a user address that is
  not currently present in the target CPU TLB
- an instruction at that address is executed, but the external debugger
  doesn't get control.

Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Max Filippov <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: e6cadf49c3d191f6984e56ec3bbeb0b103ca5bc2
      
https://github.com/qemu/qemu/commit/e6cadf49c3d191f6984e56ec3bbeb0b103ca5bc2
  Author: Taylor Simpson <address@hidden>
  Date:   2020-02-11 (Tue, 11 Feb 2020)

  Changed paths:
    M include/exec/helper-gen.h
    M include/exec/helper-head.h
    M include/exec/helper-proto.h
    M include/exec/helper-tcg.h

  Log Message:
  -----------
  tcg: Add support for a helper with 7 arguments

Currently, helpers can only take up to 6 arguments.  This patch adds the
capability for up to 7 arguments.  I have tested it with the Hexagon port
that I am preparing for submission.

Signed-off-by: Taylor Simpson <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 2445971604c1cfd3ec484457159f4ac300fb04d2
      
https://github.com/qemu/qemu/commit/2445971604c1cfd3ec484457159f4ac300fb04d2
  Author: Richard Henderson <address@hidden>
  Date:   2020-02-12 (Wed, 12 Feb 2020)

  Changed paths:
    M include/tcg/tcg-op-gvec.h
    M tcg/tcg-op-gvec.c

  Log Message:
  -----------
  tcg: Add tcg_gen_gvec_5_ptr

Extend the vector generator infrastructure to handle
5 vector arguments.

Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Reviewed-by: Taylor Simpson <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 5d6542bea780ad443c4f7f1496e64706101f525c
      
https://github.com/qemu/qemu/commit/5d6542bea780ad443c4f7f1496e64706101f525c
  Author: Peter Maydell <address@hidden>
  Date:   2020-02-13 (Thu, 13 Feb 2020)

  Changed paths:
    M exec.c
    M include/exec/helper-gen.h
    M include/exec/helper-head.h
    M include/exec/helper-proto.h
    M include/exec/helper-tcg.h
    M include/tcg/tcg-op-gvec.h
    M tcg/tcg-op-gvec.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20200212' into staging

Fix breakpoint invalidation.
Add support for tcg helpers with 7 arguments.
Add support for gvec helpers with 5 arguments.

# gpg: Signature made Thu 13 Feb 2020 00:21:34 GMT
# gpg:                using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg:                issuer "address@hidden"
# gpg: Good signature from "Richard Henderson <address@hidden>" [full]
# Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A  05C0 64DF 38E8 AF7E 215F

* remotes/rth/tags/pull-tcg-20200212:
  tcg: Add tcg_gen_gvec_5_ptr
  tcg: Add support for a helper with 7 arguments
  exec: flush CPU TB cache in breakpoint_invalidate

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/48f84ab31031...5d6542bea780



reply via email to

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