qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 5c61af: kvmvapic: Fix TB invalidation after i


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 5c61af: kvmvapic: Fix TB invalidation after instruction pa...
Date: Sat, 10 Nov 2012 11:30:10 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 5c61afec86e5b2597b19b4657edc404fd76e6eb9
      
https://github.com/qemu/qemu/commit/5c61afec86e5b2597b19b4657edc404fd76e6eb9
  Author: Jan Kiszka <address@hidden>
  Date:   2012-11-10 (Sat, 10 Nov 2012)

  Changed paths:
    M hw/kvmvapic.c

  Log Message:
  -----------
  kvmvapic: Fix TB invalidation after instruction patching

Since 0b57e287, cpu_memory_rw_debug already triggers a TB invalidation.
As it doesn't (and cannot) set is_cpu_write_access=1 but "consumes" the
currently executed TB, the tb_invalidate_phys_page_range call from
patch_instruction didn't work anymore.

Fix this by open-coding the required bits to restore the CPU state from
the current TB position before patching and resume execution on the
patched instruction afterward.

Signed-off-by: Jan Kiszka <address@hidden>
Tested-by: Hervé Poussineau <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: 1f202568e0553b416483e5993f1bde219c22cf72
      
https://github.com/qemu/qemu/commit/1f202568e0553b416483e5993f1bde219c22cf72
  Author: BALATON Zoltan <address@hidden>
  Date:   2012-11-10 (Sat, 10 Nov 2012)

  Changed paths:
    M hw/vmware_vga.c

  Log Message:
  -----------
  vmware_vga: Add back some info in local state partially reverting aa32b38c

Keep saving display surface parameters at init and using these cached
values instead of getting them when needed. Not sure why this is
needed (maybe due to the interaction with the vga device) but not
doing this broke the Xorg vmware driver at least.

Signed-off-by: BALATON Zoltan <address@hidden>
Tested-by: Jan Kiszka <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: 253ecf83bcc658316bab3250401943d9b44c7898
      
https://github.com/qemu/qemu/commit/253ecf83bcc658316bab3250401943d9b44c7898
  Author: Stefan Weil <address@hidden>
  Date:   2012-11-10 (Sat, 10 Nov 2012)

  Changed paths:
    M qemu-timer.c

  Log Message:
  -----------
  qemu-timer: Fix compilation for non-POSIX hosts

A compiler warning is caused by the unused local function reinit_timers
on non-POSIX hosts. Include that function only for POSIX hosts.

Signed-off-by: Stefan Weil <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: 22bde7145495ad78c4bed8bb76d9401ec8d107b2
      
https://github.com/qemu/qemu/commit/22bde7145495ad78c4bed8bb76d9401ec8d107b2
  Author: Jan Kiszka <address@hidden>
  Date:   2012-11-10 (Sat, 10 Nov 2012)

  Changed paths:
    M memory.c

  Log Message:
  -----------
  memory: Reintroduce dirty flag to optimize changes on disabled regions

Cirrus is triggering this, e.g. during Win2k boot: Changes only on
disabled regions require no topology update when transaction depth drops
to 0 again.

Signed-off-by: Jan Kiszka <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: 7ea692b24055022248b895f2203a6ab1ad54859b
      
https://github.com/qemu/qemu/commit/7ea692b24055022248b895f2203a6ab1ad54859b
  Author: Jan Kiszka <address@hidden>
  Date:   2012-11-10 (Sat, 10 Nov 2012)

  Changed paths:
    M memory.c

  Log Message:
  -----------
  memory: Don't dump disabled regions

This makes "info mtree" output readable again.

Signed-off-by: Jan Kiszka <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: a9523d14c47fbdecb319211afac00caa62d998a8
      
https://github.com/qemu/qemu/commit/a9523d14c47fbdecb319211afac00caa62d998a8
  Author: Catalin Patulea <address@hidden>
  Date:   2012-11-10 (Sat, 10 Nov 2012)

  Changed paths:
    M tests/tcg/Makefile
    A tests/tcg/test-i386-fprem.c

  Log Message:
  -----------
  tests/tcg: new test for i386 FPREM and FPREM1

This is setting the stage for a cleanup of FPREM and FPREM1 helpers while being
sure that they behave same as bare metal.

The test constructs operands using combinations of corner cases for the
floating-point bitfields and prints operands, result and FPU status word for
FPREM and FPREM1. The outputs can then be compared between bare metal and QEMU.
The 'run-test-i386-fprem' make target does just that.

Signed-off-by: Catalin Patulea <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: 4d4d9b3adb0e36e75cf9b2126ee1d01b1d59f8a1
      
https://github.com/qemu/qemu/commit/4d4d9b3adb0e36e75cf9b2126ee1d01b1d59f8a1
  Author: Blue Swirl <address@hidden>
  Date:   2012-11-10 (Sat, 10 Nov 2012)

  Changed paths:
    M hw/m48t59.c
    M hw/nvram.h

  Log Message:
  -----------
  m48t59: remove unused m48t59_set_addr

