[PULL v2 00/43] MIPS patches for 2021-02-21

Philippe Mathieu-Daudé posted 43 patches 3 years, 2 months ago
Only 2 patches received!
hw/mips/loongson3_bootp.h                   |   7 +-
include/hw/isa/vt82c686.h                   |   1 +
include/hw/mips/bootloader.h                |  22 +
include/hw/pci/pci_ids.h                    |   3 +-
target/mips/cpu.h                           |  26 +-
target/mips/internal.h                      |  10 +-
target/mips/translate.h                     |   8 +
hw/intc/loongson_liointc.c                  |  16 +-
hw/isa/vt82c686.c                           | 542 ++++++++++++--------
hw/mips/bootloader.c                        | 200 ++++++++
hw/mips/boston.c                            |  62 +--
hw/mips/fuloong2e.c                         |  60 +--
hw/mips/loongson3_virt.c                    |   6 +-
target/mips/msa_helper.c                    |   1 +
target/mips/op_helper.c                     |   9 +-
target/mips/tlb_helper.c                    |  80 ++-
target/mips/translate.c                     | 111 ++--
MAINTAINERS                                 |   1 +
hw/isa/trace-events                         |   2 +
hw/mips/meson.build                         |   2 +-
tests/acceptance/machine_mips_loongson3v.py |  39 ++
21 files changed, 749 insertions(+), 459 deletions(-)
create mode 100644 include/hw/mips/bootloader.h
create mode 100644 hw/mips/bootloader.c
create mode 100644 tests/acceptance/machine_mips_loongson3v.py
[PULL v2 00/43] MIPS patches for 2021-02-21
Posted by Philippe Mathieu-Daudé 3 years, 2 months ago
The following changes since commit a528b8c4c638d60cc474c2f80952ff0f2e60521a:

  Merge remote-tracking branch 'remotes/philmd-gitlab/tags/sdmmc-20210220' into staging (2021-02-20 19:28:27 +0000)

are available in the Git repository at:

  https://gitlab.com/philmd/qemu.git tags/mips-20210221

for you to fetch changes up to cc2b4550115baf77d556341f17eb464d18953cee:

  vt82c686: Fix superio_cfg_{read,write}() functions (2021-02-21 19:42:34 +0100)

Since v1: Add missing license in include/hw/mips/bootloader.h.

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

- Drop redundant struct MemmapEntry (Bin)
- Fix for Coverity CID 1438965 and 1438967 (Jiaxun)
- Add MIPS bootloader API (Jiaxun)
- Use MIPS bootloader API on fuloong2e and boston machines (Jiaxun)
- Add PMON test for Loongson-3A1000 CPU (Jiaxun)
- Convert to translator API (Philippe)
- MMU cleanups (Philippe)
- Promote 128-bit multimedia registers as global ones (Philippe)
- Various cleanups/fixes on the VT82C686B southbridge (Zoltan)
----------------------------------------------------------------

BALATON Zoltan (16):
  vt82c686: Move superio memory region to SuperIOConfig struct
  vt82c686: Reorganise code
  vt82c686: Fix SMBus IO base and configuration registers
  vt82c686: Make vt82c686-pm an I/O tracing region
  vt82c686: Correct vt82c686-pm I/O size
  vt82c686: Correctly reset all registers to default values on reset
  vt82c686: Fix up power management io base and config
  vt82c686: Set user_creatable=false for VT82C686B_PM
  vt82c686: Make vt82c686b-pm an abstract base class and add vt8231-pm
    based on it
  vt82c686: Simplify vt82c686b_realize()
  vt82c686: Move creation of ISA devices to the ISA bridge
  vt82c686: Remove index field of SuperIOConfig
  vt82c686: Reduce indentation by returning early
  vt82c686: Simplify by returning earlier
  vt82c686: Log superio_cfg unimplemented accesses
  vt82c686: Fix superio_cfg_{read,write}() functions

Bin Meng (1):
  hw/mips: loongson3: Drop 'struct MemmapEntry'

Jiaxun Yang (6):
  hw/mips: Add a bootloader helper
  hw/mips/fuloong2e: Use bl_gen_kernel_jump to generate bootloaders
  hw/mips/boston: Use bl_gen_kernel_jump to generate bootloaders
  hw/mips/boston: Use bootloader helper to set GCRs
  hw/intc/loongson_liointc: Fix per core ISR handling
  tests/acceptance: Test PMON with Loongson-3A1000 CPU

