[PULL 0/6] MIPS queue for January 28th, 2020

Aleksandar Markovic posted 6 patches 4 years, 3 months ago
Test FreeBSD passed
Test docker-mingw@fedora passed
Test checkpatch passed
Test docker-quick@centos7 passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1580242161-20333-1-git-send-email-aleksandar.markovic@rt-rk.com
Maintainers: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, David Hildenbrand <david@redhat.com>, Thomas Huth <huth@tuxfamily.org>, Paolo Bonzini <pbonzini@redhat.com>, "Philippe Mathieu-Daudé" <philmd@redhat.com>, Jia Liu <proljc@gmail.com>, Michael Walle <michael@walle.cc>, Alistair Francis <alistair@alistair23.me>, David Gibson <david@gibson.dropbear.id.au>, Richard Henderson <rth@twiddle.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, "Michael S. Tsirkin" <mst@redhat.com>, BALATON Zoltan <balaton@eik.bme.hu>, Stafford Horne <shorne@gmail.com>, Anthony Green <green@moxielogic.com>, Aleksandar Rikalo <aleksandar.rikalo@rt-rk.com>, Chris Wulff <crwulff@gmail.com>, Christian Borntraeger <borntraeger@de.ibm.com>, Halil Pasic <pasic@linux.ibm.com>, KONRAD Frederic <frederic.konrad@adacore.com>, Helge Deller <deller@gmx.de>, Fabien Chouteau <chouteau@adacore.com>, Artyom Tarasenko <atar4qemu@gmail.com>, Bastian Koppelmann <kbastian@mail.uni-paderborn.de>, Aurelien Jarno <aurelien@aurel32.net>, Palmer Dabbelt <palmer@dabbelt.com>, Peter Maydell <peter.maydell@linaro.org>, Aleksandar Markovic <amarkovic@wavecomp.com>, Eduardo Habkost <ehabkost@redhat.com>, "Hervé Poussineau" <hpoussin@reactos.org>, Marek Vasut <marex@denx.de>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, Sagar Karandikar <sagark@eecs.berkeley.edu>, Laurent Vivier <laurent@vivier.eu>, Cornelia Huck <cohuck@redhat.com>, Max Filippov <jcmvbkbc@gmail.com>
disas/mips.c                   |  10 +++
hw/alpha/dp264.c               |   4 +-
hw/arm/armv7m.c                |   2 +-
hw/arm/boot.c                  |   2 +-
hw/core/generic-loader.c       |   2 +-
hw/core/loader.c               |  37 +++++-----
hw/cris/boot.c                 |   2 +-
hw/hppa/machine.c              |   4 +-
hw/i386/multiboot.c            |   2 +-
hw/i386/x86.c                  |   2 +-
hw/lm32/lm32_boards.c          |   4 +-
hw/lm32/milkymist.c            |   2 +-
hw/m68k/an5206.c               |   2 +-
hw/m68k/mcf5208.c              |   2 +-
hw/m68k/q800.c                 |   2 +-
hw/microblaze/boot.c           |   4 +-
hw/mips/mips_fulong2e.c        |   2 +-
hw/mips/mips_malta.c           |   3 +-
hw/mips/mips_mipssim.c         |   2 +-
hw/mips/mips_r4k.c             |   2 +-
hw/moxie/moxiesim.c            |   2 +-
hw/nios2/boot.c                |   4 +-
hw/openrisc/openrisc_sim.c     |   2 +-
hw/pci-host/prep.c             |   3 +-
hw/ppc/e500.c                  |   2 +-
hw/ppc/mac_newworld.c          |   4 +-
hw/ppc/mac_oldworld.c          |   4 +-
hw/ppc/ppc440_bamboo.c         |   2 +-
hw/ppc/sam460ex.c              |   3 +-
hw/ppc/spapr.c                 |   6 +-
hw/ppc/virtex_ml507.c          |   2 +-
hw/riscv/boot.c                |   4 +-
hw/s390x/ipl.c                 |   7 +-
hw/sparc/leon3.c               |   2 +-
hw/sparc/sun4m.c               |   4 +-
hw/sparc64/sun4u.c             |   5 +-
hw/tricore/tricore_testboard.c |   2 +-
hw/xtensa/sim.c                |   2 +-
hw/xtensa/xtfpga.c             |   2 +-
include/disas/dis-asm.h        |   3 +
include/hw/elf_ops.h           |   6 +-
include/hw/loader.h            |  21 +++---
qemu-deprecated.texi           |   2 +-
target/mips/cpu.h              |   4 +-
target/mips/helper.c           |  20 ++++--
target/mips/helper.h           |   5 ++
target/mips/internal.h         |   1 +
target/mips/machine.c          |   6 +-
target/mips/mips-semi.c        |  15 ++--
target/mips/op_helper.c        | 152 +++++++++++++++++++++++++++++++++++------
target/mips/translate.c        |  88 +++++++++++++++++++++++-
51 files changed, 356 insertions(+), 121 deletions(-)
[PULL 0/6] MIPS queue for January 28th, 2020
Posted by Aleksandar Markovic 4 years, 3 months ago
From: Aleksandar Markovic <amarkovic@wavecomp.com>

