[Qemu-devel] [PULL 00/43] ppc-for-4.0 queue 20190219

David Gibson posted 43 patches 5 years, 7 months ago
Test docker-clang@ubuntu failed
Test asan passed
Test docker-mingw@fedora passed
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190218143049.17142-1-david@gibson.dropbear.id.au
Maintainers: "Hervé Poussineau" <hpoussin@reactos.org>, "Michael S. Tsirkin" <mst@redhat.com>, "Cédric Le Goater" <clg@kaod.org>, Igor Mammedov <imammedo@redhat.com>, Gerd Hoffmann <kraxel@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, Christian Borntraeger <borntraeger@de.ibm.com>, Dmitry Fleytman <dmitry.fleytman@gmail.com>, Paolo Bonzini <pbonzini@redhat.com>, Halil Pasic <pasic@linux.ibm.com>, Fam Zheng <fam@euphon.net>, David Gibson <david@gibson.dropbear.id.au>, Amit Shah <amit@kernel.org>, Collin Walling <walling@linux.ibm.com>, Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Richard Henderson <rth@twiddle.net>, David Hildenbrand <david@redhat.com>, Cornelia Huck <cohuck@redhat.com>
hw/acpi/pcihp.c                     |   2 +-
hw/acpi/piix4.c                     |   2 +-
hw/char/virtio-serial-bus.c         |   2 +-
hw/core/bus.c                       |  11 +-
hw/intc/spapr_xive.c                |   7 +-
hw/intc/xics.c                      |  76 ++++++-----
hw/intc/xics_kvm.c                  | 120 ++---------------
hw/misc/macio/cuda.c                |  11 +-
hw/pci/pcie.c                       |   2 +-
hw/pci/shpc.c                       |   2 +-
hw/ppc/mac_newworld.c               |   2 +-
hw/ppc/prep.c                       |   1 -
hw/ppc/spapr.c                      |  10 +-
hw/ppc/spapr_events.c               |   2 +-
hw/ppc/spapr_irq.c                  |  86 +++++-------
hw/ppc/spapr_pci.c                  |  14 +-
hw/ppc/spapr_vio.c                  |   2 +-
hw/s390x/css-bridge.c               |   2 +-
hw/s390x/s390-pci-bus.c             |   6 +-
hw/scsi/virtio-scsi.c               |   2 +-
hw/scsi/vmw_pvscsi.c                |   2 +-
hw/usb/dev-smartcard-reader.c       |   2 +-
include/hw/pci-host/spapr.h         |   2 +-
include/hw/ppc/spapr.h              |   3 +-
include/hw/ppc/spapr_irq.h          |   2 +-
include/hw/ppc/xics.h               |  26 ++--
include/hw/ppc/xive.h               |   7 +-
include/hw/qdev-core.h              |   3 +-
target/ppc/arch_dump.c              |   3 +-
target/ppc/cpu-qom.h                |   4 +
target/ppc/cpu.h                    |  11 +-
target/ppc/excp_helper.c            |  12 --
target/ppc/gdbstub.c                |  61 +++++++++
target/ppc/helper.h                 |  57 ++------
target/ppc/int_helper.c             | 129 +++++-------------
target/ppc/machine.c                |  44 ++++++-
target/ppc/mmu_helper.c             |  12 --
target/ppc/translate.c              |  49 ++++---
target/ppc/translate/vmx-impl.inc.c | 251 +++++++++++++++++++-----------------
target/ppc/translate/vsx-impl.inc.c | 147 +++++++++------------
target/ppc/translate_init.inc.c     |  71 +++++++++-
41 files changed, 581 insertions(+), 679 deletions(-)
[Qemu-devel] [PULL 00/43] ppc-for-4.0 queue 20190219
Posted by David Gibson 5 years, 7 months ago
The following changes since commit 1e36232994c8ad01774501d2e299deba3a2469af:

  Merge remote-tracking branch 'remotes/mcayland/tags/qemu-openbios-20190215' into staging (2019-02-15 11:12:14 +0000)

are available in the Git repository at:

  git://github.com/dgibson/qemu.git tags/ppc-for-4.0-20190219

for you to fetch changes up to 73e14c6a9cdefb94c01ea488f04e7fba7ac0dc5b:

  target/ppc: convert vmin* and vmax* to vector operations (2019-02-18 11:00:44 +1100)

----------------------------------------------------------------
ppc patch queue 2019-02-19

