[Qemu-devel] [PULL 00/23] ppc-for-2.10 queue 20170511

David Gibson posted 23 patches 6 years, 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20170511041426.6488-1-david@gibson.dropbear.id.au
Test checkpatch passed
Test docker passed
Test s390x passed
.gitmodules                 |   3 +
Makefile                    |   3 +-
configure                   |   2 +
cpus.c                      |   6 +
cputlb.c                    |   8 +-
hw/intc/xics_kvm.c          |  13 +++
hw/ppc/mac_newworld.c       |  18 ++-
hw/ppc/mac_oldworld.c       |  18 ++-
hw/ppc/pnv.c                |   2 +-
hw/ppc/spapr.c              |  17 ++-
hw/ppc/spapr_hcall.c        |  18 ++-
include/hw/ppc/pnv.h        |   3 +-
include/hw/ppc/pnv_lpc.h    |   4 +-
include/hw/ppc/pnv_occ.h    |   4 +-
include/hw/ppc/xics.h       |   4 +-
pc-bios/README              |   3 +
pc-bios/qemu_vga.ndrv       | Bin 0 -> 14752 bytes
roms/QemuMacDrivers         |   1 +
target/ppc/Makefile.objs    |   1 +
target/ppc/cpu-models.h     |   1 +
target/ppc/cpu.h            |   5 +
target/ppc/excp_helper.c    |   3 +
target/ppc/kvm.c            |  23 ++--
target/ppc/mmu-book3s-v3.c  |   6 +-
target/ppc/mmu-book3s-v3.h  |   5 +
target/ppc/mmu-radix64.c    | 259 ++++++++++++++++++++++++++++++++++++++++++++
target/ppc/mmu-radix64.h    |  72 ++++++++++++
target/ppc/translate.c      |  48 ++++++--
target/ppc/translate_init.c |  38 +++++--
29 files changed, 525 insertions(+), 63 deletions(-)
create mode 100644 pc-bios/qemu_vga.ndrv
create mode 160000 roms/QemuMacDrivers
create mode 100644 target/ppc/mmu-radix64.c
create mode 100644 target/ppc/mmu-radix64.h
[Qemu-devel] [PULL 00/23] ppc-for-2.10 queue 20170511
Posted by David Gibson 6 years, 11 months ago
The following changes since commit 76d20ea0f1b26ebd5da2f5fb2fdf3250cde887bb:

  Merge remote-tracking branch 'armbru/tags/pull-qapi-2017-05-04-v3' into staging (2017-05-09 15:49:14 -0400)

are available in the git repository at:

  git://github.com/dgibson/qemu.git tags/ppc-for-2.10-20170511

for you to fetch changes up to e9edd931eb1b7e4be2274a8d9b3e5d5c4b7d1aad:

  target/ppc: Avoid printing wrong aliases in CPU help text (2017-05-11 09:45:15 +1000)

----------------------------------------------------------------
ppc patch queue for 2017-05-11

This pull request supersedes the one from yesterday (20170510), fixing
an important style bug in one patch, and adding an extra couple of
simple patches.

Highlights of this set:
  * Some fixes for POWER9
  * TCG support for POWER9 radix MMU
  * VGA rom for Mac machine types
  * Fixes for the XICS interrupt controller
  * MTTCG support for ppc targets

As suggested by Paolo, I've tried to add the Docker tests to my
standard pre-pull-request tests.  I haven't wholly suceeded; this has
been tested with some of the Docker images, but others I haven't
managed due to problems that as best I can tell are not due to
problems in this patch series.  I'll continue working on this for
future pull requests.  Specifically, 'travis', 'fedora', and 'centos6'
seem to work.  'min-glib' jammed while gtesting moxie, which seems
very unlikely to be caused by this series.  'ubuntu', 'debian' and
'debian-bootstrap' hit build errors almost immediately that look like
problems with the container configuration, and 'debian-*-cross' hit
build errors later on which also look like missing dependencies from
the container.

----------------------------------------------------------------
Bharata B Rao (1):
      cpus: Fix CPU unplug for MTTCG

Cédric Le Goater (1):
      ppc/pnv: restrict BMC object to the BMC simulator

David Gibson (3):
      spapr: Don't accidentally advertise HTM support on POWER9
      target/ppc: Allow workarounds for POWER9 DD1
      pnv: Fix build failures on some host platforms

Mark Cave-Ayland (4):
      Add QemuMacDrivers as submodule
      Add QemuMacDrivers qemu_vga.ndrv revision d4e7d7a built as submodule
      ppc: add qemu_vga.ndrv ROM to fw_cfg interface for OldWorld Macs
      ppc: add qemu_vga.ndrv ROM to fw_cfg interface for NewWorld Macs

