mbox

[PULL,v2,00/50] MIPS patches for 2022-06-11

Message ID 20220611220053.69027-1-philippe.mathieu.daude@gmail.com (mailing list archive)
State New, archived
Headers show

Pull-request

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

Message

Philippe Mathieu-Daudé June 11, 2022, 10 p.m. UTC
From: Philippe Mathieu-Daudé <f4bug@amsat.org>

Hi Richard,

In case it is not too late, this v2 includes another fix from Bernhard
which was supposed to be in v1. Otherwise it will go in the next PR.

The following changes since commit 30796f556790631c86c733ab06756981be0e1def:

  Merge tag 'for_upstream' of git://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging (2022-06-10 18:15:34 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 6e0c18598814bffb67204a90890fb7b34cad288a:

  docs/devel: Fix link to developer mailing lists (2022-06-11 23:50:35 +0200)

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

- Various TCG fixes (Marcin Nowakowski, Ni Hui, Stefan Pejic, Stefan Pejic)
- Sysbus floppy controller fix (Peter Maydell)
- QOM'ification of PIIX southbridge (Mark Cave-Ayland, Bernhard Beschow)
- Various fixes on ISA devices commonly used by x86/mips machines (Bernhard)
- Few cleanups in accel/tcg & documentation (Bernhard)

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

Bernhard Beschow (24):
  hw/southbridge/piix: Aggregate all PIIX southbridge type names
  hw/isa/piix4: Use object_initialize_child() for embedded struct
  hw/isa/piix4: Move pci_map_irq_fn' near pci_set_irq_fn
  hw/isa/piix4: QOM'ify PCI device creation and wiring
  hw/isa/piix4: Factor out ISABus retrieval from piix4_create()
  hw/isa/piix4: QOM'ify PIIX4 PM creation
  hw/isa/piix4: Inline and remove piix4_create()
  hw/isa/piix3: Move pci_map_irq_fn near pci_set_irq_fn
  hw/isa/piix3: QOM'ify PCI device creation and wiring
  hw/isa/piix3: Factor out ISABus retrieval from piix3_create()
  hw/isa/piix3: Inline and remove piix3_create()
  hw/i386/microvm-dt: Force explicit failure if retrieving QOM property
    fails
  hw/i386/microvm-dt: Determine mc146818rtc's IRQ number from QOM
    property
  hw/rtc/mc146818rtc: QOM'ify io_base offset
  hw: Reuse TYPE_I8042 define
  hw/audio/cs4231a: Const'ify global tables
  hw/i386/pc: Unexport PC_CPU_MODEL_IDS macro
  hw/i386/pc: Unexport functions used only internally
  hw/i386/pc: Remove orphan declarations
  hw/net/fsl_etsec/etsec: Remove obsolete and unused etsec_create()
  hw/mips/boston: Initialize g_autofree pointers
  accel/tcg/cpu-exec: Unexport dump_drift_info()
  accel/tcg: Inline dump_opcount_info() and remove it
  docs/devel: Fix link to developer mailing lists

Dragan Mladjenovic (4):
  target/mips: Fix emulation of nanoMIPS EXTRV_S.H instruction
  target/mips: Fix emulation of nanoMIPS BPOSGE32C instruction
  target/mips: Fix emulation of nanoMIPS BNEC[32] instruction
  target/mips: Fix handling of unaligned memory access for nanoMIPS ISA

Marcin Nowakowski (1):
  target/mips: Fix WatchHi.M handling

