qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 429b31: Revert "Remove remainders of HPPA bac


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 429b31: Revert "Remove remainders of HPPA backend"
Date: Tue, 24 Jan 2017 03:30:05 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 429b31a205bd3362a5eed22ca9b1a4c1b92f29f5
      
https://github.com/qemu/qemu/commit/429b31a205bd3362a5eed22ca9b1a4c1b92f29f5
  Author: Richard Henderson <address@hidden>
  Date:   2017-01-22 (Sun, 22 Jan 2017)

  Changed paths:
    M configure
    M disas.c
    M disas/Makefile.objs
    A disas/hppa.c
    M linux-user/syscall_defs.h

  Log Message:
  -----------
  Revert "Remove remainders of HPPA backend"

This reverts commit d41f3c3cc7a5fb9de144cc4022da14a9ff010671.

Signed-off-by: Richard Henderson <address@hidden>


  Commit: 7c4ee5bcc82e643836a5f32db85887d2475288f7
      
https://github.com/qemu/qemu/commit/7c4ee5bcc82e643836a5f32db85887d2475288f7
  Author: Richard Henderson <address@hidden>
  Date:   2017-01-22 (Sun, 22 Jan 2017)

  Changed paths:
    M linux-user/elfload.c
    M linux-user/main.c
    M linux-user/qemu.h

  Log Message:
  -----------
  linux-user: Support stack-grows-up in elfload.c

HPPA is a (the) stack-grows-up target, and supporting that requires
rearranging how we compute addresses while laying out the initial
program stack.  In addition, hppa32 requires 64-byte stack alignment
so parameterize that as well.

Signed-off-by: Richard Henderson <address@hidden>


  Commit: 8cb762fe013a4368fc7aa2eba27c44033ec310e0
      
https://github.com/qemu/qemu/commit/8cb762fe013a4368fc7aa2eba27c44033ec310e0
  Author: Helge Deller <address@hidden>
  Date:   2017-01-22 (Sun, 22 Jan 2017)

  Changed paths:
    M linux-user/ioctls.h
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: Handle TIOCSTART and TIOCSTOP

Some architectures (ppc, alpha, sparc, parisc, sh and xtensa) define the
BSD TIOCSTART and TIOCSTOP ioctls in their kernel headers to provide
compatibility to other operating systems.

Those ioctls are not implemented in Linux, nevertheless, bash will use
this ioctl if it's available on those architectures.

To avoid false warnings, add code to simply ignore those ioctls.

Signed-off-by: Helge Deller <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 405b49150425a3570de4eab99870498d14712b11
      
https://github.com/qemu/qemu/commit/405b49150425a3570de4eab99870498d14712b11
  Author: Helge Deller <address@hidden>
  Date:   2017-01-22 (Sun, 22 Jan 2017)

  Changed paths:
    M linux-user/ioctls.h
    M linux-user/syscall_defs.h
    M linux-user/syscall_types.h

  Log Message:
  -----------
  linux-user: Add SIOCGPGRP, SIOCGSTAMP, SIOCGSTAMPNS

Mirror syscall_defs.h for the element type of struct timeval
and struct timespec, even though that's not 100% accurate for
each guest.

Signed-off-by: Helge Deller <address@hidden>
[rth: Changed the MK_ARRAY types as per above; added ioctl.h entries.]
Signed-off-by: Richard Henderson <address@hidden>


  Commit: fe8ed7d5794f6cecc69bb31ab1291e2356d31bcd
      
https://github.com/qemu/qemu/commit/fe8ed7d5794f6cecc69bb31ab1291e2356d31bcd
  Author: Richard Henderson <address@hidden>
  Date:   2017-01-22 (Sun, 22 Jan 2017)

  Changed paths:
    M linux-user/alpha/target_syscall.h
    M linux-user/errno_defs.h
    M linux-user/mips/target_syscall.h
    M linux-user/mips64/target_syscall.h
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: Handle ERFKILL and EHWPOISON

With definitions for generic, alpha and mips taken from 4.9-rc2.