Here's the next batch of ppc and spapr patches.  Higlights are:

 * A bunch of improvements to TCG handling of vector instructions from
   Richard Henderson and Marc Cave-Ayland

 * Cleanup to the XICS interrupt controller from Greg Kurz, removing
   the special KVM subclasses which were a bad idea

 * Some refinements to the XIVE interrupt controller from Cédric Le
   Goater

 * Fix from Fabiano Rosas for a really dumb buffer overflow in the
   device tree code for memory hotplug

 * Code for allowing access to SPRs from the gdb stub from Fabiano
   Rosas

 * Assorted minor fixes and cleanups

----------------------------------------------------------------
BALATON Zoltan (1):
      target/ppc: Fix msync to do what hardware does

Benjamin Herrenschmidt (2):
      target/ppc: Remove some #if 0'ed code
      target/ppc: Disable ISA 2.06 PM instructions on POWER9

Cédric Le Goater (2):
      spapr/irq: add an 'nr_irq' parameter to initialize the backend.
      spapr/irq: remove the XICS offset adjustment

Fabiano Rosas (2):
      target/ppc: Enable reporting of SPRs to GDB
      spapr: fix out of bounds write in spapr_populate_drmem_v2

Greg Kurz (14):
      spapr: Rename xics to intc in interrupt controller agnostic code
      spapr_pci: Fix interrupt leak in rtas_ibm_change_msi() error path
      spapr: Disallow unsupported kernel-irqchip settings
      xive: Only set source type for LSIs
      xics: Explicitely call KVM ICP methods from the common code
      xics: Handle KVM ICP reset from the common code
      xics: Handle KVM ICP realize from the common code
      spapr/irq: Use the base ICP class for KVM
      xics: Drop the KVM ICP class
      xics: Explicitely call KVM ICS methods from the common code
      xics: Handle KVM ICS reset from the "simple" ICS code
      xics: Handle KVM interrupt presentation from "simple" ICS code
      spapr/irq: Use the "simple" ICS class for KVM
      xics: Drop the KVM ICS class

Mark Cave-Ayland (4):
      cuda: decrease time delay before raising VIA SR interrupt and remove fast path
      mac_newworld: change default NIC to sungem for mac99 machine
      target/ppc: convert VMX logical instructions to use vector operations
      target/ppc: convert vaddu[b,h,w,d] and vsubu[b,h,w,d] over to use vector operations

Michael Roth (1):
      qdev: pass an Object * to qbus_set_hotplug_handler()

Philippe Mathieu-Daudé (1):
      hw/ppc/prep: Drop useless inclusion of "hw/i386/pc.h"

Richard Henderson (15):
      target/ppc: convert vspltis[bhw] to use vector operations
      target/ppc: convert vsplt[bhw] to use vector operations
      target/ppc: convert VSX logical operations to vector operations
      target/ppc: convert xxspltib to vector operations
      target/ppc: convert xxspltw to vector operations
      target/ppc: convert xxsel to vector operations
      target/ppc: Pass integer to helper_mtvscr
      target/ppc: Use helper_mtvscr for reset and gdb
      target/ppc: Remove vscr_nj and vscr_sat
      target/ppc: Add helper_mfvscr
      target/ppc: Use mtvscr/mfvscr for vmstate
      target/ppc: Add set_vscr_sat
      target/ppc: Split out VSCR_SAT to a vector field
      target/ppc: convert vadd*s and vsub*s to vector operations
      target/ppc: convert vmin* and vmax* to vector operations

Roman Kapl (1):
      ppc: fix crash during branch stepping

 hw/acpi/pcihp.c                     |   2 +-
 hw/acpi/piix4.c                     |   2 +-
 hw/char/virtio-serial-bus.c         |   2 +-
 hw/core/bus.c                       |  11 +-
 hw/intc/spapr_xive.c                |   7 +-
 hw/intc/xics.c                      |  76 ++++++-----
 hw/intc/xics_kvm.c                  | 120 ++---------------
 hw/misc/macio/cuda.c                |  11 +-
 hw/pci/pcie.c                       |   2 +-
 hw/pci/shpc.c                       |   2 +-
 hw/ppc/mac_newworld.c               |   2 +-
 hw/ppc/prep.c                       |   1 -
 hw/ppc/spapr.c                      |  10 +-
 hw/ppc/spapr_events.c               |   2 +-
 hw/ppc/spapr_irq.c                  |  86 +++++-------
 hw/ppc/spapr_pci.c                  |  14 +-
 hw/ppc/spapr_vio.c                  |   2 +-
 hw/s390x/css-bridge.c               |   2 +-
 hw/s390x/s390-pci-bus.c             |   6 +-
 hw/scsi/virtio-scsi.c               |   2 +-
 hw/scsi/vmw_pvscsi.c                |   2 +-
 hw/usb/dev-smartcard-reader.c       |   2 +-
 include/hw/pci-host/spapr.h         |   2 +-
 include/hw/ppc/spapr.h              |   3 +-
 include/hw/ppc/spapr_irq.h          |   2 +-
 include/hw/ppc/xics.h               |  26 ++--
 include/hw/ppc/xive.h               |   7 +-
 include/hw/qdev-core.h              |   3 +-
 target/ppc/arch_dump.c              |   3 +-
 target/ppc/cpu-qom.h                |   4 +
 target/ppc/cpu.h                    |  11 +-
 target/ppc/excp_helper.c            |  12 --
 target/ppc/gdbstub.c                |  61 +++++++++
 target/ppc/helper.h                 |  57 ++------
 target/ppc/int_helper.c             | 129 +++++-------------
 target/ppc/machine.c                |  44 ++++++-
 target/ppc/mmu_helper.c             |  12 --
 target/ppc/translate.c              |  49 ++++---
 target/ppc/translate/vmx-impl.inc.c | 251 +++++++++++++++++++-----------------
 target/ppc/translate/vsx-impl.inc.c | 147 +++++++++------------
 target/ppc/translate_init.inc.c     |  71 +++++++++-
 41 files changed, 581 insertions(+), 679 deletions(-)