Mark Cave-Ayland (11):
  hw/acpi/piix4: move xen_enabled() logic from piix4_pm_init() to
    piix4_pm_realize()
  hw/acpi/piix4: change smm_enabled from int to bool
  hw/acpi/piix4: convert smm_enabled bool to qdev property
  hw/acpi/piix4: move PIIX4PMState into separate piix4.h header
  hw/acpi/piix4: alter piix4_pm_init() to return PIIX4PMState
  hw/acpi/piix4: rename piix4_pm_init() to piix4_pm_initfn()
  hw/acpi/piix4: use qdev gpio to wire up sci_irq
  hw/acpi/piix4: use qdev gpio to wire up smi_irq
  hw/i386/pc_piix: create PIIX4_PM device directly instead of using
    piix4_pm_initfn()
  hw/isa/piix4.c: create PIIX4_PM device directly instead of using
    piix4_pm_initfn()
  hw/acpi/piix4: remove unused piix4_pm_initfn() function

Ni Hui (6):
  target/mips: Fix SAT_S trans helper
  target/mips: Fix df_extract_val() and df_extract_df() dfe lookup
  target/mips: Fix msa checking condition in trans_msa_elm_fn()
  target/mips: Do not treat msa INSERT as NOP when wd is zero
  target/mips: Fix store adress of high 64bit in helper_msa_st_b()
  target/mips: Fix FTRUNC_S and FTRUNC_U trans helper

Peter Maydell (1):
  hw/block/fdc-sysbus: Always mark sysbus floppy controllers as not
    having DMA

Stefan Pejic (3):
  target/mips: Fix emulation of nanoMIPS MTHLIP instruction
  target/mips: Add missing default cases for some nanoMIPS pools
  target/mips: Undeprecate nanoMIPS ISA support in QEMU

 MAINTAINERS                              |   3 +-
 accel/tcg/cpu-exec.c                     |   4 +-
 accel/tcg/translate-all.c                |   5 -
 docs/about/deprecated.rst                |  30 ------
 docs/devel/submitting-a-patch.rst        |   6 +-
 hw/acpi/piix4.c                          |  77 +++------------
 hw/audio/cs4231a.c                       |   8 +-
 hw/block/fdc-sysbus.c                    |  16 +++-
 hw/i386/acpi-build.c                     |   1 +
 hw/i386/microvm-dt.c                     |   9 +-
 hw/i386/pc.c                             |  17 +++-
 hw/i386/pc_piix.c                        |  23 +++--
 hw/isa/piix3.c                           |  98 ++++++++++---------
 hw/isa/piix4.c                           | 116 ++++++++++++-----------
 hw/mips/boston.c                         |   3 +-
 hw/mips/jazz.c                           |   2 +-
 hw/mips/malta.c                          |   9 +-
 hw/net/fsl_etsec/etsec.c                 |  23 -----
 hw/net/fsl_etsec/etsec.h                 |   7 --
 hw/rtc/mc146818rtc.c                     |   9 +-
 hw/sparc64/sun4u.c                       |   2 +-
 include/exec/cpu-all.h                   |   3 -
 include/hw/acpi/piix4.h                  |  75 +++++++++++++++
 include/hw/block/fdc.h                   |   3 +-
 include/hw/i386/pc.h                     |  14 ---
 include/hw/isa/isa.h                     |   2 -
 include/hw/rtc/mc146818rtc.h             |   2 +-
 include/hw/southbridge/piix.h            |  12 +--
 target/mips/cpu.c                        |   2 +-
 target/mips/cpu.h                        |   3 +-
 target/mips/tcg/msa_helper.c             |   2 +-
 target/mips/tcg/msa_translate.c          |  29 +++---
 target/mips/tcg/nanomips_translate.c.inc |  33 ++++++-
 target/mips/tcg/sysemu/cp0_helper.c      |   3 +-
 target/mips/tcg/translate.c              |   5 +-
 35 files changed, 335 insertions(+), 321 deletions(-)
 create mode 100644 include/hw/acpi/piix4.h

Comments

Richard Henderson June 12, 2022, 2:16 p.m. UTC | #1
On 6/11/22 15:00, Philippe Mathieu-Daudé wrote:
> From: Philippe Mathieu-Daudé <f4bug@amsat.org>
> 
> Hi Richard,
> 
> In case it is not too late, this v2 includes another fix from Bernhard
> which was supposed to be in v1. Otherwise it will go in the next PR.

