qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] f16941: hw/mips: Remove the 'r4k' machine


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] f16941: hw/mips: Remove the 'r4k' machine
Date: Wed, 04 Nov 2020 03:23:12 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: f169413c27130ac9ebf96a1212100bba92f348ba
      
https://github.com/qemu/qemu/commit/f169413c27130ac9ebf96a1212100bba92f348ba
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2020-11-03 (Tue, 03 Nov 2020)

  Changed paths:
    M MAINTAINERS
    M default-configs/devices/mips-softmmu-common.mak
    M docs/system/deprecated.rst
    M hw/mips/Kconfig
    M hw/mips/meson.build
    R hw/mips/r4k.c
    M tests/qtest/cdrom-test.c
    M tests/qtest/endianness-test.c

  Log Message:
  -----------
  hw/mips: Remove the 'r4k' machine

We deprecated the support for the 'r4k' machine for the 5.0 release
(commit d32dc61421), which means that our deprecation policy allows
us to drop it in release 5.2. Remove the code.

To repeat the rationale from the deprecation note:
- this virtual machine has no specification
- the Linux kernel dropped support for it 10 years ago

Users are recommended to use the Malta board instead.

Acked-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
ACKed-by: Peter Krempa <pkrempa@redhat.com>
Message-Id: <20201102201311.2220005-1-f4bug@amsat.org>


  Commit: d136ecc085283dc068ab55ec830af8d10b5f938d
      
https://github.com/qemu/qemu/commit/d136ecc085283dc068ab55ec830af8d10b5f938d
  Author: Chetan Pant <chetan4windows@gmail.com>
  Date:   2020-11-03 (Tue, 03 Nov 2020)

  Changed paths:
    M hw/mips/cps.c
    M hw/misc/mips_cpc.c
    M hw/misc/mips_itu.c
    M include/hw/mips/cps.h
    M include/hw/misc/mips_cpc.h
    M include/hw/misc/mips_itu.h

  Log Message:
  -----------
  hw/mips: Fix Lesser GPL version number

There is no "version 2" of the "Lesser" General Public License.
It is either "GPL version 2.0" or "Lesser GPL version 2.1".
This patch replaces all occurrences of "Lesser GPL version 2" with
"Lesser GPL version 2.1" in comment section.

Signed-off-by: Chetan Pant <chetan4windows@gmail.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20201016143509.26692-1-chetan4windows@gmail.com>
[PMD: Split hw/ vs target/]
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


  Commit: 4a129ccdf25f920788a953df1ccc0e485f7b977c
      
https://github.com/qemu/qemu/commit/4a129ccdf25f920788a953df1ccc0e485f7b977c
  Author: Chetan Pant <chetan4windows@gmail.com>
  Date:   2020-11-03 (Tue, 03 Nov 2020)

  Changed paths:
    M hw/core/loader-fit.c
    M hw/mips/boston.c
    M hw/pci-host/xilinx-pcie.c
    M include/hw/pci-host/xilinx-pcie.h

  Log Message:
  -----------
  hw/mips/boston: Fix Lesser GPL version number

There is no "version 2" of the "Lesser" General Public License.
It is either "GPL version 2.0" or "Lesser GPL version 2.1".
This patch replaces all occurrences of "Lesser GPL version 2" with
"Lesser GPL version 2.1" in comment section.

Signed-off-by: Chetan Pant <chetan4windows@gmail.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20201023122633.19466-1-chetan4windows@gmail.com>
[PMD: Added hw/mips/ prefix in subject]
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


  Commit: a300c04f136a70c507e6f481b028363c879d16e5
      
https://github.com/qemu/qemu/commit/a300c04f136a70c507e6f481b028363c879d16e5
  Author: AlexChen <alex.chen@huawei.com>
  Date:   2020-11-03 (Tue, 03 Nov 2020)

  Changed paths:
    M hw/intc/loongson_liointc.c

  Log Message:
  -----------
  hw/intc/loongson: Fix incorrect 'core' calculation in liointc_read/write