Re: [Qemu-devel] [PULL 00/43] ppc-for-4.0 queue 20190219
Posted by Peter Maydell 5 years, 7 months ago
On Mon, 18 Feb 2019 at 14:30, David Gibson <david@gibson.dropbear.id.au> wrote:
>
> The following changes since commit 1e36232994c8ad01774501d2e299deba3a2469af:
>
>   Merge remote-tracking branch 'remotes/mcayland/tags/qemu-openbios-20190215' into staging (2019-02-15 11:12:14 +0000)
>
> are available in the Git repository at:
>
>   git://github.com/dgibson/qemu.git tags/ppc-for-4.0-20190219
>
> for you to fetch changes up to 73e14c6a9cdefb94c01ea488f04e7fba7ac0dc5b:
>
>   target/ppc: convert vmin* and vmax* to vector operations (2019-02-18 11:00:44 +1100)
>
> ----------------------------------------------------------------
> ppc patch queue 2019-02-19
>
> Here's the next batch of ppc and spapr patches.  Higlights are:
>
>  * A bunch of improvements to TCG handling of vector instructions from
>    Richard Henderson and Marc Cave-Ayland
>
>  * Cleanup to the XICS interrupt controller from Greg Kurz, removing
>    the special KVM subclasses which were a bad idea
>
>  * Some refinements to the XIVE interrupt controller from Cédric Le
>    Goater
>
>  * Fix from Fabiano Rosas for a really dumb buffer overflow in the
>    device tree code for memory hotplug
>
>  * Code for allowing access to SPRs from the gdb stub from Fabiano
>    Rosas
>
>  * Assorted minor fixes and cleanups
>

Applied, thanks.

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

^^^ I notice the PowerPC section of the changelog is still pretty bare...

-- PMM

Re: [Qemu-devel] [Qemu-ppc] [PULL 00/43] ppc-for-4.0 queue 20190219
Posted by Greg Kurz 5 years, 7 months ago
On Tue, 19 Feb 2019 09:37:44 +0000
Peter Maydell <peter.maydell@linaro.org> wrote:

> On Mon, 18 Feb 2019 at 14:30, David Gibson <david@gibson.dropbear.id.au> wrote:
> >
> > The following changes since commit 1e36232994c8ad01774501d2e299deba3a2469af:
> >
> >   Merge remote-tracking branch 'remotes/mcayland/tags/qemu-openbios-20190215' into staging (2019-02-15 11:12:14 +0000)
> >
> > are available in the Git repository at:
> >
> >   git://github.com/dgibson/qemu.git tags/ppc-for-4.0-20190219
> >
> > for you to fetch changes up to 73e14c6a9cdefb94c01ea488f04e7fba7ac0dc5b:
> >
> >   target/ppc: convert vmin* and vmax* to vector operations (2019-02-18 11:00:44 +1100)
> >
> > ----------------------------------------------------------------
> > ppc patch queue 2019-02-19
> >
> > Here's the next batch of ppc and spapr patches.  Higlights are:
> >
> >  * A bunch of improvements to TCG handling of vector instructions from
> >    Richard Henderson and Marc Cave-Ayland
> >
> >  * Cleanup to the XICS interrupt controller from Greg Kurz, removing
> >    the special KVM subclasses which were a bad idea
> >
> >  * Some refinements to the XIVE interrupt controller from Cédric Le
> >    Goater
> >
> >  * Fix from Fabiano Rosas for a really dumb buffer overflow in the
> >    device tree code for memory hotplug
> >
> >  * Code for allowing access to SPRs from the gdb stub from Fabiano
> >    Rosas
> >
> >  * Assorted minor fixes and cleanups
> >  
> 
> Applied, thanks.
> 
> Please update the changelog at https://wiki.qemu.org/ChangeLog/4.0
> for any user-visible changes.
> 
> ^^^ I notice the PowerPC section of the changelog is still pretty bare...
> 