The second PR merged well with the first, so I have applied this too.


r~

> 
> The following changes since commit 30796f556790631c86c733ab06756981be0e1def:
> 
>    Merge tag 'for_upstream' of git://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging (2022-06-10 18:15:34 -0700)
> 
> are available in the Git repository at:
> 
>    https://github.com/philmd/qemu.git tags/mips-20220611
> 
> for you to fetch changes up to 6e0c18598814bffb67204a90890fb7b34cad288a:
> 
>    docs/devel: Fix link to developer mailing lists (2022-06-11 23:50:35 +0200)
> 
> ----------------------------------------------------------------
> MIPS patches queue
> 
> - Various TCG fixes (Marcin Nowakowski, Ni Hui, Stefan Pejic, Stefan Pejic)
> - Sysbus floppy controller fix (Peter Maydell)
> - QOM'ification of PIIX southbridge (Mark Cave-Ayland, Bernhard Beschow)
> - Various fixes on ISA devices commonly used by x86/mips machines (Bernhard)
> - Few cleanups in accel/tcg & documentation (Bernhard)
> 
> ----------------------------------------------------------------
> 
> Bernhard Beschow (24):
>    hw/southbridge/piix: Aggregate all PIIX southbridge type names
>    hw/isa/piix4: Use object_initialize_child() for embedded struct
>    hw/isa/piix4: Move pci_map_irq_fn' near pci_set_irq_fn
>    hw/isa/piix4: QOM'ify PCI device creation and wiring
>    hw/isa/piix4: Factor out ISABus retrieval from piix4_create()
>    hw/isa/piix4: QOM'ify PIIX4 PM creation
>    hw/isa/piix4: Inline and remove piix4_create()
>    hw/isa/piix3: Move pci_map_irq_fn near pci_set_irq_fn
>    hw/isa/piix3: QOM'ify PCI device creation and wiring
>    hw/isa/piix3: Factor out ISABus retrieval from piix3_create()
>    hw/isa/piix3: Inline and remove piix3_create()
>    hw/i386/microvm-dt: Force explicit failure if retrieving QOM property
>      fails
>    hw/i386/microvm-dt: Determine mc146818rtc's IRQ number from QOM
>      property
>    hw/rtc/mc146818rtc: QOM'ify io_base offset
>    hw: Reuse TYPE_I8042 define
>    hw/audio/cs4231a: Const'ify global tables
>    hw/i386/pc: Unexport PC_CPU_MODEL_IDS macro
>    hw/i386/pc: Unexport functions used only internally
>    hw/i386/pc: Remove orphan declarations
>    hw/net/fsl_etsec/etsec: Remove obsolete and unused etsec_create()
>    hw/mips/boston: Initialize g_autofree pointers
>    accel/tcg/cpu-exec: Unexport dump_drift_info()
>    accel/tcg: Inline dump_opcount_info() and remove it
>    docs/devel: Fix link to developer mailing lists
> 
> Dragan Mladjenovic (4):
>    target/mips: Fix emulation of nanoMIPS EXTRV_S.H instruction
>    target/mips: Fix emulation of nanoMIPS BPOSGE32C instruction
>    target/mips: Fix emulation of nanoMIPS BNEC[32] instruction
>    target/mips: Fix handling of unaligned memory access for nanoMIPS ISA
> 
> Marcin Nowakowski (1):
>    target/mips: Fix WatchHi.M handling
> 
> Mark Cave-Ayland (11):
>    hw/acpi/piix4: move xen_enabled() logic from piix4_pm_init() to
>      piix4_pm_realize()
>    hw/acpi/piix4: change smm_enabled from int to bool
>    hw/acpi/piix4: convert smm_enabled bool to qdev property
>    hw/acpi/piix4: move PIIX4PMState into separate piix4.h header
>    hw/acpi/piix4: alter piix4_pm_init() to return PIIX4PMState
>    hw/acpi/piix4: rename piix4_pm_init() to piix4_pm_initfn()
>    hw/acpi/piix4: use qdev gpio to wire up sci_irq
>    hw/acpi/piix4: use qdev gpio to wire up smi_irq
>    hw/i386/pc_piix: create PIIX4_PM device directly instead of using
>      piix4_pm_initfn()
>    hw/isa/piix4.c: create PIIX4_PM device directly instead of using
>      piix4_pm_initfn()
>    hw/acpi/piix4: remove unused piix4_pm_initfn() function
> 
> Ni Hui (6):
>    target/mips: Fix SAT_S trans helper
>    target/mips: Fix df_extract_val() and df_extract_df() dfe lookup
>    target/mips: Fix msa checking condition in trans_msa_elm_fn()
>    target/mips: Do not treat msa INSERT as NOP when wd is zero
>    target/mips: Fix store adress of high 64bit in helper_msa_st_b()
>    target/mips: Fix FTRUNC_S and FTRUNC_U trans helper
> 
> Peter Maydell (1):
>    hw/block/fdc-sysbus: Always mark sysbus floppy controllers as not
>      having DMA
> 
> Stefan Pejic (3):
>    target/mips: Fix emulation of nanoMIPS MTHLIP instruction
>    target/mips: Add missing default cases for some nanoMIPS pools
>    target/mips: Undeprecate nanoMIPS ISA support in QEMU
> 
>   MAINTAINERS                              |   3 +-
>   accel/tcg/cpu-exec.c                     |   4 +-
>   accel/tcg/translate-all.c                |   5 -
>   docs/about/deprecated.rst                |  30 ------
>   docs/devel/submitting-a-patch.rst        |   6 +-
>   hw/acpi/piix4.c                          |  77 +++------------
>   hw/audio/cs4231a.c                       |   8 +-
>   hw/block/fdc-sysbus.c                    |  16 +++-
>   hw/i386/acpi-build.c                     |   1 +
>   hw/i386/microvm-dt.c                     |   9 +-
>   hw/i386/pc.c                             |  17 +++-
>   hw/i386/pc_piix.c                        |  23 +++--
>   hw/isa/piix3.c                           |  98 ++++++++++---------
>   hw/isa/piix4.c                           | 116 ++++++++++++-----------
>   hw/mips/boston.c                         |   3 +-
>   hw/mips/jazz.c                           |   2 +-
>   hw/mips/malta.c                          |   9 +-
>   hw/net/fsl_etsec/etsec.c                 |  23 -----
>   hw/net/fsl_etsec/etsec.h                 |   7 --
>   hw/rtc/mc146818rtc.c                     |   9 +-
>   hw/sparc64/sun4u.c                       |   2 +-
>   include/exec/cpu-all.h                   |   3 -
>   include/hw/acpi/piix4.h                  |  75 +++++++++++++++
>   include/hw/block/fdc.h                   |   3 +-
>   include/hw/i386/pc.h                     |  14 ---
>   include/hw/isa/isa.h                     |   2 -
>   include/hw/rtc/mc146818rtc.h             |   2 +-
>   include/hw/southbridge/piix.h            |  12 +--
>   target/mips/cpu.c                        |   2 +-
>   target/mips/cpu.h                        |   3 +-
>   target/mips/tcg/msa_helper.c             |   2 +-
>   target/mips/tcg/msa_translate.c          |  29 +++---
>   target/mips/tcg/nanomips_translate.c.inc |  33 ++++++-
>   target/mips/tcg/sysemu/cp0_helper.c      |   3 +-
>   target/mips/tcg/translate.c              |   5 +-
>   35 files changed, 335 insertions(+), 321 deletions(-)
>   create mode 100644 include/hw/acpi/piix4.h
>