[PULL 00/53] ppc-for-4.2 queue 20191004

David Gibson posted 53 patches 6 years, 1 month ago
Test checkpatch passed
Test docker-mingw@fedora passed
Test docker-quick@centos7 passed
Test docker-clang@ubuntu failed
Test asan passed
Test FreeBSD passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20191004093747.31350-1-david@gibson.dropbear.id.au
Maintainers: Jason Wang <jasowang@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, "Cédric Le Goater" <clg@kaod.org>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, David Gibson <david@gibson.dropbear.id.au>
MAINTAINERS                        |   2 -
Makefile                           |   2 +-
configure                          |   6 +-
hw/char/spapr_vty.c                |   3 +-
hw/intc/spapr_xive.c               |  26 +--
hw/intc/spapr_xive_kvm.c           |  48 ++++-
hw/intc/trace-events               |  10 +-
hw/intc/xics.c                     | 210 +++++++-------------
hw/intc/xics_kvm.c                 |   8 +
hw/intc/xics_spapr.c               |  48 ++++-
hw/intc/xive.c                     |   8 +
hw/net/spapr_llan.c                |   3 +-
hw/ppc/Makefile.objs               |   1 +
hw/ppc/pnv.c                       | 118 +++++++----
hw/ppc/pnv_bmc.c                   |   5 +-
hw/ppc/pnv_homer.c                 | 272 +++++++++++++++++++++++++
hw/ppc/pnv_occ.c                   |  78 ++++++++
hw/ppc/pnv_psi.c                   |   6 +-
hw/ppc/pnv_xscom.c                 |  34 +++-
hw/ppc/spapr.c                     | 219 ++++++++-------------
hw/ppc/spapr_hcall.c               |   9 +-
hw/ppc/spapr_irq.c                 | 345 +++++++++++++-------------------
hw/ppc/spapr_pci.c                 |  45 +----
hw/ppc/spapr_rtas.c                |  41 ----
hw/ppc/spapr_tpm_proxy.c           |   2 +-
hw/ppc/spapr_vio.c                 |   3 +-
hw/ppc/trace-events                |   4 -
include/hw/pci-host/spapr.h        |   7 -
include/hw/ppc/pnv.h               |  21 ++
include/hw/ppc/pnv_homer.h         |  53 +++++
include/hw/ppc/pnv_occ.h           |   3 +
include/hw/ppc/spapr.h             |   4 +-
include/hw/ppc/spapr_irq.h         |  27 +--
include/hw/ppc/spapr_vio.h         |   5 +-
include/hw/ppc/spapr_xive.h        |   4 +-
include/hw/ppc/xics.h              |  38 ++--
include/hw/ppc/xics_spapr.h        |   4 +-
include/hw/ppc/xive.h              |   2 +-
pc-bios/README                     |   2 +-
pc-bios/slof.bin                   | Bin 930656 -> 930640 bytes
pc-bios/spapr-rtas.bin             | Bin 20 -> 0 bytes
pc-bios/spapr-rtas/Makefile        |  27 ---
pc-bios/spapr-rtas/spapr-rtas.S    |  37 ----
roms/SLOF                          |   2 +-
target/ppc/cpu.h                   |  10 +-
target/ppc/dfp_helper.c            | 394 ++++++++++++++++++-------------------
target/ppc/fpu_helper.c            | 122 ++++++------
target/ppc/helper.h                |   2 +-
target/ppc/int_helper.c            |  72 +++----
target/ppc/internal.h              |   3 +
target/ppc/kvm.c                   |   5 +
target/ppc/translate/fp-impl.inc.c |  99 +++++++++-
target/ppc/translate/fp-ops.inc.c  |   6 +
target/ppc/translate_init.inc.c    |   9 +-
54 files changed, 1421 insertions(+), 1093 deletions(-)
create mode 100644 hw/ppc/pnv_homer.c
create mode 100644 include/hw/ppc/pnv_homer.h
delete mode 100644 pc-bios/spapr-rtas.bin
delete mode 100644 pc-bios/spapr-rtas/Makefile
delete mode 100644 pc-bios/spapr-rtas/spapr-rtas.S
[PULL 00/53] ppc-for-4.2 queue 20191004
Posted by David Gibson 6 years, 1 month ago
The following changes since commit 4f59102571fce49af180cfc6d4cdd2b5df7bdb14:

  Merge remote-tracking branch 'remotes/amarkovic/tags/mips-queue-oct-01-2019' into staging (2019-10-01 16:21:42 +0100)

are available in the Git repository at:

  git://github.com/dgibson/qemu.git tags/ppc-for-4.2-20191004

for you to fetch changes up to 1aba8716c8335e88b8c358002a6e1ac89f7dd258:

  ppc/pnv: Remove the XICSFabric Interface from the POWER9 machine (2019-10-04 19:08:23 +1000)

