qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] cfd54a: target-ppc: Add missing 'static' and


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] cfd54a: target-ppc: Add missing 'static' and 'const' attri...
Date: Thu, 20 Mar 2014 05:30:04 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: cfd54a0409c92cbf3b2e6af39ce44a13f6940dd0
      
https://github.com/qemu/qemu/commit/cfd54a0409c92cbf3b2e6af39ce44a13f6940dd0
  Author: Stefan Weil <address@hidden>
  Date:   2014-03-19 (Wed, 19 Mar 2014)

  Changed paths:
    M target-ppc/arch_dump.c
    M target-ppc/int_helper.c
    M target-ppc/machine.c

  Log Message:
  -----------
  target-ppc: Add missing 'static' and 'const' attributes

This fixes warnings from the static code analysis (smatch).

Signed-off-by: Stefan Weil <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 7aaf4957efad2bf6ac449d0caa9a1535f61006bc
      
https://github.com/qemu/qemu/commit/7aaf4957efad2bf6ac449d0caa9a1535f61006bc
  Author: Aneesh Kumar K.V <address@hidden>
  Date:   2014-03-20 (Thu, 20 Mar 2014)

  Changed paths:
    M hw/ppc/spapr_hcall.c

  Log Message:
  -----------
  spapr_hcall: Fix h_enter to loop correctly

We wanted to loop till index is 8. On 8 we return with H_PTEG_FULL. If we
are successful in loading hpte with any other index, we continue with that
index value.

Reported-by: Paolo Bonzini <address@hidden>
Signed-off-by: Aneesh Kumar K.V <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: d197fdbc3b83655f3c145722805f0998c04dce16
      
https://github.com/qemu/qemu/commit/d197fdbc3b83655f3c145722805f0998c04dce16
  Author: Alexey Kardashevskiy <address@hidden>
  Date:   2014-03-20 (Thu, 20 Mar 2014)

  Changed paths:
    M target-ppc/cpu.h
    M target-ppc/translate_init.c

  Log Message:
  -----------
  target-ppc: Reset SPRs on CPU reset

This resets SPR values to defaults on CPU reset. This should help
with little-endian guests reboot issues.

Signed-off-by: Alexey Kardashevskiy <address@hidden>
Reviewed-by: Greg Kurz <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: a80172a4762465a40f6b59d10d64360bd272b700
      
https://github.com/qemu/qemu/commit/a80172a4762465a40f6b59d10d64360bd272b700
  Author: Stuart Brady <address@hidden>
  Date:   2014-03-20 (Thu, 20 Mar 2014)

  Changed paths:
    M target-ppc/translate_init.c

  Log Message:
  -----------
  target-ppc: Fix overallocation of opcode tables

create_new_table() should allocate 0x20 opc_handler_t pointers, but
actually allocates 0x20 opc_handler_t structs.  Fix this.

Signed-off-by: Stuart Brady <address@hidden>
Reviewed-by: Tom Musta <address@hidden>
Tested-by: Tom Musta <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 5ec83c73e5ece590538878b24dfcb422904533e0
      
https://github.com/qemu/qemu/commit/5ec83c73e5ece590538878b24dfcb422904533e0
  Author: Bharata B Rao <address@hidden>
  Date:   2014-03-20 (Thu, 20 Mar 2014)

  Changed paths:
    M target-ppc/translate_init.c

  Log Message:
  -----------
  target-ppc: Force CPU threads count to be a power of 2

PowerPC kernel expects the number of SMT threads in a core to be a power
of 2. Since QEMU doesn't enforce this, it leads to an early guest kernel
crash if invalid threads count is specified.

Prevent this crash and make it a graceful exit from QEMU itself by
validating the user-supplied threads count.

Signed-off-by: Bharata B Rao <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Stewart Smith <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: df99d30d4e0dd22be5572235a5213de429e00747
      
https://github.com/qemu/qemu/commit/df99d30d4e0dd22be5572235a5213de429e00747
  Author: Alexey Kardashevskiy <address@hidden>
  Date:   2014-03-20 (Thu, 20 Mar 2014)

  Changed paths:
    M target-ppc/cpu.h
    M target-ppc/translate_init.c

  Log Message:
  -----------
  target-ppc: Introduce powerisa-207-server flag

