[Qemu-devel] [PULL 00/12] ppc-for-2.12 queue 20180212

David Gibson posted 12 patches 6 years, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20180212034054.23441-1-david@gibson.dropbear.id.au
Test checkpatch passed
Test docker-build@min-glib passed
Test docker-mingw@fedora passed
Test docker-quick@centos6 passed
Test ppcbe passed
Test ppcle passed
Test s390x passed
default-configs/ppc-softmmu.mak |   1 +
hw/misc/Makefile.objs           |   3 +
hw/misc/macio/cuda.c            | 111 ++++-----
hw/misc/macio/macio.c           |   2 +-
hw/misc/mos6522.c               | 505 ++++++++++++++++++++++++++++++++++++++++
hw/misc/trace-events            |   7 +
hw/ppc/mac.h                    |   2 +-
hw/ppc/spapr.c                  |   5 +-
hw/ppc/spapr_hcall.c            |   3 +-
include/hw/misc/mos6522.h       | 152 ++++++++++++
10 files changed, 722 insertions(+), 69 deletions(-)
create mode 100644 hw/misc/mos6522.c
create mode 100644 include/hw/misc/mos6522.h
[Qemu-devel] [PULL 00/12] ppc-for-2.12 queue 20180212
Posted by David Gibson 6 years, 2 months ago
The following changes since commit c7b02d7d032d6022060e4b393827c963c93ce63f:

  Merge remote-tracking branch 'remotes/stsquad/tags/pull-travis-speedup-090218-1' into staging (2018-02-09 16:12:34 +0000)

are available in the Git repository at:

  git://github.com/dgibson/qemu.git tags/ppc-for-2.12-20180212

for you to fetch changes up to 51f233ec92cdab7030cb7407dd7f009911c805b0:

  misc: introduce new mos6522 VIA device and enable it for ppc builds (2018-02-11 10:18:52 +1100)

----------------------------------------------------------------
ppc patch queue 2018-02-12

Here's the accumulatead ppc and pseries related patches for the last
while.  Highlights are:
    * A number of Macintosh / CUDA cleanups from Mark Cave-Ayland
    * An important bug fix (missing "break;") for
      H_GET_CPU_CHARACTERISTICS
    * Yet another fix for SMT mode handling
    * Assorted other cleanups and fixes

----------------------------------------------------------------
Daniel Henrique Barboza (1):
      hw/ppc: rename functions in comments

Greg Kurz (1):
      spapr: add missing break in h_get_cpu_characteristics()

Laurent Vivier (1):
      spapr: set vsmt to MAX(8, smp_threads)

Mark Cave-Ayland (9):
      cuda: do not use old_mmio accesses
      cuda: don't allow writes to port output pins
      cuda: introduce CUDAState parameter to get_counter()
      cuda: rename frequency property to tb_frequency
      cuda: minor cosmetic tidy-ups to get_next_irq_time()
      cuda: don't call cuda_update() when writing to ACR register
      cuda: set timer 1 frequency property to CUDA_TIMER_FREQ
      cuda: factor out timebase-derived counter value and load time
      misc: introduce new mos6522 VIA device and enable it for ppc builds

 default-configs/ppc-softmmu.mak |   1 +
 hw/misc/Makefile.objs           |   3 +
 hw/misc/macio/cuda.c            | 111 ++++-----
 hw/misc/macio/macio.c           |   2 +-
 hw/misc/mos6522.c               | 505 ++++++++++++++++++++++++++++++++++++++++
 hw/misc/trace-events            |   7 +
 hw/ppc/mac.h                    |   2 +-
 hw/ppc/spapr.c                  |   5 +-
 hw/ppc/spapr_hcall.c            |   3 +-
 include/hw/misc/mos6522.h       | 152 ++++++++++++
 10 files changed, 722 insertions(+), 69 deletions(-)
 create mode 100644 hw/misc/mos6522.c
 create mode 100644 include/hw/misc/mos6522.h

Re: [Qemu-devel] [PULL 00/12] ppc-for-2.12 queue 20180212
Posted by Peter Maydell 6 years, 2 months ago
On 12 February 2018 at 03:40, David Gibson <david@gibson.dropbear.id.au> wrote:
> The following changes since commit c7b02d7d032d6022060e4b393827c963c93ce63f:
>
>   Merge remote-tracking branch 'remotes/stsquad/tags/pull-travis-speedup-090218-1' into staging (2018-02-09 16:12:34 +0000)
>
> are available in the Git repository at:
>
>   git://github.com/dgibson/qemu.git tags/ppc-for-2.12-20180212
>
> for you to fetch changes up to 51f233ec92cdab7030cb7407dd7f009911c805b0:
>
>   misc: introduce new mos6522 VIA device and enable it for ppc builds (2018-02-11 10:18:52 +1100)
>
> ----------------------------------------------------------------
> ppc patch queue 2018-02-12
>
> Here's the accumulatead ppc and pseries related patches for the last
> while.  Highlights are:
>     * A number of Macintosh / CUDA cleanups from Mark Cave-Ayland
>     * An important bug fix (missing "break;") for
>       H_GET_CPU_CHARACTERISTICS
>     * Yet another fix for SMT mode handling
>     * Assorted other cleanups and fixes

Applied, thanks.

-- PMM

