qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 6e5021: unicore32: convert get_sp_from_cpusta


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 6e5021: unicore32: convert get_sp_from_cpustate from macro...
Date: Mon, 11 Jan 2016 06:30:04 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 6e502164618ea23f6351b5055296180c8672cad9
      
https://github.com/qemu/qemu/commit/6e502164618ea23f6351b5055296180c8672cad9
  Author: Michael Tokarev <address@hidden>
  Date:   2016-01-10 (Sun, 10 Jan 2016)

  Changed paths:
    M linux-user/unicore32/target_signal.h

  Log Message:
  -----------
  unicore32: convert get_sp_from_cpustate from macro to inline

All other architectures define get_sp_from_cpustate as an inline function,
only unicore32 uses a #define.  With this, some usages are impossible, for
example, enabling sigaltstack in linux-user/syscall.c results in

linux-user/syscall.c: In function ‘do_syscall’:
linux-user/syscall.c:8299:39: error: dereferencing ‘void *’ pointer [-Werror]
  get_sp_from_cpustate(arg1, arg2, get_sp_from_cpustate((CPUArchState 
*)cpu_env));
                                 ^
linux-user/syscall.c:8299:39: error: request for member ‘regs’ in something not 
a structure or union

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


  Commit: 477cea9e6db35152ace6ffa250080b0e01160b93
      
https://github.com/qemu/qemu/commit/477cea9e6db35152ace6ffa250080b0e01160b93
  Author: Michael Tokarev <address@hidden>
  Date:   2016-01-11 (Mon, 11 Jan 2016)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: enable sigaltstack for all architectures

There is no reason to limit sigaltstack syscall to just a few
architectures and pretend it is not implemented for others.

If some architecture is not ready for this, that architecture
should be fixed instead.

This fixes LP#1516408.

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


  Commit: 34f22fc034470032a647262ee142867b3ebe5b2f
      
https://github.com/qemu/qemu/commit/34f22fc034470032a647262ee142867b3ebe5b2f
  Author: Paolo Bonzini <address@hidden>
  Date:   2016-01-11 (Mon, 11 Jan 2016)

  Changed paths:
    M net/dump.c

  Log Message:
  -----------
  net: convert qemu_log to error_report, fix message

Ensure that the error is printed with the proper timestamp.

Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: 240125bc49d016da2f39637c205b04fc6ae6dcef
      
https://github.com/qemu/qemu/commit/240125bc49d016da2f39637c205b04fc6ae6dcef
  Author: Zhu Lingshan <address@hidden>
  Date:   2016-01-11 (Mon, 11 Jan 2016)

  Changed paths:
    M block/iscsi.c

  Log Message:
  -----------
  iscsi: fix readcapacity error message

fix:The error message for readcapacity 16 incorrectly mentioned
a readcapacity 10 failure, fixed the error message.

Signed-off-by: Zhu Lingshan <address@hidden>
Reviewed-by: John Snow <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: 82407515fe36c2d6cbd62f24c04f700f7dc25a69
      
https://github.com/qemu/qemu/commit/82407515fe36c2d6cbd62f24c04f700f7dc25a69
  Author: Thomas Huth <address@hidden>
  Date:   2016-01-11 (Mon, 11 Jan 2016)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: Add the correct device_tree.h file

device_tree.h is not in the main directory, but under
include/sysemu/ nowadays.

Signed-off-by: Thomas Huth <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: b3afe33526eca082cd5b0cdb12aabf5315cdf68b
      
https://github.com/qemu/qemu/commit/b3afe33526eca082cd5b0cdb12aabf5315cdf68b
  Author: Eric Blake <address@hidden>
  Date:   2016-01-11 (Mon, 11 Jan 2016)

  Changed paths:
    M include/crypto/tlssession.h

  Log Message:
  -----------
  crypto: Fix typo in example

The example code wouldn't even compile, since it did not use
a consistent spelling for the Error ** parameter.

Signed-off-by: Eric Blake <address@hidden>
Reviewed-by: Daniel P. Berrange <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: 66c058cb69ab158e3fd61b0172e215e650f33213
      
https://github.com/qemu/qemu/commit/66c058cb69ab158e3fd61b0172e215e650f33213
  Author: Cao jin <address@hidden>
  Date:   2016-01-11 (Mon, 11 Jan 2016)

  Changed paths:
    M hw/xen/Makefile.objs

  Log Message:
  -----------
  xen/Makefile.objs: simplify

merge last two lines, keep alphabetic order.

Signed-off-by: Cao jin <address@hidden>
Reviewed-by: Stefan Weil <address@hidden>
Reviewed-by: Stefano Stabellini <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: 713572a7b59acfcf8fe0f35c799f647792c8c8cd
      
https://github.com/qemu/qemu/commit/713572a7b59acfcf8fe0f35c799f647792c8c8cd
  Author: Marc-André Lureau <address@hidden>
  Date:   2016-01-11 (Mon, 11 Jan 2016)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: fix trace backend check