Signed-off-by: Richard Henderson <address@hidden>


  Commit: b5c375e2faf0e4958c567e8fe5990ccdfd35c2bd
      
https://github.com/qemu/qemu/commit/b5c375e2faf0e4958c567e8fe5990ccdfd35c2bd
  Author: Helge Deller <address@hidden>
  Date:   2017-01-23 (Mon, 23 Jan 2017)

  Changed paths:
    M linux-user/syscall_defs.h

  Log Message:
  -----------
  linux-user: Add some hppa ioctls

Add F_GETLK, F_SETLK, F_SETLKW, F_GETOWN, F_SETOWN, F_SETSIG, F_GETSIG,
F_GETLK64, F_SETLK64 and F_SETLKW64 for hppa.

Signed-off-by: Helge Deller <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 8b4c32ae43949068550525feef95444143cf9dcd
      
https://github.com/qemu/qemu/commit/8b4c32ae43949068550525feef95444143cf9dcd
  Author: Richard Henderson <address@hidden>
  Date:   2017-01-23 (Mon, 23 Jan 2017)

  Changed paths:
    A linux-user/hppa/sockbits.h
    M linux-user/socket.h

  Log Message:
  -----------
  linux-user: Add HPPA socket.h definitions

Split this out into a "cpu/sockbits.h" file now,
like we ought to do for all of the other targets.

Signed-off-by: Richard Henderson <address@hidden>


  Commit: 8ee78dece0d2de9f6c7d83e7358013b8293db209
      
https://github.com/qemu/qemu/commit/8ee78dece0d2de9f6c7d83e7358013b8293db209
  Author: Richard Henderson <address@hidden>
  Date:   2017-01-23 (Mon, 23 Jan 2017)

  Changed paths:
    A linux-user/hppa/syscall_nr.h

  Log Message:
  -----------
  linux-user: Add HPPA syscall numbers

Signed-off-by: Richard Henderson <address@hidden>


  Commit: 9cad44ac6cb339d4a7ceec9f5ca771f7e3031d81
      
https://github.com/qemu/qemu/commit/9cad44ac6cb339d4a7ceec9f5ca771f7e3031d81
  Author: Richard Henderson <address@hidden>
  Date:   2017-01-23 (Mon, 23 Jan 2017)

  Changed paths:
    A linux-user/hppa/termbits.h

  Log Message:
  -----------
  linux-user: Add HPPA termbits.h

Signed-off-by: Richard Henderson <address@hidden>


  Commit: b9490f5a9417f6aba1a131bf568581e86a7e7b2a
      
https://github.com/qemu/qemu/commit/b9490f5a9417f6aba1a131bf568581e86a7e7b2a
  Author: Richard Henderson <address@hidden>
  Date:   2017-01-23 (Mon, 23 Jan 2017)

  Changed paths:
    A linux-user/hppa/target_syscall.h

  Log Message:
  -----------
  linux-user: Add HPPA target_syscall.h

Which is primarily a re-definition of errno numbers.

Signed-off-by: Richard Henderson <address@hidden>


  Commit: a10d1e50d9f964c049ffd5af1cc30180be2989d1
      
https://github.com/qemu/qemu/commit/a10d1e50d9f964c049ffd5af1cc30180be2989d1
  Author: Richard Henderson <address@hidden>
  Date:   2017-01-23 (Mon, 23 Jan 2017)

  Changed paths:
    M linux-user/syscall_defs.h

  Log Message:
  -----------
  linux-user: Add HPPA definitions to syscall_defs.h


  Commit: 22991d19ab62bc48c2ef825b1278f2920005f9b4
      
https://github.com/qemu/qemu/commit/22991d19ab62bc48c2ef825b1278f2920005f9b4
  Author: Richard Henderson <address@hidden>
  Date:   2017-01-23 (Mon, 23 Jan 2017)

  Changed paths:
    A linux-user/hppa/target_structs.h

  Log Message:
  -----------
  linux-user: Add HPPA target_structs.h

