[PULL 00/18] MIPS patches for 2021-07-02

Philippe Mathieu-Daudé posted 18 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/20210702133557.60317-1-f4bug@amsat.org
Maintainers: Jiaxun Yang <jiaxun.yang@flygoat.com>, Aurelien Jarno <aurelien@aurel32.net>, Aleksandar Rikalo <aleksandar.rikalo@syrmia.com>, "Philippe Mathieu-Daudé" <f4bug@amsat.org>
include/qemu/bitops.h                      |   22 +
target/mips/tcg/translate.h                |    5 +
hw/display/g364fb.c                        |   32 +-
hw/m68k/q800.c                             |   21 +-
hw/mips/jazz.c                             |   48 +-
hw/net/dp8393x.c                           |  302 +-
hw/pci-host/bonito.c                       |   12 +-
target/mips/tcg/translate.c                | 9277 +-------------------
target/mips/tcg/micromips_translate.c.inc  | 3231 +++++++
target/mips/tcg/mips16e_translate.c.inc    | 1123 +++
target/mips/tcg/nanomips_translate.c.inc   | 4922 +++++++++++
MAINTAINERS                                |    2 +
hw/net/trace-events                        |   17 +
hw/pci-host/trace-events                   |    3 +
tests/acceptance/machine_mips_fuloong2e.py |   42 +
15 files changed, 9603 insertions(+), 9456 deletions(-)
create mode 100644 target/mips/tcg/micromips_translate.c.inc
create mode 100644 target/mips/tcg/mips16e_translate.c.inc
create mode 100644 target/mips/tcg/nanomips_translate.c.inc
create mode 100644 tests/acceptance/machine_mips_fuloong2e.py
[PULL 00/18] MIPS patches for 2021-07-02
Posted by Philippe Mathieu-Daudé 4 years, 7 months ago
The following changes since commit 67e25eed977cb60e723b918207f0a3469baceef4:

  Merge remote-tracking branch 'remotes/rth-gitlab/tags/pull-tcg-20210629' into staging (2021-07-01 20:29:33 +0100)

are available in the Git repository at:

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

for you to fetch changes up to db0725d54983be3b8d5729dd5692db71da4cc05b:

  hw/mips/jazz: Map the UART devices unconditionally (2021-07-02 10:41:16 +0200)

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

- Extract nanoMIPS, microMIPS, Code Compaction from translate.c
- Allow PCI config accesses smaller than 32-bit on Bonito64 device
- Fix migration of g364fb device on Jazz Magnum
- Fix dp8393x PROM checksum on Jazz Magnum and Quadra 800
- Map the UART devices unconditionally on Jazz Magnum
- Add functional test booting Linux on the Fuloong 2E

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

Mark Cave-Ayland (10):
  g364fb: use RAM memory region for framebuffer
  g364fb: add VMStateDescription for G364SysBusState
  dp8393x: checkpatch fixes
  dp8393x: convert to trace-events
  hw/mips/jazz: move PROM and checksum calculation from dp8393x device
    to board
  hw/m68k/q800: move PROM and checksum calculation from dp8393x device
    to board
  dp8393x: remove onboard PROM containing MAC address and checksum
  qemu/bitops.h: add bitrev8 implementation
  hw/m68k/q800: fix PROM checksum and MAC address storage
  hw/mips/jazz: specify correct endian for dp8393x device

Philippe Mathieu-Daudé (8):
  target/mips: Add declarations for generic TCG helpers
  target/mips: Extract Code Compaction ASE translation routines
  target/mips: Extract the microMIPS ISA translation routines
  target/mips: Extract nanoMIPS ISA translation routines
  hw/pci-host/bonito: Trace PCI config accesses smaller than 32-bit
  hw/pci-host/bonito: Allow PCI config accesses smaller than 32-bit
  tests/acceptance: Test Linux on the Fuloong 2E machine
  hw/mips/jazz: Map the UART devices unconditionally

 include/qemu/bitops.h                      |   22 +
 target/mips/tcg/translate.h                |    5 +
 hw/display/g364fb.c                        |   32 +-
 hw/m68k/q800.c                             |   21 +-
 hw/mips/jazz.c                             |   48 +-
 hw/net/dp8393x.c                           |  302 +-
 hw/pci-host/bonito.c                       |   12 +-
 target/mips/tcg/translate.c                | 9277 +-------------------
 target/mips/tcg/micromips_translate.c.inc  | 3231 +++++++
 target/mips/tcg/mips16e_translate.c.inc    | 1123 +++
 target/mips/tcg/nanomips_translate.c.inc   | 4922 +++++++++++
 MAINTAINERS                                |    2 +
 hw/net/trace-events                        |   17 +
 hw/pci-host/trace-events                   |    3 +
 tests/acceptance/machine_mips_fuloong2e.py |   42 +
 15 files changed, 9603 insertions(+), 9456 deletions(-)
 create mode 100644 target/mips/tcg/micromips_translate.c.inc
 create mode 100644 target/mips/tcg/mips16e_translate.c.inc
 create mode 100644 target/mips/tcg/nanomips_translate.c.inc
 create mode 100644 tests/acceptance/machine_mips_fuloong2e.py

-- 
2.31.1

Re: [PULL 00/18] MIPS patches for 2021-07-02
Posted by Peter Maydell 4 years, 7 months ago
On Fri, 2 Jul 2021 at 14:38, Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>
> The following changes since commit 67e25eed977cb60e723b918207f0a3469baceef4:
>
>   Merge remote-tracking branch 'remotes/rth-gitlab/tags/pull-tcg-20210629' into staging (2021-07-01 20:29:33 +0100)
>
> are available in the Git repository at:
>
>   https://github.com/philmd/qemu.git tags/mips-20210702
>
> for you to fetch changes up to db0725d54983be3b8d5729dd5692db71da4cc05b:
>
>   hw/mips/jazz: Map the UART devices unconditionally (2021-07-02 10:41:16 +0200)
>
> ----------------------------------------------------------------
> MIPS patches queue
>
> - Extract nanoMIPS, microMIPS, Code Compaction from translate.c
> - Allow PCI config accesses smaller than 32-bit on Bonito64 device
> - Fix migration of g364fb device on Jazz Magnum
> - Fix dp8393x PROM checksum on Jazz Magnum and Quadra 800
> - Map the UART devices unconditionally on Jazz Magnum
> - Add functional test booting Linux on the Fuloong 2E
>


Applied, thanks.

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

-- PMM

Re: [PULL 00/18] MIPS patches for 2021-07-02
Posted by Philippe Mathieu-Daudé 4 years, 7 months ago
On 7/4/21 5:02 PM, Peter Maydell wrote:
> On Fri, 2 Jul 2021 at 14:38, Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>>
>> ----------------------------------------------------------------
>> MIPS patches queue
>>
>> - Extract nanoMIPS, microMIPS, Code Compaction from translate.c
>> - Allow PCI config accesses smaller than 32-bit on Bonito64 device
>> - Fix migration of g364fb device on Jazz Magnum
>> - Fix dp8393x PROM checksum on Jazz Magnum and Quadra 800
>> - Map the UART devices unconditionally on Jazz Magnum
>> - Add functional test booting Linux on the Fuloong 2E
>>
> 
> Applied, thanks.

Thanks. BTW I expect the following to trigger new Coverity warnings:

>  target/mips/tcg/translate.c                | 9277 +-------------------
>  target/mips/tcg/micromips_translate.c.inc  | 3231 +++++++
>  target/mips/tcg/mips16e_translate.c.inc    | 1123 +++
>  target/mips/tcg/nanomips_translate.c.inc   | 4922 +++++++++++