The following changes since commit 4c60e3289875ae6c516a37523bcecb87f68ce67c:

  Merge remote-tracking branch 'remotes/rth/tags/pull-pa-20200127' into staging (2020-01-28 15:11:04 +0000)

are available in the git repository at:

  https://github.com/AMarkovic/qemu tags/mips-queue-jan-28-2020

for you to fetch changes up to 370bf3a4196ebef247752a68b89d497522168ebb:

  target/mips: Add implementation of GINVT instruction (2020-01-28 20:52:20 +0100)

----------------------------------------------------------------

MIPS queue for January 28th, 2020

  A diverse set of fixes and improvements:

    - finalize documentation on deprecating r4k machine
    - enable disassembler to receive target-specific data
    - enable kernel loader to get e_flags from ELF header
    - improve code flow in helper_do_semihosting()
    - amend CP0 WatchHi register implementation
    - add GINVT instruction emulation

----------------------------------------------------------------

Aleksandar Markovic (2):
  target/mips: Rectify documentation on deprecating r4k machine
  disas: Add a field for target-dependant data

Daniel Henrique Barboza (1):
  mips-semi.c: remove 'uhi_done' label in helper_do_semihosting()

Philippe Mathieu-Daudé (1):
  hw/core/loader: Let load_elf() populate the processor-specific flags

Yongbok Kim (2):
  target/mips: Amend CP0 WatchHi register implementation
  target/mips: Add implementation of GINVT instruction

 disas/mips.c                   |  10 +++
 hw/alpha/dp264.c               |   4 +-
 hw/arm/armv7m.c                |   2 +-
 hw/arm/boot.c                  |   2 +-
 hw/core/generic-loader.c       |   2 +-
 hw/core/loader.c               |  37 +++++-----
 hw/cris/boot.c                 |   2 +-
 hw/hppa/machine.c              |   4 +-
 hw/i386/multiboot.c            |   2 +-
 hw/i386/x86.c                  |   2 +-
 hw/lm32/lm32_boards.c          |   4 +-
 hw/lm32/milkymist.c            |   2 +-
 hw/m68k/an5206.c               |   2 +-
 hw/m68k/mcf5208.c              |   2 +-
 hw/m68k/q800.c                 |   2 +-
 hw/microblaze/boot.c           |   4 +-
 hw/mips/mips_fulong2e.c        |   2 +-
 hw/mips/mips_malta.c           |   3 +-
 hw/mips/mips_mipssim.c         |   2 +-
 hw/mips/mips_r4k.c             |   2 +-
 hw/moxie/moxiesim.c            |   2 +-
 hw/nios2/boot.c                |   4 +-
 hw/openrisc/openrisc_sim.c     |   2 +-
 hw/pci-host/prep.c             |   3 +-
 hw/ppc/e500.c                  |   2 +-
 hw/ppc/mac_newworld.c          |   4 +-
 hw/ppc/mac_oldworld.c          |   4 +-
 hw/ppc/ppc440_bamboo.c         |   2 +-
 hw/ppc/sam460ex.c              |   3 +-
 hw/ppc/spapr.c                 |   6 +-
 hw/ppc/virtex_ml507.c          |   2 +-
 hw/riscv/boot.c                |   4 +-
 hw/s390x/ipl.c                 |   7 +-
 hw/sparc/leon3.c               |   2 +-
 hw/sparc/sun4m.c               |   4 +-
 hw/sparc64/sun4u.c             |   5 +-
 hw/tricore/tricore_testboard.c |   2 +-
 hw/xtensa/sim.c                |   2 +-
 hw/xtensa/xtfpga.c             |   2 +-
 include/disas/dis-asm.h        |   3 +
 include/hw/elf_ops.h           |   6 +-
 include/hw/loader.h            |  21 +++---
 qemu-deprecated.texi           |   2 +-
 target/mips/cpu.h              |   4 +-
 target/mips/helper.c           |  20 ++++--
 target/mips/helper.h           |   5 ++
 target/mips/internal.h         |   1 +
 target/mips/machine.c          |   6 +-
 target/mips/mips-semi.c        |  15 ++--
 target/mips/op_helper.c        | 152 +++++++++++++++++++++++++++++++++++------
 target/mips/translate.c        |  88 +++++++++++++++++++++++-
 51 files changed, 356 insertions(+), 121 deletions(-)

