[PULL 00/15] MIPS patches for 2021-06-25

Philippe Mathieu-Daudé posted 15 patches 4 years, 7 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210625092329.1529100-1-f4bug@amsat.org
Maintainers: Aurelien Jarno <aurelien@aurel32.net>, Aleksandar Rikalo <aleksandar.rikalo@syrmia.com>, Jiaxun Yang <jiaxun.yang@flygoat.com>, "Philippe Mathieu-Daudé" <f4bug@amsat.org>
meson.build                                  |  2 +-
target/mips/cpu.h                            | 10 ++++--
target/mips/internal.h                       |  2 +-
target/mips/tcg/trace.h                      |  1 +
target/mips/{ => tcg}/translate.h            |  0
target/mips/trace.h                          |  1 -
target/mips/tcg/{msa32.decode => msa.decode} |  8 +++--
target/mips/tcg/msa64.decode                 | 17 ----------
target/mips/cpu.c                            |  2 +-
target/mips/tcg/msa_translate.c              | 23 ++++---------
target/mips/tcg/mxu_translate.c              |  4 +--
target/mips/tcg/sysemu/mips-semi.c           |  2 +-
target/mips/tcg/sysemu/tlb_helper.c          |  3 +-
target/mips/tcg/translate.c                  | 35 ++++++++------------
target/mips/tcg/meson.build                  |  3 +-
target/mips/{ => tcg}/trace-events           |  0
16 files changed, 42 insertions(+), 71 deletions(-)
create mode 100644 target/mips/tcg/trace.h
rename target/mips/{ => tcg}/translate.h (100%)
delete mode 100644 target/mips/trace.h
rename target/mips/tcg/{msa32.decode => msa.decode} (74%)
delete mode 100644 target/mips/tcg/msa64.decode
rename target/mips/{ => tcg}/trace-events (100%)
[PULL 00/15] MIPS patches for 2021-06-25
Posted by Philippe Mathieu-Daudé 4 years, 7 months ago
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

The following changes since commit d0ac9a61474cf594d19082bc8976247e984ea9a3:

  Merge remote-tracking branch 'remotes/thuth-gitlab/tags/pull-request-2021-06-21' into staging (2021-06-24 09:31:26 +0100)

are available in the Git repository at:

  https://github.com/philmd/qemu.git tags/mips-20210625

for you to fetch changes up to f5c6ee0c6b7b4b79b52a1614a808633dbb694de4:

  target/mips: Merge msa32/msa64 decodetree definitions (2021-06-24 16:48:08 +0200)

----------------------------------------------------------------
MIPS patches queue

Various fixes:
- Potential integer overflow (CID 1452921)
- Invalid emulation of nanoMIPS BPOSGE32 opcode
- Missing exception when DINSV opcode used with DSP disabled
- Do not abort but emit exception for invalid BRANCH opcodes
- TCG temporary leaks

Housekeeping:
- Remove dead code / comments
- Restrict few files to TCG, declarations to sysemu
- Merge MSA32 and MSA64 decodetree definitions

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

Aleksandar Rikalo (1):
  target/mips: fix emulation of nanoMIPS BPOSGE32 instruction

Philippe Mathieu-Daudé (14):
  target/mips: Fix potential integer overflow (CID 1452921)
  target/mips: Fix TCG temporary leaks in gen_pool32a5_nanomips_insn()
  target/mips: Fix more TCG temporary leaks in
    gen_pool32a5_nanomips_insn
  target/mips: Raise exception when DINSV opcode used with DSP disabled
  target/mips: Do not abort on invalid instruction
  target/mips: Move TCG trace events to tcg/ sub directory
  target/mips: Move translate.h to tcg/ sub directory
  target/mips: Restrict some system specific declarations to sysemu
  target/mips: Remove SmartMIPS / MDMX unuseful comments
  target/mips: Remove microMIPS BPOSGE32 / BPOSGE64 unuseful cases
  target/mips: Constify host_to_mips_errno[]
  target/mips: Optimize regnames[] arrays
  target/mips: Remove pointless gen_msa()
  target/mips: Merge msa32/msa64 decodetree definitions

 meson.build                                  |  2 +-
 target/mips/cpu.h                            | 10 ++++--
 target/mips/internal.h                       |  2 +-
 target/mips/tcg/trace.h                      |  1 +
 target/mips/{ => tcg}/translate.h            |  0
 target/mips/trace.h                          |  1 -
 target/mips/tcg/{msa32.decode => msa.decode} |  8 +++--
 target/mips/tcg/msa64.decode                 | 17 ----------
 target/mips/cpu.c                            |  2 +-
 target/mips/tcg/msa_translate.c              | 23 ++++---------
 target/mips/tcg/mxu_translate.c              |  4 +--
 target/mips/tcg/sysemu/mips-semi.c           |  2 +-
 target/mips/tcg/sysemu/tlb_helper.c          |  3 +-
 target/mips/tcg/translate.c                  | 35 ++++++++------------
 target/mips/tcg/meson.build                  |  3 +-
 target/mips/{ => tcg}/trace-events           |  0
 16 files changed, 42 insertions(+), 71 deletions(-)
 create mode 100644 target/mips/tcg/trace.h
 rename target/mips/{ => tcg}/translate.h (100%)
 delete mode 100644 target/mips/trace.h
 rename target/mips/tcg/{msa32.decode => msa.decode} (74%)
 delete mode 100644 target/mips/tcg/msa64.decode
 rename target/mips/{ => tcg}/trace-events (100%)

-- 
2.31.1

Re: [PULL 00/15] MIPS patches for 2021-06-25
Posted by Peter Maydell 4 years, 7 months ago
On Fri, 25 Jun 2021 at 11:08, Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>
> MIME-Version: 1.0
> Content-Type: text/plain; charset="utf-8"
> Content-Transfer-Encoding: 8bit
>
> The following changes since commit d0ac9a61474cf594d19082bc8976247e984ea9a3:
>
>   Merge remote-tracking branch 'remotes/thuth-gitlab/tags/pull-request-2021-06-21' into staging (2021-06-24 09:31:26 +0100)
>
> are available in the Git repository at:
>
>   https://github.com/philmd/qemu.git tags/mips-20210625
>
> for you to fetch changes up to f5c6ee0c6b7b4b79b52a1614a808633dbb694de4:
>
>   target/mips: Merge msa32/msa64 decodetree definitions (2021-06-24 16:48:08 +0200)
>
> ----------------------------------------------------------------
> MIPS patches queue
>
> Various fixes:
> - Potential integer overflow (CID 1452921)
> - Invalid emulation of nanoMIPS BPOSGE32 opcode
> - Missing exception when DINSV opcode used with DSP disabled
> - Do not abort but emit exception for invalid BRANCH opcodes
> - TCG temporary leaks
>
> Housekeeping:
> - Remove dead code / comments
> - Restrict few files to TCG, declarations to sysemu
> - Merge MSA32 and MSA64 decodetree definitions
>


Applied, thanks.

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

-- PMM