This flag will be used to decide whether to emulate some bits of
H_SET_MODE hypercall because some are POWER8-only.

While we are here, add 2.05 flag to POWER8 family too. POWER7/7+ already
have it.

Signed-off-by: Alexey Kardashevskiy <address@hidden>
Reviewed-by: Greg Kurz <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: a46622fd07edc6fd3c66f8ab79b4782a78b115f3
      
https://github.com/qemu/qemu/commit/a46622fd07edc6fd3c66f8ab79b4782a78b115f3
  Author: Alexey Kardashevskiy <address@hidden>
  Date:   2014-03-20 (Thu, 20 Mar 2014)

  Changed paths:
    M hw/ppc/spapr_hcall.c
    M include/hw/ppc/spapr.h

  Log Message:
  -----------
  spapr_hcall: Fix little-endian resource handling in H_SET_MODE

This changes resource code definitions to ones used in the host kernel.

This fixes H_SET_MODE_RESOURCE_LE (switch between big endian and
little endian) to sync registers from KVM before changing LPCR value.

This adds a set_spr() helper to update an SPR in a CPU's context to avoid
possible races and makes use of it to change LPCR.

Signed-off-by: Alexey Kardashevskiy <address@hidden>
Reviewed-by: Greg Kurz <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 30e32af7466841f5fc08a5339e2184884a7bc6f3
      
https://github.com/qemu/qemu/commit/30e32af7466841f5fc08a5339e2184884a7bc6f3
  Author: Alexey Kardashevskiy <address@hidden>
  Date:   2014-03-20 (Thu, 20 Mar 2014)

  Changed paths:
    M hw/nvram/fw_cfg.c
    M include/sysemu/sysemu.h
    M vl.c

  Log Message:
  -----------
  vl.c: Extend get_boot_devices_list() to ignore suffixes

As suffixes do not make sense for sPAPR's device tree and
there is no way to filter them out on the BusState::get_fw_dev_path()
level, let's add an ability for the external caller to specify
whether to apply suffixes or not.

We could handle suffixes in SLOF (ignored for now) but this would require
serious rework in the node opening code in SLOF, which has no obvious
benefit for the currently emulated sPAPR machine.

Signed-off-by: Alexey Kardashevskiy <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 6b1566cbe372660c77ca4aa7aa0071fa30f5f930
      
https://github.com/qemu/qemu/commit/6b1566cbe372660c77ca4aa7aa0071fa30f5f930
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-03-20 (Thu, 20 Mar 2014)

  Changed paths:
    M hw/core/Makefile.objs
    A hw/core/fw-path-provider.c
    M hw/core/qdev.c
    A include/hw/fw-path-provider.h
    M tests/Makefile

  Log Message:
  -----------
  qdev: Introduce FWPathProvider interface

QEMU supports firmware names for all devices in the QEMU tree but
some architectures expect some parts of firmware path names in different
format.

This introduces a firmware-pathname-change interface definition.
If some machines needs to redefine the firmware path format, it has
to add the TYPE_FW_PATH_PROVIDER interface to an object that is above
the device on the QOM tree (typically /machine).

Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Alexey Kardashevskiy <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: ad4f62d0159fa2967195d095e7b532b9497fa6b0
      
https://github.com/qemu/qemu/commit/ad4f62d0159fa2967195d095e7b532b9497fa6b0
  Author: Alexey Kardashevskiy <address@hidden>
  Date:   2014-03-20 (Thu, 20 Mar 2014)

  Changed paths:
    M hw/net/spapr_llan.c

  Log Message:
  -----------
  spapr_llan: Add to boot device list

Signed-off-by: Alexey Kardashevskiy <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 5a06393f1d7edc6274233533aac99a5ded1785ce
      
https://github.com/qemu/qemu/commit/5a06393f1d7edc6274233533aac99a5ded1785ce
  Author: Alexey Kardashevskiy <address@hidden>
  Date:   2014-03-20 (Thu, 20 Mar 2014)

  Changed paths:
    M hw/ppc/spapr_vio.c

  Log Message:
  -----------
  spapr_vio: Fix firmware names

