qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] c498d8: s390x: Common access to floating poin


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] c498d8: s390x: Common access to floating point registers
Date: Thu, 28 May 2015 08:30:07 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: c498d8e36e2998fb67de21a34ece633d356a4834
      
https://github.com/qemu/qemu/commit/c498d8e36e2998fb67de21a34ece633d356a4834
  Author: Eric Farman <address@hidden>
  Date:   2015-05-27 (Wed, 27 May 2015)

  Changed paths:
    M linux-user/signal.c
    M target-s390x/arch_dump.c
    M target-s390x/cpu.h
    M target-s390x/gdbstub.c
    M target-s390x/helper.c
    M target-s390x/kvm.c
    M target-s390x/translate.c

  Log Message:
  -----------
  s390x: Common access to floating point registers

Provide a routine to access the correct floating point register,
to simplify future expansion.

Suggested-by: David Hildenbrand <address@hidden>
Signed-off-by: Eric Farman <address@hidden>
Reviewed-by: David Hildenbrand <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: fcb79802e07fe06fe24ba97a027d8a1c3a714fa7
      
https://github.com/qemu/qemu/commit/fcb79802e07fe06fe24ba97a027d8a1c3a714fa7
  Author: Eric Farman <address@hidden>
  Date:   2015-05-27 (Wed, 27 May 2015)

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

  Log Message:
  -----------
  s390x: Vector Register IOCTLs

Handle the actual syncing of the vector registers with kernel space,
via the get/put register IOCTLs.

The vector registers that were introduced with the z13 overlay
the existing floating point registers.  FP registers 0-15 are
the high-halves of vector registers 0-15.  Thus, remove the
freg fields and replace them with the equivalent vector field
to avoid errors in duplication.  Moreover, synchronize either the
vector registers via kvm_sync_regs, or floating point registers
via the GET/SET FPU IOCTLs.

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


  Commit: abec53565dce5ed56bff4968d3bed88f6cf68c3c
      
https://github.com/qemu/qemu/commit/abec53565dce5ed56bff4968d3bed88f6cf68c3c
  Author: Eric Farman <address@hidden>
  Date:   2015-05-27 (Wed, 27 May 2015)

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

  Log Message:
  -----------
  s390x: Store Additional Status SIGP order

Add handling for the Store Additional Status at Address order
that exists for the Signal Processor (SIGP) instruction.

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


  Commit: 773d4ebc9a31a5e0efbaf83f76715ab40c355384
      
https://github.com/qemu/qemu/commit/773d4ebc9a31a5e0efbaf83f76715ab40c355384
  Author: Eric Farman <address@hidden>
  Date:   2015-05-27 (Wed, 27 May 2015)

  Changed paths:
    A gdb-xml/s390-vx.xml

  Log Message:
  -----------
  gdb-xml: Include XML for s390 vector registers

Include the vector registers XML file that is provided by gdb,
and can be used by the qemu gdbserver interface.

Signed-off-by: Eric Farman <address@hidden>
Reviewed-by: David Hildenbrand <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: ca343c7a84fbe457dd442d26d5a01f31e8a8d308
      
https://github.com/qemu/qemu/commit/ca343c7a84fbe457dd442d26d5a01f31e8a8d308
  Author: Eric Farman <address@hidden>
  Date:   2015-05-27 (Wed, 27 May 2015)

  Changed paths:
    M configure
    M target-s390x/gdbstub.c

  Log Message:
  -----------
  s390x: gdb updates for vector registers

gdb allows registers to be displayed/modified, and is being updated
to account for the new vector registers.  Mirror these changes in
the gdb stub in qemu so that this can be performed when gdb is
attached to the qemu gdbserver.

Signed-off-by: Eric Farman <address@hidden>
Reviewed-by: David Hildenbrand <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: 56c42271495fc5f6c5bd70c4309a74b425c5cbda
      
https://github.com/qemu/qemu/commit/56c42271495fc5f6c5bd70c4309a74b425c5cbda
  Author: Eric Farman <address@hidden>
  Date:   2015-05-27 (Wed, 27 May 2015)

  Changed paths:
    M target-s390x/translate.c

  Log Message:
  -----------
  s390x: Add vector registers to HMP output

There are mechanisms to dump registers via the qemu HMP interface,
such as the "info registers" command.  Expand this output to dump
the new vector registers.