Re: [Qemu-devel] [PULL 00/12] ppc-for-2.12 queue 20180212
Posted by Laurent Vivier 6 years, 2 months ago
On 12/02/2018 04:40, David Gibson wrote:
> The following changes since commit c7b02d7d032d6022060e4b393827c963c93ce63f:
> 
>   Merge remote-tracking branch 'remotes/stsquad/tags/pull-travis-speedup-090218-1' into staging (2018-02-09 16:12:34 +0000)
> 
> are available in the Git repository at:
> 
>   git://github.com/dgibson/qemu.git tags/ppc-for-2.12-20180212
> 
> for you to fetch changes up to 51f233ec92cdab7030cb7407dd7f009911c805b0:
> 
>   misc: introduce new mos6522 VIA device and enable it for ppc builds (2018-02-11 10:18:52 +1100)
> 
> ----------------------------------------------------------------
> ppc patch queue 2018-02-12
> 
> Here's the accumulatead ppc and pseries related patches for the last
> while.  Highlights are:
>     * A number of Macintosh / CUDA cleanups from Mark Cave-Ayland
>     * An important bug fix (missing "break;") for
>       H_GET_CPU_CHARACTERISTICS
>     * Yet another fix for SMT mode handling
>     * Assorted other cleanups and fixes
> 
> ----------------------------------------------------------------
> Daniel Henrique Barboza (1):
>       hw/ppc: rename functions in comments
> 
> Greg Kurz (1):
>       spapr: add missing break in h_get_cpu_characteristics()
> 
> Laurent Vivier (1):
>       spapr: set vsmt to MAX(8, smp_threads)
> 
> Mark Cave-Ayland (9):
>       cuda: do not use old_mmio accesses
>       cuda: don't allow writes to port output pins
>       cuda: introduce CUDAState parameter to get_counter()
>       cuda: rename frequency property to tb_frequency
>       cuda: minor cosmetic tidy-ups to get_next_irq_time()
>       cuda: don't call cuda_update() when writing to ACR register
>       cuda: set timer 1 frequency property to CUDA_TIMER_FREQ
>       cuda: factor out timebase-derived counter value and load time
>       misc: introduce new mos6522 VIA device and enable it for ppc builds

David, following patches from Mark's series are missing in your pull
request, is that normal?

  cuda: convert to use the shared mos6522 device
  ppc: move CUDAState and other CUDA-related definitions into separate
       cuda.h file
  cuda: convert to trace-events

Thanks,
Laurent


Re: [Qemu-devel] [PULL 00/12] ppc-for-2.12 queue 20180212
Posted by David Gibson 6 years, 2 months ago
On Mon, Feb 12, 2018 at 07:46:21PM +0100, Laurent Vivier wrote:
> On 12/02/2018 04:40, David Gibson wrote:
> > The following changes since commit c7b02d7d032d6022060e4b393827c963c93ce63f:
> > 
> >   Merge remote-tracking branch 'remotes/stsquad/tags/pull-travis-speedup-090218-1' into staging (2018-02-09 16:12:34 +0000)
> > 
> > are available in the Git repository at:
> > 
> >   git://github.com/dgibson/qemu.git tags/ppc-for-2.12-20180212
> > 
> > for you to fetch changes up to 51f233ec92cdab7030cb7407dd7f009911c805b0:
> > 
> >   misc: introduce new mos6522 VIA device and enable it for ppc builds (2018-02-11 10:18:52 +1100)
> > 
> > ----------------------------------------------------------------
> > ppc patch queue 2018-02-12
> > 
> > Here's the accumulatead ppc and pseries related patches for the last
> > while.  Highlights are:
> >     * A number of Macintosh / CUDA cleanups from Mark Cave-Ayland
> >     * An important bug fix (missing "break;") for
> >       H_GET_CPU_CHARACTERISTICS
> >     * Yet another fix for SMT mode handling
> >     * Assorted other cleanups and fixes
> > 
> > ----------------------------------------------------------------
> > Daniel Henrique Barboza (1):
> >       hw/ppc: rename functions in comments
> > 
> > Greg Kurz (1):
> >       spapr: add missing break in h_get_cpu_characteristics()
> > 
> > Laurent Vivier (1):
> >       spapr: set vsmt to MAX(8, smp_threads)
> > 
> > Mark Cave-Ayland (9):
> >       cuda: do not use old_mmio accesses
> >       cuda: don't allow writes to port output pins
> >       cuda: introduce CUDAState parameter to get_counter()
> >       cuda: rename frequency property to tb_frequency
> >       cuda: minor cosmetic tidy-ups to get_next_irq_time()
> >       cuda: don't call cuda_update() when writing to ACR register
> >       cuda: set timer 1 frequency property to CUDA_TIMER_FREQ
> >       cuda: factor out timebase-derived counter value and load time
> >       misc: introduce new mos6522 VIA device and enable it for ppc builds
> 
> David, following patches from Mark's series are missing in your pull
> request, is that normal?

I don't know about normal, but it's expected.  I didn't get around to
reviewing and merging those last few patches of his before preparing
the pull request.  They'll be in the next one.

> 
>   cuda: convert to use the shared mos6522 device
>   ppc: move CUDAState and other CUDA-related definitions into separate
>        cuda.h file
>   cuda: convert to trace-events
> 
> Thanks,
> Laurent
> 

-- 
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