qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 601b9a: target-s390x: Mask the SIGP order_cod


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 601b9a: target-s390x: Mask the SIGP order_code to 8bit.
Date: Tue, 25 Apr 2017 07:26:36 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 601b9a9008c5a612d76073bb3f178621cff41980
      
https://github.com/qemu/qemu/commit/601b9a9008c5a612d76073bb3f178621cff41980
  Author: Philipp Kern <address@hidden>
  Date:   2017-04-25 (Tue, 25 Apr 2017)

  Changed paths:
    M target/s390x/misc_helper.c

  Log Message:
  -----------
  target-s390x: Mask the SIGP order_code to 8bit.

According to "CPU Signaling and Response", "Signal-Processor Orders",
the order field is bit position 56-63. Without this, the Linux
guest kernel is sometimes unable to stop emulation and enters
an infinite loop of "XXX unknown sigp: 0xffffffff00000005".

Signed-off-by: Philipp Kern <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
[agraf: add comment according to email]
Signed-off-by: Alexander Graf <address@hidden>


  Commit: 2cf9953beebd194a432ebd567399807d9b1f6a4d
      
https://github.com/qemu/qemu/commit/2cf9953beebd194a432ebd567399807d9b1f6a4d
  Author: Aurelien Jarno <address@hidden>
  Date:   2017-04-25 (Tue, 25 Apr 2017)

  Changed paths:
    M target/s390x/misc_helper.c

  Log Message:
  -----------
  s390x/misc_helper.c: wrap s390_virtio_hypercall in BQL

s390_virtio_hypercall can trigger IO events and interrupts, most notably
when using virtio-ccw devices.

Reviewed-by: Alexander Graf <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Fixes: 278f5e98c647 ("s390x/misc_helper.c: wrap IO instructions in BQL")
Signed-off-by: Alexander Graf <address@hidden>


  Commit: fe491fa85c4634453b340b18046aae2eaf8147db
      
https://github.com/qemu/qemu/commit/fe491fa85c4634453b340b18046aae2eaf8147db
  Author: Peter Maydell <address@hidden>
  Date:   2017-04-25 (Tue, 25 Apr 2017)

  Changed paths:
    M target/s390x/misc_helper.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/agraf/tags/signed-s390-for-upstream' 
into staging

Patch queue for s390 - 2017-04-25

Two simple fixes this time around:

  - fix BQL for s390 virtio target
  - Fix SIGP emulation

# gpg: Signature made Tue 25 Apr 2017 12:40:38 BST
# gpg:                using RSA key 0x2B33791E03FEDC60
# gpg: Good signature from "Alexander Graf <address@hidden>"
# gpg:                 aka "Alexander Graf <address@hidden>"
# Primary key fingerprint: 7F2A 4C87 F94C 5EFE DBC3  75DC 1631 30DA 5B24 530A
#      Subkey fingerprint: 54D3 364F A6C3 60FF AF81  EB53 2B33 791E 03FE DC60

* remotes/agraf/tags/signed-s390-for-upstream:
  s390x/misc_helper.c: wrap s390_virtio_hypercall in BQL
  target-s390x: Mask the SIGP order_code to 8bit.

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


Compare: https://github.com/qemu/qemu/compare/b8c7193fe947...fe491fa85c46

reply via email to

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