This changes VIO bridge fw name from spapr-vio-bridge to vdevice and
vscsi/veth node names from QEMU object names to VIO specific device tree
names.

Signed-off-by: Alexey Kardashevskiy <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 29ee324740fa7af4b7cf0ce9295a07296e9a0f24
      
https://github.com/qemu/qemu/commit/29ee324740fa7af4b7cf0ce9295a07296e9a0f24
  Author: Alexey Kardashevskiy <address@hidden>
  Date:   2014-03-20 (Thu, 20 Mar 2014)

  Changed paths:
    M hw/ppc/spapr.c

  Log Message:
  -----------
  spapr: QOM'ify pseries machine

Signed-off-by: Alexey Kardashevskiy <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 71461b0fef53467d2a85dbd72304dba0e01d8370
      
https://github.com/qemu/qemu/commit/71461b0fef53467d2a85dbd72304dba0e01d8370
  Author: Alexey Kardashevskiy <address@hidden>
  Date:   2014-03-20 (Thu, 20 Mar 2014)

  Changed paths:
    M hw/ppc/spapr.c

  Log Message:
  -----------
  spapr: Implement interface to fix device pathname

This extends the pseries machine type with the interface to fix firmware
pathnames for devices which have @bootindex property.

This fixes SCSI disks' device node names (which are wildcard nodes in
the device-tree), for spapr-vscsi, virtio-scsi and usb-storage.

This fixes PHB name from "pci" to "address@hidden" where XXXX is a BUID as
there is no bus on top of sPAPRPHBState where PHB firmware name could
be fixed using the BusClass::get_fw_dev_path() mechanism.

This stores the boot list in the /chosen/qemu,boot-list property of
the device tree. "\n" are replaced by spaces to support OF1275.

Signed-off-by: Alexey Kardashevskiy <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>


  Commit: 3a87f8b6859e6221b827ab4737779dddb37553ec
      
https://github.com/qemu/qemu/commit/3a87f8b6859e6221b827ab4737779dddb37553ec
  Author: Peter Maydell <address@hidden>
  Date:   2014-03-20 (Thu, 20 Mar 2014)

  Changed paths:
    M hw/core/Makefile.objs
    A hw/core/fw-path-provider.c
    M hw/core/qdev.c
    M hw/net/spapr_llan.c
    M hw/nvram/fw_cfg.c
    M hw/ppc/spapr.c
    M hw/ppc/spapr_hcall.c
    M hw/ppc/spapr_vio.c
    A include/hw/fw-path-provider.h
    M include/hw/ppc/spapr.h
    M include/sysemu/sysemu.h
    M target-ppc/arch_dump.c
    M target-ppc/cpu.h
    M target-ppc/int_helper.c
    M target-ppc/machine.c
    M target-ppc/translate_init.c
    M tests/Makefile
    M vl.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/afaerber/tags/ppc-for-2.0' into staging

PowerPC queue for 2.0

* sPAPR loop fix
* SPR reset fix
* Reduce allocation size of indirect opcode tables
* Restrict number of CPU threads
* sPAPR H_SET_MODE fixes
* sPAPR firmware path fixes
* Static and constness cleanups

# gpg: Signature made Thu 20 Mar 2014 01:46:14 GMT using RSA key ID 3E7E013F
# gpg: Good signature from "Andreas Färber <address@hidden>"
# gpg:                 aka "Andreas Färber <address@hidden>"

* remotes/afaerber/tags/ppc-for-2.0:
  spapr: Implement interface to fix device pathname
  spapr: QOM'ify pseries machine
  spapr_vio: Fix firmware names
  spapr_llan: Add to boot device list
  qdev: Introduce FWPathProvider interface
  vl.c: Extend get_boot_devices_list() to ignore suffixes
  spapr_hcall: Fix little-endian resource handling in H_SET_MODE
  target-ppc: Introduce powerisa-207-server flag
  target-ppc: Force CPU threads count to be a power of 2
  target-ppc: Fix overallocation of opcode tables
  target-ppc: Reset SPRs on CPU reset
  spapr_hcall: Fix h_enter to loop correctly
  target-ppc: Add missing 'static' and 'const' attributes

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


Compare: https://github.com/qemu/qemu/compare/06c1bee85a7d...3a87f8b6859e

reply via email to

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