Nikunj A Dadhania (5):
      target/ppc: Emulate LL/SC using cmpxchg helpers
      cputlb: handle first atomic write to the page
      target/ppc: Generate fence operations
      tcg: enable MTTCG by default for PPC64 on x86
      target/ppc: do not reset reserve_addr in exec_enter

Paolo Bonzini (1):
      ppc: xics: fix compilation with CentOS 6

Sam Bobroff (2):
      ppc/xics: Fix stale irq->status bits after get
      ppc/xics: preserve P and Q bits for KVM IRQs

Suraj Jitindar Singh (5):
      target/ppc: Set UPRT and GTSE on all cpus in H_REGISTER_PROCESS_TABLE
      target/ppc: Update tlbie to check privilege level based on GTSE
      target/ppc: Change tlbie invalid fields for POWER9 support
      target/ppc: Implement ISA V3.00 radix page fault handler
      target/ppc: Enable RADIX mmu mode for pseries TCG guest

Thomas Huth (1):
      target/ppc: Avoid printing wrong aliases in CPU help text

 .gitmodules                 |   3 +
 Makefile                    |   3 +-
 configure                   |   2 +
 cpus.c                      |   6 +
 cputlb.c                    |   8 +-
 hw/intc/xics_kvm.c          |  13 +++
 hw/ppc/mac_newworld.c       |  18 ++-
 hw/ppc/mac_oldworld.c       |  18 ++-
 hw/ppc/pnv.c                |   2 +-
 hw/ppc/spapr.c              |  17 ++-
 hw/ppc/spapr_hcall.c        |  18 ++-
 include/hw/ppc/pnv.h        |   3 +-
 include/hw/ppc/pnv_lpc.h    |   4 +-
 include/hw/ppc/pnv_occ.h    |   4 +-
 include/hw/ppc/xics.h       |   4 +-
 pc-bios/README              |   3 +
 pc-bios/qemu_vga.ndrv       | Bin 0 -> 14752 bytes
 roms/QemuMacDrivers         |   1 +
 target/ppc/Makefile.objs    |   1 +
 target/ppc/cpu-models.h     |   1 +
 target/ppc/cpu.h            |   5 +
 target/ppc/excp_helper.c    |   3 +
 target/ppc/kvm.c            |  23 ++--
 target/ppc/mmu-book3s-v3.c  |   6 +-
 target/ppc/mmu-book3s-v3.h  |   5 +
 target/ppc/mmu-radix64.c    | 259 ++++++++++++++++++++++++++++++++++++++++++++
 target/ppc/mmu-radix64.h    |  72 ++++++++++++
 target/ppc/translate.c      |  48 ++++++--
 target/ppc/translate_init.c |  38 +++++--
 29 files changed, 525 insertions(+), 63 deletions(-)
 create mode 100644 pc-bios/qemu_vga.ndrv
 create mode 160000 roms/QemuMacDrivers
 create mode 100644 target/ppc/mmu-radix64.c
 create mode 100644 target/ppc/mmu-radix64.h