Signed-off-by: Richard Henderson <address@hidden>


  Commit: 925ccf32364026f17764c454d4c5ecec3c4310ba
      
https://github.com/qemu/qemu/commit/925ccf32364026f17764c454d4c5ecec3c4310ba
  Author: Richard Henderson <address@hidden>
  Date:   2017-01-23 (Mon, 23 Jan 2017)

  Changed paths:
    A linux-user/hppa/target_cpu.h
    A linux-user/hppa/target_signal.h

  Log Message:
  -----------
  linux-user: Add HPPA target_signal.h and target_cpu.h

The cpu.h structure that these manipulate hasn't been defined
yet, but we haven't enabled compilation yet either.

Signed-off-by: Richard Henderson <address@hidden>


  Commit: 1659e38e1d40b8d6b39d8a9c664a2db2df3c6865
      
https://github.com/qemu/qemu/commit/1659e38e1d40b8d6b39d8a9c664a2db2df3c6865
  Author: Richard Henderson <address@hidden>
  Date:   2017-01-23 (Mon, 23 Jan 2017)

  Changed paths:
    M linux-user/signal.c

  Log Message:
  -----------
  linux-user: Add HPPA signal handling

Signed-off-by: Richard Henderson <address@hidden>


  Commit: 7c248bcda1d1b3081b1bdb3a10352bb549dff2c5
      
https://github.com/qemu/qemu/commit/7c248bcda1d1b3081b1bdb3a10352bb549dff2c5
  Author: Richard Henderson <address@hidden>
  Date:   2017-01-23 (Mon, 23 Jan 2017)

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

  Log Message:
  -----------
  linux-user: Add HPPA startup and main loop

Including support for the atomic memory op syscalls.

Signed-off-by: Richard Henderson <address@hidden>


  Commit: 005fa38d86257d471ac461c066a5409a9f5ebb02
      
https://github.com/qemu/qemu/commit/005fa38d86257d471ac461c066a5409a9f5ebb02
  Author: Richard Henderson <address@hidden>
  Date:   2017-01-23 (Mon, 23 Jan 2017)

  Changed paths:
    M fpu/softfloat-specialize.h

  Log Message:
  -----------
  target-hppa: Add softfloat specializations

Like the original MIPS, HPPA has the MSB of an SNaN set.
However, it has different rules for silencing an SNaN:
(1) msb is cleared and (2) msb-1 must be set if the fraction
is now zero, and (implementation defined) may be set always.
I haven't checked real hardware but chose the set always
alternative because it's easy and within spec.

Signed-off-by: Richard Henderson <address@hidden>


  Commit: 61766fe9e2d37ac4928119eabfe2250bd8f43b11
      
https://github.com/qemu/qemu/commit/61766fe9e2d37ac4928119eabfe2250bd8f43b11
  Author: Richard Henderson <address@hidden>
  Date:   2017-01-23 (Mon, 23 Jan 2017)

  Changed paths:
    M MAINTAINERS
    M configure
    A default-configs/hppa-linux-user.mak
    A target/hppa/Makefile.objs
    A target/hppa/cpu-qom.h
    A target/hppa/cpu.c
    A target/hppa/cpu.h
    A target/hppa/gdbstub.c
    A target/hppa/helper.c
    A target/hppa/helper.h
    A target/hppa/op_helper.c
    A target/hppa/translate.c

  Log Message:
  -----------
  target-hppa: Add framework and enable compilation

This is just about the minimum required to enable compilation
without actually executing any instructions.  This contains the
HPPACPU structure and the required callbacks, the gdbstub, the
basic translation loop, and a translate_one function that always
results in an illegal instruction.

Signed-off-by: Richard Henderson <address@hidden>


  Commit: 129e9cc3a1792b66bd189838d58f7a2944602a82
      
https://github.com/qemu/qemu/commit/129e9cc3a1792b66bd189838d58f7a2944602a82
  Author: Richard Henderson <address@hidden>
  Date:   2017-01-23 (Mon, 23 Jan 2017)

  Changed paths:
    M target/hppa/translate.c

  Log Message:
  -----------
  target-hppa: Add nullification framework

