qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] f068d3: s390x/css: handle emw correctly for t


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] f068d3: s390x/css: handle emw correctly for tsch
Date: Tue, 10 Jun 2014 04:00:07 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: f068d320def7fd83bf0fcdca37b305f1c2ac5413
      
https://github.com/qemu/qemu/commit/f068d320def7fd83bf0fcdca37b305f1c2ac5413
  Author: Cornelia Huck <address@hidden>
  Date:   2014-06-10 (Tue, 10 Jun 2014)

  Changed paths:
    M hw/s390x/css.c

  Log Message:
  -----------
  s390x/css: handle emw correctly for tsch

We should not try to store the emw portion of the irb if extended
measurements are not applicable. In particular, we should not surprise
the guest by storing a larger irb if it did not enable extended
measurements.

Cc: address@hidden
Reviewed-by: David Hildenbrand <address@hidden>
Tested-by: Christian Borntraeger <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: 08da527fd07cf01dc29ca60a144fbdd60b0fb7c0
      
https://github.com/qemu/qemu/commit/08da527fd07cf01dc29ca60a144fbdd60b0fb7c0
  Author: Cornelia Huck <address@hidden>
  Date:   2014-06-10 (Tue, 10 Jun 2014)

  Changed paths:
    M hw/intc/s390_flic_kvm.c

  Log Message:
  -----------
  s390x/kvm: make flic play well with old kernels

If we run with an old kernel that does not support KVM_CAP_IRQ_ROUTING,
we don't have to do anything in the ->register_io_adapter and
->io_adapter_map callbacks and therefore should return 0 instead of
-ENOSYS (just as the non-kvm flic does).

This fixes using adapter interrupts when running under an older kernel,
which broke with "s390x: add I/O adapter registration".

Reported-by: Christian Borntraeger <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: 4cb88c3c378ae8c86c0ba53619caf6924f72239c
      
https://github.com/qemu/qemu/commit/4cb88c3c378ae8c86c0ba53619caf6924f72239c
  Author: Dominik Dingel <address@hidden>
  Date:   2014-06-10 (Tue, 10 Jun 2014)

  Changed paths:
    M target-s390x/cpu.h
    M target-s390x/kvm.c
    M target-s390x/misc_helper.c
    M trace-events

  Log Message:
  -----------
  s390x/kvm: enable/reset cmma via vm attributes

Exploit the new api for userspace-controlled cmma. If supported, enable
cmma during kvm initialization and register a reset handler for cmma,
which is also called directly from the load IPL code.

The reset functionality is needed to reset the cmma state of the guest
pages, e.g. if a system reset is triggered via qemu monitor; otherwise
this could result in data corruption.

A guest triggered reboot may now lead to multiple cmma resets; this is
OK, however, as this is slowpath anyway and the simplest way to achieve
the intended effects.

Signed-off-by: Dominik Dingel <address@hidden>
Acked-by: Christian Borntraeger <address@hidden>
Acked-by: Cornelia Huck <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: a2689242b10a7bbc9a952659a2a5cc04a86d10e1
      
https://github.com/qemu/qemu/commit/a2689242b10a7bbc9a952659a2a5cc04a86d10e1
  Author: Thomas Huth <address@hidden>
  Date:   2014-06-10 (Tue, 10 Jun 2014)

  Changed paths:
    M target-s390x/kvm.c

  Log Message:
  -----------
  s390x/kvm: Log unmanageable external interruptions

Interception code 0x14 only drops to userspace when an unmanageable
external interruption interception occured (e.g. if the External New
PSW does not disable external interruptions). Instead of bailing out
via the default handler, it is better to inform the user with a
proper error message that also includes the bad PSW, and to stop
the affected CPU with a panic event instead.

Signed-off-by: Thomas Huth <address@hidden>
Signed-off-by: Jens Freimann <address@hidden>
Reviewed-by: David Hildenbrand <address@hidden>
Acked-by: Christian Borntraeger <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: 6449a41a4d4082ddb0a6e156c7e8932fe7d60fbf
      
https://github.com/qemu/qemu/commit/6449a41a4d4082ddb0a6e156c7e8932fe7d60fbf
  Author: Thomas Huth <address@hidden>
  Date:   2014-06-10 (Tue, 10 Jun 2014)

  Changed paths:
    M target-s390x/kvm.c

  Log Message:
  -----------
  s390x/kvm: Log unmanageable program interruptions

The kernel only drops to userspace if an endless program interrupt loop
has been detected. Let's print an error message in this case to inform
the user about the crash and stop the affected CPU with a panic event,
just like it is already done for the external interruption loop detection.

Signed-off-by: Thomas Huth <address@hidden>
Signed-off-by: Jens Freimann <address@hidden>
Reviewed-by: Cornelia Huck <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: bcb2b582f35a34b5aee6bdafd93f3eabd9fca6ff
      
https://github.com/qemu/qemu/commit/bcb2b582f35a34b5aee6bdafd93f3eabd9fca6ff
  Author: Jens Freimann <address@hidden>
  Date:   2014-06-10 (Tue, 10 Jun 2014)

  Changed paths:
    M hw/s390x/css.c
    M hw/s390x/css.h
    M hw/s390x/virtio-ccw.c

  Log Message:
  -----------
  s390/virtio-ccw: migration support