-- 
2.7.4


Re: [PULL 0/6] MIPS queue for January 28th, 2020
Posted by Aleksandar Markovic 4 years, 3 months ago
On Tue, Jan 28, 2020 at 9:19 PM Aleksandar Markovic
<aleksandar.markovic@rt-rk.com> wrote:
>
> From: Aleksandar Markovic <amarkovic@wavecomp.com>
>
> The following changes since commit 4c60e3289875ae6c516a37523bcecb87f68ce67c:
>
>   Merge remote-tracking branch 'remotes/rth/tags/pull-pa-20200127' into staging (2020-01-28 15:11:04 +0000)
>
> are available in the git repository at:
>
>   https://github.com/AMarkovic/qemu tags/mips-queue-jan-28-2020
>
> for you to fetch changes up to 370bf3a4196ebef247752a68b89d497522168ebb:
>
>   target/mips: Add implementation of GINVT instruction (2020-01-28 20:52:20 +0100)
>
> ----------------------------------------------------------------
>

Hello, Peter,

Please discard this pull request entirely.

I will shortly send a new one. This will have some non-trivial fixes
and improvements of commit messages, but code-wise will be equivalent
to this one.

Sorry for any inconvenience.

Yours,
Aleksandar

> MIPS queue for January 28th, 2020
>
>   A diverse set of fixes and improvements:
>
>     - finalize documentation on deprecating r4k machine
>     - enable disassembler to receive target-specific data
>     - enable kernel loader to get e_flags from ELF header
>     - improve code flow in helper_do_semihosting()
>     - amend CP0 WatchHi register implementation
>     - add GINVT instruction emulation
>
> ----------------------------------------------------------------
>
> Aleksandar Markovic (2):
>   target/mips: Rectify documentation on deprecating r4k machine
>   disas: Add a field for target-dependant data
>
> Daniel Henrique Barboza (1):
>   mips-semi.c: remove 'uhi_done' label in helper_do_semihosting()
>
> Philippe Mathieu-Daudé (1):
>   hw/core/loader: Let load_elf() populate the processor-specific flags
>
> Yongbok Kim (2):
>   target/mips: Amend CP0 WatchHi register implementation
>   target/mips: Add implementation of GINVT instruction
>
>  disas/mips.c                   |  10 +++
>  hw/alpha/dp264.c               |   4 +-
>  hw/arm/armv7m.c                |   2 +-
>  hw/arm/boot.c                  |   2 +-
>  hw/core/generic-loader.c       |   2 +-
>  hw/core/loader.c               |  37 +++++-----
>  hw/cris/boot.c                 |   2 +-
>  hw/hppa/machine.c              |   4 +-
>  hw/i386/multiboot.c            |   2 +-
>  hw/i386/x86.c                  |   2 +-
>  hw/lm32/lm32_boards.c          |   4 +-
>  hw/lm32/milkymist.c            |   2 +-
>  hw/m68k/an5206.c               |   2 +-
>  hw/m68k/mcf5208.c              |   2 +-
>  hw/m68k/q800.c                 |   2 +-
>  hw/microblaze/boot.c           |   4 +-
>  hw/mips/mips_fulong2e.c        |   2 +-
>  hw/mips/mips_malta.c           |   3 +-
>  hw/mips/mips_mipssim.c         |   2 +-
>  hw/mips/mips_r4k.c             |   2 +-
>  hw/moxie/moxiesim.c            |   2 +-
>  hw/nios2/boot.c                |   4 +-
>  hw/openrisc/openrisc_sim.c     |   2 +-
>  hw/pci-host/prep.c             |   3 +-
>  hw/ppc/e500.c                  |   2 +-
>  hw/ppc/mac_newworld.c          |   4 +-
>  hw/ppc/mac_oldworld.c          |   4 +-
>  hw/ppc/ppc440_bamboo.c         |   2 +-
>  hw/ppc/sam460ex.c              |   3 +-
>  hw/ppc/spapr.c                 |   6 +-
>  hw/ppc/virtex_ml507.c          |   2 +-
>  hw/riscv/boot.c                |   4 +-
>  hw/s390x/ipl.c                 |   7 +-
>  hw/sparc/leon3.c               |   2 +-
>  hw/sparc/sun4m.c               |   4 +-
>  hw/sparc64/sun4u.c             |   5 +-
>  hw/tricore/tricore_testboard.c |   2 +-
>  hw/xtensa/sim.c                |   2 +-
>  hw/xtensa/xtfpga.c             |   2 +-
>  include/disas/dis-asm.h        |   3 +
>  include/hw/elf_ops.h           |   6 +-
>  include/hw/loader.h            |  21 +++---
>  qemu-deprecated.texi           |   2 +-
>  target/mips/cpu.h              |   4 +-
>  target/mips/helper.c           |  20 ++++--
>  target/mips/helper.h           |   5 ++
>  target/mips/internal.h         |   1 +
>  target/mips/machine.c          |   6 +-
>  target/mips/mips-semi.c        |  15 ++--
>  target/mips/op_helper.c        | 152 +++++++++++++++++++++++++++++++++++------
>  target/mips/translate.c        |  88 +++++++++++++++++++++++-
>  51 files changed, 356 insertions(+), 121 deletions(-)
>
> --
> 2.7.4
>
>

