[PULL 00/23] MIPS & SH4 patches for 2026-07-07

Philippe Mathieu-Daudé posted 23 patches 2 weeks, 4 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260707181529.60191-1-philmd@oss.qualcomm.com
Maintainers: "Philippe Mathieu-Daudé" <philmd@mailo.com>, Aurelien Jarno <aurelien@aurel32.net>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Aleksandar Rikalo <arikalo@gmail.com>, Yoshinori Sato <yoshinori.sato@nifty.com>
target/mips/cpu.h                             |   31 +
target/mips/helper.h                          |   61 +
target/mips/internal.h                        |    3 +
target/mips/tcg/octeon.decode                 |  213 ++
target/mips/cpu.c                             |   68 +
target/mips/system/machine.c                  |   94 +
target/mips/tcg/octeon_crypto.c               | 2310 +++++++++++++++++
target/mips/tcg/octeon_translate.c            |  396 +++
target/mips/tcg/op_helper.c                   |   19 +-
target/mips/tcg/translate.c                   |   19 +
target/sh4/op_helper.c                        |    2 +-
target/sh4/translate.c                        |   15 +-
tests/tcg/mips/user/isa/octeon/octeon-insns.c |  216 ++
qemu-options.hx                               |    2 +-
target/mips/tcg/meson.build                   |    1 +
15 files changed, 3437 insertions(+), 13 deletions(-)
create mode 100644 target/mips/tcg/octeon_crypto.c
[PULL 00/23] MIPS & SH4 patches for 2026-07-07
Posted by Philippe Mathieu-Daudé 2 weeks, 4 days ago
The following changes since commit 916ab315cc2b3a3825ebb399d83339660144d5bd:

  Merge tag 'pull-nvme-20260707' of https://gitlab.com/birkelund/qemu into staging (2026-07-07 07:09:38 +0200)

are available in the Git repository at:

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

for you to fetch changes up to f086625548aa2f839c119243121ef863ecb606a0:

  qemu-options: Do not list -enable-kvm on MIPS binaries (2026-07-07 20:14:51 +0200)

----------------------------------------------------------------
MIPS and SuperH patches queue

- MIPS Octeon COP2 crypto opcodes
- Fix for SH4 FIPR/FTRV vector math opcodes

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

James Hilliard (21):
  target/mips: add Octeon COP2 crypto state
  target/mips: add Octeon COP2 crypto helper plumbing
  target/mips: add Octeon CRC COP2 helpers
  target/mips: add Octeon GFM COP2 helpers
  target/mips: add Octeon SHA3 COP2 helpers
  target/mips: add Octeon ZUC COP2 helpers
  target/mips: add Octeon SNOW3G COP2 helpers
  target/mips: add Octeon AES COP2 helpers
  target/mips: add Octeon SMS4 COP2 helpers
  target/mips: add Octeon 3DES and KASUMI COP2 helpers
  target/mips: add Octeon Camellia COP2 helpers
  target/mips: add Octeon HSH COP2 helpers
  target/mips: add Octeon CHORD and LLM COP2 helpers
  target/mips: decode Octeon COP2 register selectors
  target/mips: decode Octeon CRC and GFM COP2 selectors
  target/mips: decode Octeon HSH and SHA3 COP2 selectors
  target/mips: decode Octeon ZUC and SNOW3G COP2 selectors
  target/mips: decode Octeon block-cipher COP2 selectors
  target/mips: decode Octeon CHORD and LLM COP2 selectors
  target/mips: add Octeon CvmCount RDHWR support
  tests/tcg/mips: cover Octeon QMAC instructions

Philippe Mathieu-Daudé (1):
  qemu-options: Do not list -enable-kvm on MIPS binaries

Randy Schifflin (1):
  target/sh4: fixup tcg for sh4 fipr/ftrv instructions

 target/mips/cpu.h                             |   31 +
 target/mips/helper.h                          |   61 +
 target/mips/internal.h                        |    3 +
 target/mips/tcg/octeon.decode                 |  213 ++
 target/mips/cpu.c                             |   68 +
 target/mips/system/machine.c                  |   94 +
 target/mips/tcg/octeon_crypto.c               | 2310 +++++++++++++++++
 target/mips/tcg/octeon_translate.c            |  396 +++
 target/mips/tcg/op_helper.c                   |   19 +-
 target/mips/tcg/translate.c                   |   19 +
 target/sh4/op_helper.c                        |    2 +-
 target/sh4/translate.c                        |   15 +-
 tests/tcg/mips/user/isa/octeon/octeon-insns.c |  216 ++
 qemu-options.hx                               |    2 +-
 target/mips/tcg/meson.build                   |    1 +
 15 files changed, 3437 insertions(+), 13 deletions(-)
 create mode 100644 target/mips/tcg/octeon_crypto.c

-- 
2.53.0


Re: [PULL 00/23] MIPS & SH4 patches for 2026-07-07
Posted by Philippe Mathieu-Daudé 2 weeks, 4 days ago
On 7/7/26 20:15, Philippe Mathieu-Daudé wrote:
> The following changes since commit 916ab315cc2b3a3825ebb399d83339660144d5bd:
> 
>    Merge tag 'pull-nvme-20260707' of https://gitlab.com/birkelund/qemu into staging (2026-07-07 07:09:38 +0200)
> 
> are available in the Git repository at:
> 
>    https://github.com/philmd/qemu.git tags/mips-20260707
> 
> for you to fetch changes up to f086625548aa2f839c119243121ef863ecb606a0:
> 
>    qemu-options: Do not list -enable-kvm on MIPS binaries (2026-07-07 20:14:51 +0200)
> 
> ----------------------------------------------------------------
> MIPS and SuperH patches queue
> 
> - MIPS Octeon COP2 crypto opcodes
> - Fix for SH4 FIPR/FTRV vector math opcodes
> 
> ----------------------------------------------------------------

I forgot to mention I deliberately ignored this checkpatch.pl warning:

3/25 Checking commit b5e013415478 (target/mips: add Octeon COP2 crypto 
helper plumbing)
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
   target/mips/tcg/octeon_crypto.c

$ ./scripts/get_maintainer.pl -f target/mips/tcg/octeon_crypto.c
"Philippe Mathieu-Daudé" <philmd@mailo.com> (odd fixer:MIPS TCG CPUs)
Aurelien Jarno <aurelien@aurel32.net> (reviewer:MIPS TCG CPUs)
Jiaxun Yang <jiaxun.yang@flygoat.com> (reviewer:MIPS TCG CPUs)
Aleksandar Rikalo <arikalo@gmail.com> (reviewer:MIPS TCG CPUs)


Re: [PULL 00/23] MIPS & SH4 patches for 2026-07-07
Posted by Stefan Hajnoczi 2 weeks, 3 days ago
Applied, thanks.

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