The HPPA cpu has a unique form of predicated execution in which
almost any instruction can set the PSW[N] (or "nullify") bit,
which suppresses execution (and even decoding) of the following
instruction.  Execution of a nullified insn clears the PSW[N] bit.

This adds a generic framework for branching over nullified insns,
or for sufficiently simple insns, transforming the writeback of
the result to a conditional move.  In the process, we want to be
able to represent PSW[N] as a TCG condition, which implies management
of the related tcg temps.

Signed-off-by: Richard Henderson <address@hidden>


  Commit: b2167459ae46bcaa07a84fc7e9df1743000be81f
      
https://github.com/qemu/qemu/commit/b2167459ae46bcaa07a84fc7e9df1743000be81f
  Author: Richard Henderson <address@hidden>
  Date:   2017-01-23 (Mon, 23 Jan 2017)

  Changed paths:
    M target/hppa/helper.h
    M target/hppa/op_helper.c
    M target/hppa/translate.c

  Log Message:
  -----------
  target-hppa: Implement basic arithmetic

Signed-off-by: Richard Henderson <address@hidden>


  Commit: 98cd9ca7cc560414ad4a79e7e9aee568d10f985e
      
https://github.com/qemu/qemu/commit/98cd9ca7cc560414ad4a79e7e9aee568d10f985e
  Author: Richard Henderson <address@hidden>
  Date:   2017-01-23 (Mon, 23 Jan 2017)

  Changed paths:
    M target/hppa/translate.c

  Log Message:
  -----------
  target-hppa: Implement branches

Signed-off-by: Richard Henderson <address@hidden>


  Commit: 7ad439df5616fd1854a58ef7bf87c7a092cd34ce
      
https://github.com/qemu/qemu/commit/7ad439df5616fd1854a58ef7bf87c7a092cd34ce
  Author: Richard Henderson <address@hidden>
  Date:   2017-01-23 (Mon, 23 Jan 2017)

  Changed paths:
    M target/hppa/translate.c

  Log Message:
  -----------
  target-hppa: Implement linux-user gateway page

For linux, page 0 is mapped as an execute-only gateway.  A gateway
page is a special bit in the page table that allows a B,GATE insn
within that page to raise processor permissions.  This is how system
calls are implemented for HPPA.

Rather than actually map anything here, or handle permissions at all,
implement the semantics of the actual linux syscall entry points.

Signed-off-by: Richard Henderson <address@hidden>


  Commit: 0b1347d259460a633e07e6bdae312992862238ba
      
https://github.com/qemu/qemu/commit/0b1347d259460a633e07e6bdae312992862238ba
  Author: Richard Henderson <address@hidden>
  Date:   2017-01-23 (Mon, 23 Jan 2017)

  Changed paths:
    M target/hppa/translate.c

  Log Message:
  -----------
  target-hppa: Implement shifts and deposits

Signed-off-by: Richard Henderson <address@hidden>


  Commit: 96d6407f36346aa6ea706905fc179811f49b6569
      
https://github.com/qemu/qemu/commit/96d6407f36346aa6ea706905fc179811f49b6569
  Author: Richard Henderson <address@hidden>
  Date:   2017-01-23 (Mon, 23 Jan 2017)

  Changed paths:
    M target/hppa/helper.h
    M target/hppa/op_helper.c
    M target/hppa/translate.c

  Log Message:
  -----------
  target-hppa: Implement loads and stores

Signed-off-by: Richard Henderson <address@hidden>


  Commit: 98a9cb792c8c177d5d81c2c4a08e740deeb207fd
      
https://github.com/qemu/qemu/commit/98a9cb792c8c177d5d81c2c4a08e740deeb207fd
  Author: Richard Henderson <address@hidden>
  Date:   2017-01-23 (Mon, 23 Jan 2017)

  Changed paths:
    M target/hppa/helper.h
    M target/hppa/op_helper.c
    M target/hppa/translate.c

  Log Message:
  -----------
  target-hppa: Implement system and memory-management insns