David,

I have an account. I'll start updating the wiki according to what was
actually merged up to this pull request.

> -- PMM
> 


Re: [Qemu-devel] [Qemu-ppc] [PULL 00/43] ppc-for-4.0 queue 20190219
Posted by Peter Maydell 5 years, 7 months ago
On Wed, 20 Feb 2019 at 15:43, Greg Kurz <groug@kaod.org> wrote:
> I have an account. I'll start updating the wiki according to what was
> actually merged up to this pull request.

Thanks. Personally I've found for the arm parts of the changelog
that it's much easier to update the changelog with every
pull request, and it's going to result in a more detailed log
as a result.

-- PMM

Re: [Qemu-devel] [Qemu-ppc] [PULL 00/43] ppc-for-4.0 queue 20190219
Posted by Greg Kurz 5 years, 7 months ago
On Wed, 20 Feb 2019 15:49:41 +0000
Peter Maydell <peter.maydell@linaro.org> wrote:

> On Wed, 20 Feb 2019 at 15:43, Greg Kurz <groug@kaod.org> wrote:
> > I have an account. I'll start updating the wiki according to what was
> > actually merged up to this pull request.  
> 
> Thanks. Personally I've found for the arm parts of the changelog
> that it's much easier to update the changelog with every
> pull request, and it's going to result in a more detailed log
> as a result.
> 

Yeah. Cedric and I will take care of that for future pull requests.

Here are the changes I've come up so far:

https://wiki.qemu.org/index.php?title=ChangeLog%2F4.0&diff=8226&oldid=8221

PPC developpers,

Please ping me or Cedric if there are other user-visible changes we
should mention, or even better, update the wiki if you can :)

> -- PMM
> 


Re: [Qemu-devel] [Qemu-ppc] [PULL 00/43] ppc-for-4.0 queue 20190219
Posted by David Gibson 5 years, 7 months ago
On Wed, Feb 20, 2019 at 05:54:25PM +0100, Greg Kurz wrote:
> On Wed, 20 Feb 2019 15:49:41 +0000
> Peter Maydell <peter.maydell@linaro.org> wrote:
> 
> > On Wed, 20 Feb 2019 at 15:43, Greg Kurz <groug@kaod.org> wrote:
> > > I have an account. I'll start updating the wiki according to what was
> > > actually merged up to this pull request.  
> > 
> > Thanks. Personally I've found for the arm parts of the changelog
> > that it's much easier to update the changelog with every
> > pull request, and it's going to result in a more detailed log
> > as a result.
> > 
> 
> Yeah. Cedric and I will take care of that for future pull requests.

Thanks so much for doing that - I'm quite aware I've been slack about
making these updates.

> Here are the changes I've come up so far:
> 
> https://wiki.qemu.org/index.php?title=ChangeLog%2F4.0&diff=8226&oldid=8221
> 
> PPC developpers,
> 
> Please ping me or Cedric if there are other user-visible changes we
> should mention, or even better, update the wiki if you can :)
> 
> > -- PMM
> > 
> 

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson
Re: [Qemu-devel] [Qemu-ppc] [PULL 00/43] ppc-for-4.0 queue 20190219
Posted by Cédric Le Goater 5 years, 7 months ago
On 2/20/19 4:49 PM, Peter Maydell wrote:
> On Wed, 20 Feb 2019 at 15:43, Greg Kurz <groug@kaod.org> wrote:
>> I have an account. I'll start updating the wiki according to what was
>> actually merged up to this pull request.
> 
> Thanks. Personally I've found for the arm parts of the changelog
> that it's much easier to update the changelog with every
> pull request, and it's going to result in a more detailed log
> as a result.

Yes.

I would have done some of it if I had an account. How do you
request for one ?

Thanks,

C.  

Re: [Qemu-devel] [Qemu-ppc] [PULL 00/43] ppc-for-4.0 queue 20190219
Posted by Peter Maydell 5 years, 7 months ago
On Wed, 20 Feb 2019 at 15:56, Cédric Le Goater <clg@kaod.org> wrote:
> I would have done some of it if I had an account. How do you
> request for one ?

You just ask any existing user; it's a simple hurdle to avoid
getting lots of wikispam from spammers who have automated
signing up to wikis via forms. (We document this on the
front page of the wiki: https://wiki.qemu.org/Main_Page)

If you let me know what user name you'd like I'll
create an account for you.

thanks
-- PMM