----------------------------------------------------------------
ppc patch queue 2019-10-04

Here's the next batch of ppc and spapr patches.  Includes:
  * Fist part of a large cleanup to irq infrastructure
  * Recreate the full FDT at CAS time, instead of making a difficult
    to follow set of updates.  This will help us move towards
    eliminating CAS reboots altogether
  * No longer provide RTAS blob to SLOF - SLOF can include it just as
    well itself, since guests will generally need to relocate it with
    a call to instantiate-rtas
  * A number of DFP fixes and cleanups from Mark Cave-Ayland
  * Assorted bugfixes
  * Several new small devices for powernv

----------------------------------------------------------------
Alexey Kardashevskiy (8):
      ppc/kvm: Skip writing DPDES back when in run time state
      spapr: Fixes a leak in CAS
      spapr: Skip leading zeroes from memory@ DT node names
      spapr: Do not put empty properties for -kernel/-initrd/-append
      spapr: Stop providing RTAS blob
      pseries: Update SLOF firmware image
      spapr-pci: Stop providing assigned-addresses
      spapr: Render full FDT on ibm,client-architecture-support

Balamuruhan S (4):
      hw/ppc/pnv: fix checkpatch.pl coding style warnings
      hw/ppc/pnv_xscom: retrieve homer/occ base address from PBA BARs
      hw/ppc/pnv_occ: add sram device model for occ common area
      hw/ppc/pnv_homer: add PowerNV homer device model

Cédric Le Goater (5):
      ppc/pnv: fix "bmc" node name in DT
      spapr/irq: Introduce an ics_irq_free() helper
      spapr/irq: Only claim VALID interrupts at the KVM level
      spapr/xive: skip partially initialized vCPUs in presenter
      ppc/pnv: Remove the XICSFabric Interface from the POWER9 machine

David Gibson (22):
      spapr: Simplify handling of pre ISA 3.0 guest workaround handling
      spapr: Move handling of special NVLink numa node from reset to init
      xics: Minor fixes for XICSFabric interface
      xics: Eliminate 'reject', 'resend' and 'eoi' class hooks
      xics: Rename misleading ics_simple_*() functions
      xics: Eliminate reset hook
      xics: Merge TYPE_ICS_BASE and TYPE_ICS_SIMPLE classes
      xics: Create sPAPR specific ICS subtype
      spapr: Fold spapr_phb_lsi_qirq() into its single caller
      spapr: Replace spapr_vio_qirq() helper with spapr_vio_irq_pulse() helper
      spapr: Clarify and fix handling of nr_irqs
      spapr: Eliminate nr_irqs parameter to SpaprIrq::init
      spapr: Fix indexing of XICS irqs
      spapr: Simplify spapr_qirq() handling
      spapr: Eliminate SpaprIrq:get_nodename method
      spapr: Remove unhelpful tracepoints from spapr_irq_free_xics()
      spapr: Handle freeing of multiple irqs in frontend only
      spapr, xics, xive: Better use of assert()s on irq claim/free paths
      xive: Improve irq claim/free path
      spapr: Use less cryptic representation of which irq backends are supported
      spapr: Add return value to spapr_irq_check()
      spapr: Eliminate SpaprIrq::init hook

Greg Kurz (2):
      spapr-tpm-proxy: Drop misleading check
      spapr: Report kvm_irqchip_in_kernel() in 'info pic'

Laurent Vivier (1):
      pseries: do not allow memory-less/cpu-less NUMA node

Mark Cave-Ayland (8):
      target/ppc: introduce get_dfp{64,128}() helper functions
      target/ppc: introduce set_dfp{64,128}() helper functions
      target/ppc: update {get,set}_dfp{64,128}() helper functions to read/write DFP numbers correctly
      target/ppc: introduce dfp_finalize_decimal{64,128}() helper functions
      target/ppc: change struct PPC_DFP decimal storage from uint64[2] to ppc_vsr_t
      target/ppc: use existing VsrD() macro to eliminate HI_IDX and LO_IDX from dfp_helper.c
      target/ppc: remove unnecessary if() around calls to set_dfp{64,128}() in DFP macros
      target/ppc: use Vsr macros in BCD helpers