Re: [PULL 0/6] MIPS queue for January 28th, 2020
Posted by Philippe Mathieu-Daudé 4 years, 3 months ago
Hi Peter,

On 1/28/20 9:09 PM, Aleksandar Markovic wrote:
> From: Aleksandar Markovic <amarkovic@wavecomp.com>
> 
> The following changes since commit 4c60e3289875ae6c516a37523bcecb87f68ce67c:
> 
>    Merge remote-tracking branch 'remotes/rth/tags/pull-pa-20200127' into staging (2020-01-28 15:11:04 +0000)
> 
> are available in the git repository at:
> 
>    https://github.com/AMarkovic/qemu tags/mips-queue-jan-28-2020
> 
> for you to fetch changes up to 370bf3a4196ebef247752a68b89d497522168ebb:
> 
>    target/mips: Add implementation of GINVT instruction (2020-01-28 20:52:20 +0100)
> 
> ----------------------------------------------------------------
> 
> MIPS queue for January 28th, 2020
> 
>    A diverse set of fixes and improvements:
> 
>      - finalize documentation on deprecating r4k machine
>      - enable disassembler to receive target-specific data
>      - enable kernel loader to get e_flags from ELF header
>      - improve code flow in helper_do_semihosting()
>      - amend CP0 WatchHi register implementation
>      - add GINVT instruction emulation
> 
> ----------------------------------------------------------------
> 
> Aleksandar Markovic (2):
>    target/mips: Rectify documentation on deprecating r4k machine
>    disas: Add a field for target-dependant data
> 
> Daniel Henrique Barboza (1):
>    mips-semi.c: remove 'uhi_done' label in helper_do_semihosting()
> 
> Philippe Mathieu-Daudé (1):
>    hw/core/loader: Let load_elf() populate the processor-specific flags

Do you mind holding this pull request? I don't feel comfortable being 
listed as the author of this patch. I'll discuss it on the patch thread 
with Aleksandar.

> 
> Yongbok Kim (2):
>    target/mips: Amend CP0 WatchHi register implementation
>    target/mips: Add implementation of GINVT instruction