Signed-off-by: Eric Farman <address@hidden>
Reviewed-by: David Hildenbrand <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: eeef559ab4a80753b7bf31728780692a3a4e3ec1
      
https://github.com/qemu/qemu/commit/eeef559ab4a80753b7bf31728780692a3a4e3ec1
  Author: Eric Farman <address@hidden>
  Date:   2015-05-27 (Wed, 27 May 2015)

  Changed paths:
    M include/elf.h

  Log Message:
  -----------
  linux/elf.h update

Sync with kernel elf.h updates to get s390x vector register definitions.

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


  Commit: 3ceeb2930faf1116ee4bb22c8a7794bb2337e8a9
      
https://github.com/qemu/qemu/commit/3ceeb2930faf1116ee4bb22c8a7794bb2337e8a9
  Author: Eric Farman <address@hidden>
  Date:   2015-05-27 (Wed, 27 May 2015)

  Changed paths:
    M target-s390x/arch_dump.c

  Log Message:
  -----------
  s390x: Add vector registers to ELF dump

Create ELF notes for the vector registers where applicable, so that
their contents can be examined by utilities such as crash or readelf.

Signed-off-by: Eric Farman <address@hidden>
Reviewed-by: David Hildenbrand <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: b2ac0ff5d9478907cfd5b204c9179f77d0cb943f
      
https://github.com/qemu/qemu/commit/b2ac0ff5d9478907cfd5b204c9179f77d0cb943f
  Author: Eric Farman <address@hidden>
  Date:   2015-05-27 (Wed, 27 May 2015)

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

  Log Message:
  -----------
  s390x: Migrate vector registers

When migrating a guest, be sure to include the vector registers.
The vector registers are defined in a subsection, similar to the
existing subsection for floating point registers.  Since the
floating point registers are always present (and thus migrated),
we can skip them when performing the migration of the vector
registers which may or may not be present.

Suggested-by: David Hildenbrand <address@hidden>
Signed-off-by: Eric Farman <address@hidden>
Reviewed-by: David Hildenbrand <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>


  Commit: 46ca6b3bc99ebf9205e28ed14c023ebf84d39bb7
      
https://github.com/qemu/qemu/commit/46ca6b3bc99ebf9205e28ed14c023ebf84d39bb7
  Author: Eric Farman <address@hidden>
  Date:   2015-05-27 (Wed, 27 May 2015)

  Changed paths:
    M target-s390x/kvm.c

  Log Message:
  -----------
  s390x: Enable vector processing capability

Everything is finally in place, inform the kernel that user space
supports vector registers.

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


  Commit: a84904737277c2f07c8fbcb69db27451d844f12b
      
https://github.com/qemu/qemu/commit/a84904737277c2f07c8fbcb69db27451d844f12b
  Author: Peter Maydell <address@hidden>
  Date:   2015-05-28 (Thu, 28 May 2015)

  Changed paths:
    M configure
    A gdb-xml/s390-vx.xml
    M include/elf.h
    M linux-user/signal.c
    M target-s390x/arch_dump.c
    M target-s390x/cpu.h
    M target-s390x/gdbstub.c
    M target-s390x/helper.c
    M target-s390x/kvm.c
    M target-s390x/machine.c
    M target-s390x/translate.c

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

A set of patches add support for vector registers on s390x.
Notable: Floating point registers and vector registers overlap,
so extra care is needed so that we end up with a consistent state
in all cases.

# gpg: Signature made Thu May 28 09:37:27 2015 BST using RSA key ID C6F02FAF
# gpg: Good signature from "Cornelia Huck <address@hidden>"
# gpg:                 aka "Cornelia Huck <address@hidden>"

* remotes/cohuck/tags/s390x-20150528:
  s390x: Enable vector processing capability
  s390x: Migrate vector registers
  s390x: Add vector registers to ELF dump
  linux/elf.h update
  s390x: Add vector registers to HMP output
  s390x: gdb updates for vector registers
  gdb-xml: Include XML for s390 vector registers
  s390x: Store Additional Status SIGP order
  s390x: Vector Register IOCTLs
  s390x: Common access to floating point registers

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


Compare: https://github.com/qemu/qemu/compare/bc3004f0bb28...a84904737277

reply via email to

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