Re: [Qemu-devel] [PULL 00/23] ppc-for-2.10 queue 20170511
Posted by Stefan Hajnoczi 6 years, 11 months ago
On Thu, May 11, 2017 at 02:14:03PM +1000, David Gibson wrote:
> The following changes since commit 76d20ea0f1b26ebd5da2f5fb2fdf3250cde887bb:
> 
>   Merge remote-tracking branch 'armbru/tags/pull-qapi-2017-05-04-v3' into staging (2017-05-09 15:49:14 -0400)
> 
> are available in the git repository at:
> 
>   git://github.com/dgibson/qemu.git tags/ppc-for-2.10-20170511
> 
> for you to fetch changes up to e9edd931eb1b7e4be2274a8d9b3e5d5c4b7d1aad:
> 
>   target/ppc: Avoid printing wrong aliases in CPU help text (2017-05-11 09:45:15 +1000)
> 
> ----------------------------------------------------------------
> ppc patch queue for 2017-05-11
> 
> This pull request supersedes the one from yesterday (20170510), fixing
> an important style bug in one patch, and adding an extra couple of
> simple patches.
> 
> Highlights of this set:
>   * Some fixes for POWER9
>   * TCG support for POWER9 radix MMU
>   * VGA rom for Mac machine types
>   * Fixes for the XICS interrupt controller
>   * MTTCG support for ppc targets
> 
> As suggested by Paolo, I've tried to add the Docker tests to my
> standard pre-pull-request tests.  I haven't wholly suceeded; this has
> been tested with some of the Docker images, but others I haven't
> managed due to problems that as best I can tell are not due to
> problems in this patch series.  I'll continue working on this for
> future pull requests.  Specifically, 'travis', 'fedora', and 'centos6'
> seem to work.  'min-glib' jammed while gtesting moxie, which seems
> very unlikely to be caused by this series.  'ubuntu', 'debian' and
> 'debian-bootstrap' hit build errors almost immediately that look like
> problems with the container configuration, and 'debian-*-cross' hit
> build errors later on which also look like missing dependencies from
> the container.
> 
> ----------------------------------------------------------------
> Bharata B Rao (1):
>       cpus: Fix CPU unplug for MTTCG
> 
> Cédric Le Goater (1):
>       ppc/pnv: restrict BMC object to the BMC simulator
> 
> David Gibson (3):
>       spapr: Don't accidentally advertise HTM support on POWER9
>       target/ppc: Allow workarounds for POWER9 DD1
>       pnv: Fix build failures on some host platforms
> 
> Mark Cave-Ayland (4):
>       Add QemuMacDrivers as submodule
>       Add QemuMacDrivers qemu_vga.ndrv revision d4e7d7a built as submodule
>       ppc: add qemu_vga.ndrv ROM to fw_cfg interface for OldWorld Macs
>       ppc: add qemu_vga.ndrv ROM to fw_cfg interface for NewWorld Macs
> 
> Nikunj A Dadhania (5):
>       target/ppc: Emulate LL/SC using cmpxchg helpers
>       cputlb: handle first atomic write to the page
>       target/ppc: Generate fence operations
>       tcg: enable MTTCG by default for PPC64 on x86
>       target/ppc: do not reset reserve_addr in exec_enter
> 
> Paolo Bonzini (1):
>       ppc: xics: fix compilation with CentOS 6
> 
> Sam Bobroff (2):
>       ppc/xics: Fix stale irq->status bits after get
>       ppc/xics: preserve P and Q bits for KVM IRQs
> 
> Suraj Jitindar Singh (5):
>       target/ppc: Set UPRT and GTSE on all cpus in H_REGISTER_PROCESS_TABLE
>       target/ppc: Update tlbie to check privilege level based on GTSE
>       target/ppc: Change tlbie invalid fields for POWER9 support
>       target/ppc: Implement ISA V3.00 radix page fault handler
>       target/ppc: Enable RADIX mmu mode for pseries TCG guest
> 
> Thomas Huth (1):
>       target/ppc: Avoid printing wrong aliases in CPU help text
> 
>  .gitmodules                 |   3 +
>  Makefile                    |   3 +-
>  configure                   |   2 +
>  cpus.c                      |   6 +
>  cputlb.c                    |   8 +-
>  hw/intc/xics_kvm.c          |  13 +++
>  hw/ppc/mac_newworld.c       |  18 ++-
>  hw/ppc/mac_oldworld.c       |  18 ++-
>  hw/ppc/pnv.c                |   2 +-
>  hw/ppc/spapr.c              |  17 ++-
>  hw/ppc/spapr_hcall.c        |  18 ++-
>  include/hw/ppc/pnv.h        |   3 +-
>  include/hw/ppc/pnv_lpc.h    |   4 +-
>  include/hw/ppc/pnv_occ.h    |   4 +-
>  include/hw/ppc/xics.h       |   4 +-
>  pc-bios/README              |   3 +
>  pc-bios/qemu_vga.ndrv       | Bin 0 -> 14752 bytes
>  roms/QemuMacDrivers         |   1 +
>  target/ppc/Makefile.objs    |   1 +
>  target/ppc/cpu-models.h     |   1 +
>  target/ppc/cpu.h            |   5 +
>  target/ppc/excp_helper.c    |   3 +
>  target/ppc/kvm.c            |  23 ++--
>  target/ppc/mmu-book3s-v3.c  |   6 +-
>  target/ppc/mmu-book3s-v3.h  |   5 +
>  target/ppc/mmu-radix64.c    | 259 ++++++++++++++++++++++++++++++++++++++++++++
>  target/ppc/mmu-radix64.h    |  72 ++++++++++++
>  target/ppc/translate.c      |  48 ++++++--
>  target/ppc/translate_init.c |  38 +++++--
>  29 files changed, 525 insertions(+), 63 deletions(-)
>  create mode 100644 pc-bios/qemu_vga.ndrv
>  create mode 160000 roms/QemuMacDrivers
>  create mode 100644 target/ppc/mmu-radix64.c
>  create mode 100644 target/ppc/mmu-radix64.h
> 

Thanks, applied to my staging tree:
https://github.com/stefanha/qemu/commits/staging

Stefan