Signed-off-by: Blue Swirl <address@hidden>


  Commit: e62774c41006bc8072579515b9f6782b56c33bd1
      
https://github.com/qemu/qemu/commit/e62774c41006bc8072579515b9f6782b56c33bd1
  Author: Blue Swirl <address@hidden>
  Date:   2012-11-10 (Sat, 10 Nov 2012)

  Changed paths:
    M hw/sun4c_intctl.c
    M hw/sun4m.h

  Log Message:
  -----------
  sun4c: remove unused functions

Signed-off-by: Blue Swirl <address@hidden>


  Commit: 036208c9ab50b0910c24b28a440c15e66e8a2652
      
https://github.com/qemu/qemu/commit/036208c9ab50b0910c24b28a440c15e66e8a2652
  Author: Blue Swirl <address@hidden>
  Date:   2012-11-10 (Sat, 10 Nov 2012)

  Changed paths:
    M slirp/misc.c
    M slirp/misc.h

  Log Message:
  -----------
  slirp: remove unused function u_sleep

Signed-off-by: Blue Swirl <address@hidden>


  Commit: f4359b9ffe895fda6d1ec3dd441cb8a208fb4dce
      
https://github.com/qemu/qemu/commit/f4359b9ffe895fda6d1ec3dd441cb8a208fb4dce
  Author: Blue Swirl <address@hidden>
  Date:   2012-11-10 (Sat, 10 Nov 2012)

  Changed paths:
    M disas.c
    M disas.h
    M qemu-log.h
    M target-alpha/translate.c
    M target-arm/translate.c
    M target-cris/translate.c
    M target-i386/translate.c
    M target-lm32/translate.c
    M target-m68k/translate.c
    M target-microblaze/translate.c
    M target-mips/translate.c
    M target-openrisc/translate.c
    M target-ppc/translate.c
    M target-s390x/translate.c
    M target-sh4/translate.c
    M target-sparc/translate.c
    M target-unicore32/translate.c

  Log Message:
  -----------
  disas: avoid using cpu_single_env

Pass around CPUArchState instead of using global cpu_single_env.

Signed-off-by: Blue Swirl <address@hidden>
Acked-by: Richard Henderson <address@hidden>
Acked-by: Aurelien Jarno <address@hidden>
Acked-by: Guan Xuetao <address@hidden>


  Commit: 4840552601caf1779b3de34bc8ea3fc128a52d04
      
https://github.com/qemu/qemu/commit/4840552601caf1779b3de34bc8ea3fc128a52d04
  Author: Blue Swirl <address@hidden>
  Date:   2012-11-10 (Sat, 10 Nov 2012)

  Changed paths:
    M target-i386/kvm.c

  Log Message:
  -----------
  kvm: avoid using cpu_single_env

Pass around CPUArchState instead of using global cpu_single_env.

Signed-off-by: Blue Swirl <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>


  Commit: 447b3b60d15e1db6967a19e40284d33136a7c9e7
      
https://github.com/qemu/qemu/commit/447b3b60d15e1db6967a19e40284d33136a7c9e7
  Author: Blue Swirl <address@hidden>
  Date:   2012-11-10 (Sat, 10 Nov 2012)

  Changed paths:
    M target-unicore32/softmmu.c

  Log Message:
  -----------
  target-unicore32: avoid using cpu_single_env

Pass around CPUArchState instead of using global cpu_single_env.

Signed-off-by: Blue Swirl <address@hidden>
Acked-by: Guan Xuetao <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>


  Commit: 0c4fabea809008702645e6b2c64926892b47f76d
      
https://github.com/qemu/qemu/commit/0c4fabea809008702645e6b2c64926892b47f76d
  Author: Blue Swirl <address@hidden>
  Date:   2012-11-10 (Sat, 10 Nov 2012)

  Changed paths:
    M target-xtensa/translate.c

  Log Message:
  -----------
  target-xtensa: avoid using cpu_single_env

Pass around CPUArchState instead of using global cpu_single_env.

Signed-off-by: Blue Swirl <address@hidden>
Acked-by: Max Filippov <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>


  Commit: 0af10c86ed6656da0c9b680ec9d1c65768dd99b2
      
https://github.com/qemu/qemu/commit/0af10c86ed6656da0c9b680ec9d1c65768dd99b2
  Author: Blue Swirl <address@hidden>
  Date:   2012-11-10 (Sat, 10 Nov 2012)

  Changed paths:
    M target-i386/translate.c

  Log Message:
  -----------
  target-i386: avoid using cpu_single_env

Pass around CPUArchState instead of using global cpu_single_env.

Signed-off-by: Blue Swirl <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>


Compare: https://github.com/qemu/qemu/compare/b8c6a5d9d0ab...0af10c86ed66

reply via email to

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