Found thanks to shellcheck!

Signed-off-by: Marc-André Lureau <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: f922254c87889f2bcdc289d4eea2dda569a03ece
      
https://github.com/qemu/qemu/commit/f922254c87889f2bcdc289d4eea2dda569a03ece
  Author: Cao jin <address@hidden>
  Date:   2016-01-11 (Mon, 11 Jan 2016)

  Changed paths:
    M hw/misc/edu.c

  Log Message:
  -----------
  hw/misc/edu: Convert to realize()

for educational PCI device

Signed-off-by: Cao jin <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: 9763af08f816cdd6f329cde1c97597a0041998f5
      
https://github.com/qemu/qemu/commit/9763af08f816cdd6f329cde1c97597a0041998f5
  Author: Johan Ouwerkerk <address@hidden>
  Date:   2016-01-11 (Mon, 11 Jan 2016)

  Changed paths:
    M linux-user/aarch64/syscall_nr.h
    M linux-user/arm/syscall_nr.h
    M linux-user/mips/syscall_nr.h

  Log Message:
  -----------
  Add missing syscall nrs. according to more recent Linux kernels

This change covers arm, aarch64, mips. Others to follow?

The change was prompted by QEMU warning about a syscall 384 (get_random())
with Debian armhf binaries (ARMv7).

Signed-off-by: Johan Ouwerkerk <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: b429d363ed551a7d6b638368c2c73001a2416706
      
https://github.com/qemu/qemu/commit/b429d363ed551a7d6b638368c2c73001a2416706
  Author: Cao jin <address@hidden>
  Date:   2016-01-11 (Mon, 11 Jan 2016)

  Changed paths:
    M hw/mips/gt64xxx_pci.c

  Log Message:
  -----------
  gt64120: convert to realize()

Signed-off-by: Cao jin <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: 9f23b27d0d981a26015472bbdf7a54e549326ed3
      
https://github.com/qemu/qemu/commit/9f23b27d0d981a26015472bbdf7a54e549326ed3
  Author: Cao jin <address@hidden>
  Date:   2016-01-11 (Mon, 11 Jan 2016)

  Changed paths:
    M hw/sh4/sh_pci.c

  Log Message:
  -----------
  SH PCI Host: convert to realize()

Signed-off-by: Cao jin <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: a2a645d9678797ea833197d0daf2e330ea75908a
      
https://github.com/qemu/qemu/commit/a2a645d9678797ea833197d0daf2e330ea75908a
  Author: Cao jin <address@hidden>
  Date:   2016-01-11 (Mon, 11 Jan 2016)

  Changed paths:
    M hw/pci-host/bonito.c

  Log Message:
  -----------
  PCI Bonito: QOMify and cleanup

Also clear the code

Signed-off-by: Cao jin <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: 8f32510f1ca72332b9a662579e951f67d636142e
      
https://github.com/qemu/qemu/commit/8f32510f1ca72332b9a662579e951f67d636142e
  Author: Peter Maydell <address@hidden>
  Date:   2016-01-11 (Mon, 11 Jan 2016)

  Changed paths:
    M scripts/checkpatch.pl

  Log Message:
  -----------
  scripts/checkpatch.pl: Don't allow special cases of unspaced operators

The checkpatch.pl script has a special case to permit the following
operators to have no spaces around them:
 <<  >>  &  ^  |  +  -  *  /  %

QEMU style prefers all operators to consistently have spacing around
them, so remove this special case handling. This avoids reviewers
having to manually note it during code review.

Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Stefan Weil <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: 529490e5d664a20d5c4223070dd7c03a0e02b6bd
      
https://github.com/qemu/qemu/commit/529490e5d664a20d5c4223070dd7c03a0e02b6bd
  Author: Peter Maydell <address@hidden>
  Date:   2016-01-11 (Mon, 11 Jan 2016)

  Changed paths:
    M include/qemu-common.h
    M include/qemu/osdep.h

  Log Message:
  -----------
  osdep.h: Include glib-compat.h in osdep.h rather than qemu-common.h

Our use of glib is now pervasive across QEMU. Move the include of glib-compat.h
from qemu-common.h to osdep.h so that it is more widely accessible and doesn't
get forgotten by accident. (Failure to include it will result in build failure
on old versions of glib which is likely to be unnoticed by most developers.)

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


  Commit: 4e6f7cfbf98e7adae2be524b4042751d107a5bb4
      
https://github.com/qemu/qemu/commit/4e6f7cfbf98e7adae2be524b4042751d107a5bb4
  Author: Thomas Huth <address@hidden>
  Date:   2016-01-11 (Mon, 11 Jan 2016)

  Changed paths:
    M hw/ide/atapi.c
    M hw/ide/macio.c

  Log Message:
  -----------
  hw/ide: Remove superfluous return statements

The "return;" statements at the end of functions do not make
much sense, so let's remove them.

