qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 92bed4: linux-user/main.c: Remove redundant e


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 92bed4: linux-user/main.c: Remove redundant end_exclusive(...
Date: Mon, 23 Mar 2015 10:30:06 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 92bed463d12ab9e1e34cdd44673ab9c4315ad1d2
      
https://github.com/qemu/qemu/commit/92bed463d12ab9e1e34cdd44673ab9c4315ad1d2
  Author: Chen Gang S <address@hidden>
  Date:   2015-03-22 (Sun, 22 Mar 2015)

  Changed paths:
    M linux-user/main.c

  Log Message:
  -----------
  linux-user/main.c: Remove redundant end_exclusive() in 
arm_kernel_cmpxchg64_helper()

start/end_exclusive() need be pairs, except the start_exclusive() in
stop_all_tasks() which is only used by force_sig(), which will be abort.
So at present, start_exclusive() in stop_all_task() need not be paired.

queue_signal() may call force_sig(), or return after kill pid (or queue
signal). If could return from queue_signal(), stop_all_task() would not
be called in time, the next end_exclusive() would be issue.

So in arm_kernel_cmpxchg64_helper() for ARM, need remove end_exclusive()
after queue_signal(). The related commit: "97cc756 linux-user: Implement
new ARM 64 bit cmpxchg kernel helper".

Signed-off-by: Chen Gang <address@hidden>
Signed-off-by: Riku Voipio <address@hidden>


  Commit: 17644b362746c400f45b0d2b0a3ce8a52fed13fb
      
https://github.com/qemu/qemu/commit/17644b362746c400f45b0d2b0a3ce8a52fed13fb
  Author: Andreas Schwab <address@hidden>
  Date:   2015-03-22 (Sun, 22 Mar 2015)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: fix emulation of splice syscall

The second and fourth argument are in/out parameters, store them back
after the syscall.  Also, the fourth argument was mishandled, and EFAULT
handling was missing.

Signed-off-by: Andreas Schwab <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Riku Voipio <address@hidden>


  Commit: 61c7480fa36775cc2baa2f8141f0c64a15f827b5
      
https://github.com/qemu/qemu/commit/61c7480fa36775cc2baa2f8141f0c64a15f827b5
  Author: Leon Alrae <address@hidden>
  Date:   2015-03-23 (Mon, 23 Mar 2015)

  Changed paths:
    M linux-user/main.c

  Log Message:
  -----------
  linux-user: fix broken cpu_copy()

New threads always point at the same env which is incorrect and usually
leads to a crash.

Signed-off-by: Leon Alrae <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Signed-off-by: Riku Voipio <address@hidden>


  Commit: e7aab6d6e3f6c29406e77210b9d8654e4d11340b
      
https://github.com/qemu/qemu/commit/e7aab6d6e3f6c29406e77210b9d8654e4d11340b
  Author: Peter Maydell <address@hidden>
  Date:   2015-03-23 (Mon, 23 Mar 2015)

  Changed paths:
    M linux-user/main.c
    M linux-user/syscall.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/riku/tags/pull-linux-user-20150323' 
into staging

linux-user patches for 2.3-rc1

# gpg: Signature made Mon Mar 23 13:51:56 2015 GMT using RSA key ID DE3C9BC0
# gpg: Good signature from "Riku Voipio <address@hidden>"
# gpg:                 aka "Riku Voipio <address@hidden>"

* remotes/riku/tags/pull-linux-user-20150323:
  linux-user: fix broken cpu_copy()
  linux-user: fix emulation of splice syscall
  linux-user/main.c: Remove redundant end_exclusive() in 
arm_kernel_cmpxchg64_helper()

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


Compare: https://github.com/qemu/qemu/compare/3c6c9fe034c0...e7aab6d6e3f6

reply via email to

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