This patch adds live migration support for virtio-ccw devices.
It's not done with vmstate because virtio itself is not yet ported
to vmstate either.

Signed-off-by: Jens Freimann <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: 79afc36d91be7550affbe7db227b4552451da41d
      
https://github.com/qemu/qemu/commit/79afc36d91be7550affbe7db227b4552451da41d
  Author: Cornelia Huck <address@hidden>
  Date:   2014-06-10 (Tue, 10 Jun 2014)

  Changed paths:
    M hw/s390x/s390-virtio-bus.c
    M target-s390x/cpu.h
    M target-s390x/interrupt.c
    M target-s390x/kvm.c

  Log Message:
  -----------
  s390x: consolidate floating interrupts

Move the injection code for all floating interrupts to interrupt.c
and add a comment.

Also get rid of the #ifdef CONFIG_KVM for the service interrupt.

Reviewed-by: Thomas Huth <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: 66ad0893f07f194b5c8607cb81061b8d7202511c
      
https://github.com/qemu/qemu/commit/66ad0893f07f194b5c8607cb81061b8d7202511c
  Author: Cornelia Huck <address@hidden>
  Date:   2014-06-10 (Tue, 10 Jun 2014)

  Changed paths:
    M target-s390x/cpu.h
    M target-s390x/kvm.c

  Log Message:
  -----------
  s390x/kvm: add alternative injection interface

Add kvm_s390_{vcpu,floating}_interrupt, which offer the possibility
to inject interrupts with larger payloads (when a kvm backend becomes
available).

Moreover, kvm_s390_floating_interrupt() does no longer have the bogus
requirement for a vcpu.

Signed-off-by: Cornelia Huck <address@hidden>


  Commit: de13d2161473d02ae97ec0f8e4503147554892dd
      
https://github.com/qemu/qemu/commit/de13d2161473d02ae97ec0f8e4503147554892dd
  Author: Cornelia Huck <address@hidden>
  Date:   2014-06-10 (Tue, 10 Jun 2014)

  Changed paths:
    M hw/s390x/css.c
    M hw/s390x/s390-virtio-bus.c
    M target-s390x/cpu.h
    M target-s390x/interrupt.c
    M target-s390x/kvm.c
    M target-s390x/misc_helper.c

  Log Message:
  -----------
  s390x: cleanup interrupt injection

Remove the need for a cpu to inject a floating interrupt on kvm.

Acked-by: Thomas Huth <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: bbd8bb8e3245cf6fc6d12b10b3320ab183adb866
      
https://github.com/qemu/qemu/commit/bbd8bb8e3245cf6fc6d12b10b3320ab183adb866
  Author: Cornelia Huck <address@hidden>
  Date:   2014-06-10 (Tue, 10 Jun 2014)

  Changed paths:
    M hw/intc/s390_flic_kvm.c
    M target-s390x/cpu.h
    M target-s390x/kvm.c

  Log Message:
  -----------
  s390x/kvm: inject via flic

Try to inject floating interrupts via the flic if it is available.
This allows us to inject the full range of floating interrupts.

Reviewed-by: Jens Freimann <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: 7b0140e49b1c239c880c90235548917086f53cdc
      
https://github.com/qemu/qemu/commit/7b0140e49b1c239c880c90235548917086f53cdc
  Author: Peter Maydell <address@hidden>
  Date:   2014-06-10 (Tue, 10 Jun 2014)

  Changed paths:
    M hw/intc/s390_flic_kvm.c
    M hw/s390x/css.c
    M hw/s390x/css.h
    M hw/s390x/s390-virtio-bus.c
    M hw/s390x/virtio-ccw.c
    M target-s390x/cpu.h
    M target-s390x/interrupt.c
    M target-s390x/kvm.c
    M target-s390x/misc_helper.c
    M trace-events

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20140610' into staging

Several patches for s390:

- bugfixes: A fix for a long-standing bug in the css code as well as
  a fixup for the recent I/O adapter support.
- Exploitation of the userspace cmma enablement/reset interface, if
  it is present.
- Some debuggability improvements by logging unmanageable conditions.
- virtio-ccw finally gets migration support for its structures.
- Some cleanup as to how floating interrupts are injected.

# gpg: Signature made Tue 10 Jun 2014 08:57:56 BST using RSA key ID C6F02FAF
# gpg: Can't check signature: public key not found

* remotes/cohuck/tags/s390x-20140610:
  s390x/kvm: inject via flic
  s390x: cleanup interrupt injection
  s390x/kvm: add alternative injection interface
  s390x: consolidate floating interrupts
  s390/virtio-ccw: migration support
  s390x/kvm: Log unmanageable program interruptions
  s390x/kvm: Log unmanageable external interruptions
  s390x/kvm: enable/reset cmma via vm attributes
  s390x/kvm: make flic play well with old kernels
  s390x/css: handle emw correctly for tsch

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


Compare: https://github.com/qemu/qemu/compare/7721a3044234...7b0140e49b1c

reply via email to

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