Philippe Mathieu-Daudé (20):
  target/mips: fetch code with translator_ld
  target/mips: Remove access_type argument from map_address() handler
  target/mips: Remove access_type argument from get_seg_physical_address
  target/mips: Remove access_type arg from get_segctl_physical_address()
  target/mips: Remove access_type argument from get_physical_address()
  target/mips: Remove unused MMU definitions
  target/mips: Replace magic value by MMU_DATA_LOAD definition
  target/mips: Let do_translate_address() take MMUAccessType argument
  target/mips: Let cpu_mips_translate_address() take MMUAccessType arg
  target/mips: Let raise_mmu_exception() take MMUAccessType argument
  target/mips: Let get_physical_address() take MMUAccessType argument
  target/mips: Let get_seg*_physical_address() take MMUAccessType arg
  target/mips: Let CPUMIPSTLBContext::map_address() take MMUAccessType
  target/mips: Remove unused 'rw' argument from page_table_walk_refill()
  target/mips: Include missing "tcg/tcg.h" header
  target/mips: Make cpu_HI/LO registers public
  target/mips: Promote 128-bit multimedia registers as global ones
  target/mips: Rename 128-bit upper halve GPR registers
  target/mips: Introduce gen_load_gpr_hi() / gen_store_gpr_hi() helpers
  target/mips: Use GPR move functions in gen_HILO1_tx79()

 hw/mips/loongson3_bootp.h                   |   7 +-
 include/hw/isa/vt82c686.h                   |   1 +
 include/hw/mips/bootloader.h                |  22 +
 include/hw/pci/pci_ids.h                    |   3 +-
 target/mips/cpu.h                           |  26 +-
 target/mips/internal.h                      |  10 +-
 target/mips/translate.h                     |   8 +
 hw/intc/loongson_liointc.c                  |  16 +-
 hw/isa/vt82c686.c                           | 542 ++++++++++++--------
 hw/mips/bootloader.c                        | 200 ++++++++
 hw/mips/boston.c                            |  62 +--
 hw/mips/fuloong2e.c                         |  60 +--
 hw/mips/loongson3_virt.c                    |   6 +-
 target/mips/msa_helper.c                    |   1 +
 target/mips/op_helper.c                     |   9 +-
 target/mips/tlb_helper.c                    |  80 ++-
 target/mips/translate.c                     | 111 ++--
 MAINTAINERS                                 |   1 +
 hw/isa/trace-events                         |   2 +
 hw/mips/meson.build                         |   2 +-
 tests/acceptance/machine_mips_loongson3v.py |  39 ++
 21 files changed, 749 insertions(+), 459 deletions(-)
 create mode 100644 include/hw/mips/bootloader.h
 create mode 100644 hw/mips/bootloader.c
 create mode 100644 tests/acceptance/machine_mips_loongson3v.py

-- 
2.26.2

Re: [PULL v2 00/43] MIPS patches for 2021-02-21
Posted by Peter Maydell 3 years, 2 months ago
On Sun, 21 Feb 2021 at 19:44, Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>
> The following changes since commit a528b8c4c638d60cc474c2f80952ff0f2e60521a:
>
>   Merge remote-tracking branch 'remotes/philmd-gitlab/tags/sdmmc-20210220' into staging (2021-02-20 19:28:27 +0000)
>
> are available in the Git repository at:
>
>   https://gitlab.com/philmd/qemu.git tags/mips-20210221
>
> for you to fetch changes up to cc2b4550115baf77d556341f17eb464d18953cee:
>
>   vt82c686: Fix superio_cfg_{read,write}() functions (2021-02-21 19:42:34 +0100)
>
> Since v1: Add missing license in include/hw/mips/bootloader.h.
>
> ----------------------------------------------------------------
> MIPS patches queue
>
> - Drop redundant struct MemmapEntry (Bin)
> - Fix for Coverity CID 1438965 and 1438967 (Jiaxun)
> - Add MIPS bootloader API (Jiaxun)
> - Use MIPS bootloader API on fuloong2e and boston machines (Jiaxun)
> - Add PMON test for Loongson-3A1000 CPU (Jiaxun)
> - Convert to translator API (Philippe)
> - MMU cleanups (Philippe)
> - Promote 128-bit multimedia registers as global ones (Philippe)
> - Various cleanups/fixes on the VT82C686B southbridge (Zoltan)
> ----------------------------------------------------------------


Applied, thanks.

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

-- PMM