Cc: address@hidden
Signed-off-by: Thomas Huth <address@hidden>
Reviewed-by: John Snow <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: ff433bbb82d2c1b4c0146ccb0ce78f58fb382fda
      
https://github.com/qemu/qemu/commit/ff433bbb82d2c1b4c0146ccb0ce78f58fb382fda
  Author: Thomas Huth <address@hidden>
  Date:   2016-01-11 (Mon, 11 Jan 2016)

  Changed paths:
    M hw/acpi/memory_hotplug.c

  Log Message:
  -----------
  hw/acpi: Remove superfluous return statement

The "return;" statement at the end of acpi_memory_plug_cb()
does not make much sense, so let's remove it.

Cc: "Michael S. Tsirkin" <address@hidden>
Cc: Igor Mammedov <address@hidden>
Signed-off-by: Thomas Huth <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: 1063477834b5fa86401da00262a92d1f386e49b9
      
https://github.com/qemu/qemu/commit/1063477834b5fa86401da00262a92d1f386e49b9
  Author: Thomas Huth <address@hidden>
  Date:   2016-01-11 (Mon, 11 Jan 2016)

  Changed paths:
    M hw/core/qdev.c

  Log Message:
  -----------
  hw/core/qdev: Remove superfluous return statement

The "return;" statement at the end of device_set_realized()
does not make much sense, so let's remove it.

Signed-off-by: Thomas Huth <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: fe02fc5209d497d011b2b4b09395e2503d9dedc6
      
https://github.com/qemu/qemu/commit/fe02fc5209d497d011b2b4b09395e2503d9dedc6
  Author: Thomas Huth <address@hidden>
  Date:   2016-01-11 (Mon, 11 Jan 2016)

  Changed paths:
    M hw/s390x/css.c
    M hw/s390x/s390-pci-bus.c

  Log Message:
  -----------
  hw/s390x: Remove superfluous return statements

The "return;" statements at the end of functions do not make
much sense, so let's remove them.

Cc: Cornelia Huck <address@hidden>
Cc: Christian Borntraeger <address@hidden>
Cc: Alexander Graf <address@hidden>
Cc: Richard Henderson <address@hidden>
Signed-off-by: Thomas Huth <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>


  Commit: 692a5519ab1510ff48bdde9701017b9425643058
      
https://github.com/qemu/qemu/commit/692a5519ab1510ff48bdde9701017b9425643058
  Author: Peter Maydell <address@hidden>
  Date:   2016-01-11 (Mon, 11 Jan 2016)

  Changed paths:
    M MAINTAINERS
    M block/iscsi.c
    M configure
    M hw/acpi/memory_hotplug.c
    M hw/core/qdev.c
    M hw/ide/atapi.c
    M hw/ide/macio.c
    M hw/mips/gt64xxx_pci.c
    M hw/misc/edu.c
    M hw/pci-host/bonito.c
    M hw/s390x/css.c
    M hw/s390x/s390-pci-bus.c
    M hw/sh4/sh_pci.c
    M hw/xen/Makefile.objs
    M include/crypto/tlssession.h
    M include/qemu-common.h
    M include/qemu/osdep.h
    M linux-user/aarch64/syscall_nr.h
    M linux-user/arm/syscall_nr.h
    M linux-user/mips/syscall_nr.h
    M linux-user/syscall.c
    M linux-user/unicore32/target_signal.h
    M net/dump.c
    M scripts/checkpatch.pl

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/mjt/tags/pull-trivial-patches-2016-01-11' into staging

trivial patches for 2016-01-11

# gpg: Signature made Mon 11 Jan 2016 08:39:32 GMT using RSA key ID A4C3D7DB
# gpg: Good signature from "Michael Tokarev <address@hidden>"
# gpg:                 aka "Michael Tokarev <address@hidden>"
# gpg:                 aka "Michael Tokarev <address@hidden>"

* remotes/mjt/tags/pull-trivial-patches-2016-01-11:
  hw/s390x: Remove superfluous return statements
  hw/core/qdev: Remove superfluous return statement
  hw/acpi: Remove superfluous return statement
  hw/ide: Remove superfluous return statements
  osdep.h: Include glib-compat.h in osdep.h rather than qemu-common.h
  scripts/checkpatch.pl: Don't allow special cases of unspaced operators
  PCI Bonito: QOMify and cleanup
  SH PCI Host: convert to realize()
  gt64120: convert to realize()
  Add missing syscall nrs. according to more recent Linux kernels
  hw/misc/edu: Convert to realize()
  configure: fix trace backend check
  xen/Makefile.objs: simplify
  crypto: Fix typo in example
  MAINTAINERS: Add the correct device_tree.h file
  iscsi: fix readcapacity error message
  net: convert qemu_log to error_report, fix message
  linux-user: enable sigaltstack for all architectures
  unicore32: convert get_sp_from_cpustate from macro to inline

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


Compare: https://github.com/qemu/qemu/compare/cc06ca4c97e7...692a5519ab15

reply via email to

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