Signed-off-by: Richard Henderson <address@hidden>


  Commit: ebe9383caefd56d519e965a5d87bca29f0aeffe3
      
https://github.com/qemu/qemu/commit/ebe9383caefd56d519e965a5d87bca29f0aeffe3
  Author: Richard Henderson <address@hidden>
  Date:   2017-01-23 (Mon, 23 Jan 2017)

  Changed paths:
    M target/hppa/helper.h
    M target/hppa/op_helper.c
    M target/hppa/translate.c

  Log Message:
  -----------
  target-hppa: Implement floating-point insns

Signed-off-by: Richard Henderson <address@hidden>


  Commit: 48cef39bf39846ce4aaf79d4a2ae620373b3e181
      
https://github.com/qemu/qemu/commit/48cef39bf39846ce4aaf79d4a2ae620373b3e181
  Author: Peter Maydell <address@hidden>
  Date:   2017-01-24 (Tue, 24 Jan 2017)

  Changed paths:
    M MAINTAINERS
    M configure
    A default-configs/hppa-linux-user.mak
    M disas.c
    M disas/Makefile.objs
    A disas/hppa.c
    M fpu/softfloat-specialize.h
    M linux-user/alpha/target_syscall.h
    M linux-user/elfload.c
    M linux-user/errno_defs.h
    A linux-user/hppa/sockbits.h
    A linux-user/hppa/syscall_nr.h
    A linux-user/hppa/target_cpu.h
    A linux-user/hppa/target_signal.h
    A linux-user/hppa/target_structs.h
    A linux-user/hppa/target_syscall.h
    A linux-user/hppa/termbits.h
    M linux-user/ioctls.h
    M linux-user/main.c
    M linux-user/mips/target_syscall.h
    M linux-user/mips64/target_syscall.h
    M linux-user/qemu.h
    M linux-user/signal.c
    M linux-user/socket.h
    M linux-user/syscall.c
    M linux-user/syscall_defs.h
    M linux-user/syscall_types.h
    A target/hppa/Makefile.objs
    A target/hppa/cpu-qom.h
    A target/hppa/cpu.c
    A target/hppa/cpu.h
    A target/hppa/gdbstub.c
    A target/hppa/helper.c
    A target/hppa/helper.h
    A target/hppa/op_helper.c
    A target/hppa/translate.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/rth/tags/pull-hppa-20170123' into 
staging

hppa-linux target support

# gpg: Signature made Mon 23 Jan 2017 17:54:09 GMT
# gpg:                using RSA key 0xAD1270CC4DD0279B
# gpg: Good signature from "Richard Henderson <address@hidden>"
# gpg:                 aka "Richard Henderson <address@hidden>"
# gpg:                 aka "Richard Henderson <address@hidden>"
# Primary key fingerprint: 9CB1 8DDA F8E8 49AD 2AFC  16A4 AD12 70CC 4DD0 279B

* remotes/rth/tags/pull-hppa-20170123: (25 commits)
  target-hppa: Implement floating-point insns
  target-hppa: Implement system and memory-management insns
  target-hppa: Implement loads and stores
  target-hppa: Implement shifts and deposits
  target-hppa: Implement linux-user gateway page
  target-hppa: Implement branches
  target-hppa: Implement basic arithmetic
  target-hppa: Add nullification framework
  target-hppa: Add framework and enable compilation
  target-hppa: Add softfloat specializations
  linux-user: Add HPPA startup and main loop
  linux-user: Add HPPA signal handling
  linux-user: Add HPPA target_signal.h and target_cpu.h
  linux-user: Add HPPA target_structs.h
  linux-user: Add HPPA definitions to syscall_defs.h
  linux-user: Add HPPA target_syscall.h
  linux-user: Add HPPA termbits.h
  linux-user: Add HPPA syscall numbers
  linux-user: Add HPPA socket.h definitions
  linux-user: Add some hppa ioctls
  ...

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


Compare: https://github.com/qemu/qemu/compare/3879284d6517...48cef39bf398

reply via email to

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