MIPS patches for 5.1
The following changes since commit 1a53dfee92284d3016a579ef31d53367e84d9dd8:
Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2020-07-13' into staging (2020-07-14 13:52:10 +0100)
are available in the Git repository at:
https://gitlab.com/philmd/qemu.git tags/mips-next-20200714
for you to fetch changes up to 15d983dee95edff1dc4c0bed71ce02fff877e766:
MAINTAINERS: Adjust MIPS maintainership (add Huacai Chen & Jiaxun Yang) (2020-07-14 21:49:33 +0200)
----------------------------------------------------------------
MIPS patches for 5.1
- A pair of fixes,
- Add Huacai Chen as MIPS KVM maintainer,
- Add Jiaxun Yang as designated MIPS TCG reviewer.
CI jobs results:
. https://travis-ci.org/github/philmd/qemu/builds/708079271
. https://gitlab.com/philmd/qemu/-/pipelines/166528104
. https://cirrus-ci.com/build/6483996878045184
----------------------------------------------------------------
Aleksandar Markovic (2):
target/mips: Remove identical if/else branches
MAINTAINERS: Adjust MIPS maintainership (add Huacai Chen & Jiaxun
Yang)
Alex Richardson (1):
target/mips: Fix ADD.S FPU instruction
target/mips/cp0_helper.c | 9 +-------- target/mips/fpu_helper.c | 2 +- MAINTAINERS | 4 ++++ 3 files changed, 6 insertions(+), 9 deletions(-)
Signature · 1 line
2.21.3
[PULL 1/3] target/mips: Remove identical if/else branches
From: Aleksandar Markovic <[email protected]>
Remove the segment:
if (other_tc == other->current_tc) {
tccause = other->CP0_Cause;
} else {
tccause = other->CP0_Cause;
}Original contributor can't remember what was his intention.
Message-Id: <[email protected]>
--- target/mips/cp0_helper.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-)
target/mips/cp0_helper.c +1 -8
@@ -375,16 +375,9 @@ target_ulong helper_mftc0_entryhi(CPUMIPSState *env)target_ulong helper_mftc0_cause (CPUMIPSState *env) {int other_tc = env->CP0_VPEControl & (0xff << CP0VPECo_TargTC); -int32_t tccause;CPUMIPSState *other =mips_cpu_map_tc (env, &other_tc); -if (other_tc == other->current_tc) { - tccause = other->CP0_Cause; - }else { - tccause = other->CP0_Cause; - } - -return tccause; +return other->CP0_Cause; }target_ulong helper_mftc0_status (CPUMIPSState *env)
Signature · 1 line
2.21.3
[PULL 3/3] MAINTAINERS: Adjust MIPS maintainership (add Huacai Chen & Jiaxun Yang)
In reply to Philippe Mathieu-DaudéFrom: Aleksandar Markovic <[email protected]>
Huacai Chen and Jiaxun Yang step in as new energy [1].
Aurelien Jarno comment [2]:
It happens that I known Huacai Chen from the time he was upstreaming the Loongson 3 support to the kernel, I have been testing and reviewing his patches. I also know Jiaxun Yang from the #debian-mips IRC channel. I know that they are both very competent and have a good knowledge of the open source world. I therefore agree that they are good additions to maintain and/or review the MIPS part of QEMU.
[1] https://www.mail-archive.com/[email protected]/msg718434.html
[2] https://www.mail-archive.com/[email protected]/msg718738.html
Message-Id: <[email protected]>
PMD: [Split patch, added Aurelien's comment]
--- MAINTAINERS | 4 ++++ 1 file changed, 4 insertions(+)
MAINTAINERS +4 -0
@@ -222,6 +222,7 @@ F: disas/microblaze.c MIPS TCG CPUs M: Aleksandar Markovic <[email protected]> R: Aurelien Jarno <[email protected]> +R: Jiaxun Yang <[email protected]> R: Aleksandar Rikalo <[email protected]> S: Maintained F: target/mips/
@@ -384,6 +385,7 @@ S: Maintained F: target/arm/kvm.c MIPS KVM CPUs +M: Huacai Chen <[email protected]> M: Aleksandar Markovic <[email protected]> S: Odd Fixes F: target/mips/kvm.c
@@ -2743,6 +2745,8 @@ F: disas/i386.c MIPS TCG target M: Aleksandar Markovic <[email protected]> R: Aurelien Jarno <[email protected]> +R: Huacai Chen <[email protected]> +R: Jiaxun Yang <[email protected]> R: Aleksandar Rikalo <[email protected]> S: Maintained F: tcg/mips/
Signature · 1 line
2.21.3
[PULL 2/3] target/mips: Fix ADD.S FPU instruction
In reply to Philippe Mathieu-DaudéFrom: Alex Richardson <[email protected]>
After merging latest QEMU upstream into our CHERI fork, I noticed that some of the FPU tests in our MIPS baremetal testsuite [*] started failing.
It turns out commit 1ace099f2a accidentally changed add.s into a subtract.
[*] https://github.com/CTSRD-CHERI/cheritest
Message-Id: <[email protected]>
--- target/mips/fpu_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
target/mips/fpu_helper.c +1 -1
@@ -1221,7 +1221,7 @@ uint32_t helper_float_add_s(CPUMIPSState *env, {uint32_t wt2; - wt2 =float32_sub (fst0, fst1, &env->active_fpu.fp_status); + wt2 =float32_add (fst0, fst1, &env->active_fpu.fp_status);update_fcr31 (env,GETPC ());return wt2; }
Signature · 1 line
2.21.3
Peter Maydell
AppliedQuoted 20 lines · Philippe Mathieu-Daudé
The following changes since commit
1a53dfee92284d3016a579ef31d53367e84d9dd8:Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2020-07-13' into staging (2020-07-14 13:52:10 +0100)
are available in the Git repository at:
https://gitlab.com/philmd/qemu.git tags/mips-next-20200714
for you to fetch changes up to
15d983dee95edff1dc4c0bed71ce02fff877e766:
MAINTAINERS: Adjust MIPS maintainership (add Huacai Chen & Jiaxun Yang) (2020-07-14 21:49:33 +0200)----------------------------------------------------------------
MIPS patches for 5.1- A pair of fixes,
- Add Huacai Chen as MIPS KVM maintainer,
- Add Jiaxun Yang as designated MIPS TCG reviewer.
Quoted 6 lines
CI jobs results:
. https://travis-ci.org/github/philmd/qemu/builds/708079271
. https://gitlab.com/philmd/qemu/-/pipelines/166528104
. https://cirrus-ci.com/build/6483996878045184----------------------------------------------------------------
Applied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/5.1
for any user-visible changes.
-- PMM