Paul A. Clarke (3):
      ppc: Add support for 'mffscrn','mffscrni' instructions
      ppc: Add support for 'mffsce' instruction
      ppc: Use FPSCR defines instead of constants

 MAINTAINERS                        |   2 -
 Makefile                           |   2 +-
 configure                          |   6 +-
 hw/char/spapr_vty.c                |   3 +-
 hw/intc/spapr_xive.c               |  26 +--
 hw/intc/spapr_xive_kvm.c           |  48 ++++-
 hw/intc/trace-events               |  10 +-
 hw/intc/xics.c                     | 210 +++++++-------------
 hw/intc/xics_kvm.c                 |   8 +
 hw/intc/xics_spapr.c               |  48 ++++-
 hw/intc/xive.c                     |   8 +
 hw/net/spapr_llan.c                |   3 +-
 hw/ppc/Makefile.objs               |   1 +
 hw/ppc/pnv.c                       | 118 +++++++----
 hw/ppc/pnv_bmc.c                   |   5 +-
 hw/ppc/pnv_homer.c                 | 272 +++++++++++++++++++++++++
 hw/ppc/pnv_occ.c                   |  78 ++++++++
 hw/ppc/pnv_psi.c                   |   6 +-
 hw/ppc/pnv_xscom.c                 |  34 +++-
 hw/ppc/spapr.c                     | 219 ++++++++-------------
 hw/ppc/spapr_hcall.c               |   9 +-
 hw/ppc/spapr_irq.c                 | 345 +++++++++++++-------------------
 hw/ppc/spapr_pci.c                 |  45 +----
 hw/ppc/spapr_rtas.c                |  41 ----
 hw/ppc/spapr_tpm_proxy.c           |   2 +-
 hw/ppc/spapr_vio.c                 |   3 +-
 hw/ppc/trace-events                |   4 -
 include/hw/pci-host/spapr.h        |   7 -
 include/hw/ppc/pnv.h               |  21 ++
 include/hw/ppc/pnv_homer.h         |  53 +++++
 include/hw/ppc/pnv_occ.h           |   3 +
 include/hw/ppc/spapr.h             |   4 +-
 include/hw/ppc/spapr_irq.h         |  27 +--
 include/hw/ppc/spapr_vio.h         |   5 +-
 include/hw/ppc/spapr_xive.h        |   4 +-
 include/hw/ppc/xics.h              |  38 ++--
 include/hw/ppc/xics_spapr.h        |   4 +-
 include/hw/ppc/xive.h              |   2 +-
 pc-bios/README                     |   2 +-
 pc-bios/slof.bin                   | Bin 930656 -> 930640 bytes
 pc-bios/spapr-rtas.bin             | Bin 20 -> 0 bytes
 pc-bios/spapr-rtas/Makefile        |  27 ---
 pc-bios/spapr-rtas/spapr-rtas.S    |  37 ----
 roms/SLOF                          |   2 +-
 target/ppc/cpu.h                   |  10 +-
 target/ppc/dfp_helper.c            | 394 ++++++++++++++++++-------------------
 target/ppc/fpu_helper.c            | 122 ++++++------
 target/ppc/helper.h                |   2 +-
 target/ppc/int_helper.c            |  72 +++----
 target/ppc/internal.h              |   3 +
 target/ppc/kvm.c                   |   5 +
 target/ppc/translate/fp-impl.inc.c |  99 +++++++++-
 target/ppc/translate/fp-ops.inc.c  |   6 +
 target/ppc/translate_init.inc.c    |   9 +-
 54 files changed, 1421 insertions(+), 1093 deletions(-)
 create mode 100644 hw/ppc/pnv_homer.c
 create mode 100644 include/hw/ppc/pnv_homer.h
 delete mode 100644 pc-bios/spapr-rtas.bin
 delete mode 100644 pc-bios/spapr-rtas/Makefile
 delete mode 100644 pc-bios/spapr-rtas/spapr-rtas.S

Re: [PULL 00/53] ppc-for-4.2 queue 20191004
Posted by Peter Maydell 6 years, 1 month ago
On Fri, 4 Oct 2019 at 10:37, David Gibson <david@gibson.dropbear.id.au> wrote:
>
> The following changes since commit 4f59102571fce49af180cfc6d4cdd2b5df7bdb14:
>
>   Merge remote-tracking branch 'remotes/amarkovic/tags/mips-queue-oct-01-2019' into staging (2019-10-01 16:21:42 +0100)
>
> are available in the Git repository at:
>
>   git://github.com/dgibson/qemu.git tags/ppc-for-4.2-20191004
>
> for you to fetch changes up to 1aba8716c8335e88b8c358002a6e1ac89f7dd258:
>
>   ppc/pnv: Remove the XICSFabric Interface from the POWER9 machine (2019-10-04 19:08:23 +1000)
>
> ----------------------------------------------------------------
> ppc patch queue 2019-10-04
>
> Here's the next batch of ppc and spapr patches.  Includes:
>   * Fist part of a large cleanup to irq infrastructure
>   * Recreate the full FDT at CAS time, instead of making a difficult
>     to follow set of updates.  This will help us move towards
>     eliminating CAS reboots altogether
>   * No longer provide RTAS blob to SLOF - SLOF can include it just as
>     well itself, since guests will generally need to relocate it with
>     a call to instantiate-rtas
>   * A number of DFP fixes and cleanups from Mark Cave-Ayland
>   * Assorted bugfixes
>   * Several new small devices for powernv
>


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/4.2
for any user-visible changes.

-- PMM