According to the loongson spec
(http://www.loongson.cn/uploadfile/cpu/3B1500/Loongson_3B1500_cpu_user_1.pdf)
and the macro definition(#define R_PERCORE_ISR(x) (0x40 + 0x8 * x)), we know
that the ISR size per CORE is 8, so here we need to divide
(addr - R_PERCORE_ISR(0)) by 8, not 4.

Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: Alex Chen <alex.chen@huawei.com>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <5FA12391.8090400@huawei.com>
[PMD: Shortened subject]
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


  Commit: 89975214e684acb2767d28884610194b96640a12
      
https://github.com/qemu/qemu/commit/89975214e684acb2767d28884610194b96640a12
  Author: Chetan Pant <chetan4windows@gmail.com>
  Date:   2020-11-03 (Tue, 03 Nov 2020)

  Changed paths:
    M target/mips/cp0_helper.c
    M target/mips/dsp_helper.c
    M target/mips/fpu_helper.c
    M target/mips/gdbstub.c
    M target/mips/helper.c
    M target/mips/lmmi_helper.c
    M target/mips/mips-semi.c
    M target/mips/msa_helper.c
    M target/mips/op_helper.c
    M target/mips/translate.c
    M target/mips/translate_init.c.inc

  Log Message:
  -----------
  target/mips: Fix Lesser GPL version number

There is no "version 2" of the "Lesser" General Public License.
It is either "GPL version 2.0" or "Lesser GPL version 2.1".
This patch replaces all occurrences of "Lesser GPL version 2" with
"Lesser GPL version 2.1" in comment section.

Signed-off-by: Chetan Pant <chetan4windows@gmail.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20201016143509.26692-1-chetan4windows@gmail.com>
[PMD: Split hw/ vs target/]
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


  Commit: 8a805609d126ff2be9ad9ec118185dfc52633d6f
      
https://github.com/qemu/qemu/commit/8a805609d126ff2be9ad9ec118185dfc52633d6f
  Author: Huacai Chen <zltjiangshi@gmail.com>
  Date:   2020-11-03 (Tue, 03 Nov 2020)

  Changed paths:
    M target/mips/translate.c

  Log Message:
  -----------
  target/mips: Add unaligned access support for MIPS64R6 and Loongson-3

MIPSR6 (not only MIPS32R6) processors support unaligned access in
hardware, so set MO_UNALN in their default_tcg_memop_mask. Btw, new
Loongson-3 (such as Loongson-3A4000) also support unaligned access,
since both old and new Loongson-3 use the same binaries, we can simply
set MO_UNALN for all Loongson-3 processors.

Signed-off-by: Huacai Chen <chenhc@lemote.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <1604053541-27822-3-git-send-email-chenhc@lemote.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


  Commit: e46912b66f50b2d8b38f937a154f97e32b1c0332
      
https://github.com/qemu/qemu/commit/e46912b66f50b2d8b38f937a154f97e32b1c0332
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2020-11-04 (Wed, 04 Nov 2020)

  Changed paths:
    M MAINTAINERS
    M default-configs/devices/mips-softmmu-common.mak
    M docs/system/deprecated.rst
    M hw/core/loader-fit.c
    M hw/intc/loongson_liointc.c
    M hw/mips/Kconfig
    M hw/mips/boston.c
    M hw/mips/cps.c
    M hw/mips/meson.build
    R hw/mips/r4k.c
    M hw/misc/mips_cpc.c
    M hw/misc/mips_itu.c
    M hw/pci-host/xilinx-pcie.c
    M include/hw/mips/cps.h
    M include/hw/misc/mips_cpc.h
    M include/hw/misc/mips_itu.h
    M include/hw/pci-host/xilinx-pcie.h
    M target/mips/cp0_helper.c
    M target/mips/dsp_helper.c
    M target/mips/fpu_helper.c
    M target/mips/gdbstub.c
    M target/mips/helper.c
    M target/mips/lmmi_helper.c
    M target/mips/mips-semi.c
    M target/mips/msa_helper.c
    M target/mips/op_helper.c
    M target/mips/translate.c
    M target/mips/translate_init.c.inc
    M tests/qtest/cdrom-test.c
    M tests/qtest/endianness-test.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/philmd-gitlab/tags/mips-fixes-20201103' 
into staging

MIPS patches queue

- Removal of the 'r4k' machine (deprecated before 5.0)
- Fix LGPL license text (Chetan Pant)
- Support unaligned accesses on Loongson-3 (Huacai Chen)
- Fix out-of-bound access in Loongson-3 embedded I/O interrupt
  controller (Alex Chen)

CI jobs results:
. https://cirrus-ci.com/build/6324890389184512
. https://gitlab.com/philmd/qemu/-/pipelines/211275262
. https://travis-ci.org/github/philmd/qemu/builds/741188958

# gpg: Signature made Tue 03 Nov 2020 17:30:30 GMT
# gpg:                using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE
# gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <f4bug@amsat.org>" 
[full]
# Primary key fingerprint: FAAB E75E 1291 7221 DCFD  6BB2 E3E3 2C2C DEAD C0DE

* remotes/philmd-gitlab/tags/mips-fixes-20201103:
  target/mips: Add unaligned access support for MIPS64R6 and Loongson-3
  target/mips: Fix Lesser GPL version number
  hw/intc/loongson: Fix incorrect 'core' calculation in liointc_read/write
  hw/mips/boston: Fix Lesser GPL version number
  hw/mips: Fix Lesser GPL version number
  hw/mips: Remove the 'r4k' machine

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/3d6e32347a3b...e46912b66f50



reply via email to

[Prev in Thread] Current Thread [Next in Thread]