[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] ba5c79: target-mips: indicate presence of IEE
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] ba5c79: target-mips: indicate presence of IEEE 754-2008 FP... |
Date: |
Thu, 24 Mar 2016 08:30:06 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: ba5c79f26221c0fd7139c883a34a4e75d993f732
https://github.com/qemu/qemu/commit/ba5c79f26221c0fd7139c883a34a4e75d993f732
Author: Leon Alrae <address@hidden>
Date: 2016-03-23 (Wed, 23 Mar 2016)
Changed paths:
M target-mips/cpu.h
M target-mips/translate.c
M target-mips/translate_init.c
Log Message:
-----------
target-mips: indicate presence of IEEE 754-2008 FPU in R6/R5+MSA CPUs
MIPS Release 6 and MIPS SIMD Architecture make it mandatory to have IEEE
754-2008 FPU which is indicated by CP1 FIR.HAS2008, FCSR.ABS2008 and
FCSR.NAN2008 bits set to 1.
In QEMU we still keep these bits cleared as there is no 2008-NaN support.
However, this now causes problems preventing from running R6 Linux with
the v4.5 kernel. Kernel refuses to execute 2008-NaN ELFs on a CPU
whose FPU does not support 2008-NaN encoding:
(...)
VFS: Mounted root (ext4 filesystem) readonly on device 8:0.
devtmpfs: mounted
Freeing unused kernel memory: 256K (ffffffff806f0000 - ffffffff80730000)
request_module: runaway loop modprobe binfmt-464c
Starting init: /sbin/init exists but couldn't execute it (error -8)
request_module: runaway loop modprobe binfmt-464c
Starting init: /bin/sh exists but couldn't execute it (error -8)
Kernel panic - not syncing: No working init found. Try passing init= option
to kernel. See Linux Documentation/init.txt for guidance.
Therefore always indicate presence of 2008-NaN support in R6 as well as in
R5+MSA CPUs, even though this feature is not yet supported by MIPS in QEMU.
Signed-off-by: Leon Alrae <address@hidden>
Commit: b7c4ab809a4bfde4ab322b49fbe2e47536da7487
https://github.com/qemu/qemu/commit/b7c4ab809a4bfde4ab322b49fbe2e47536da7487
Author: Leon Alrae <address@hidden>
Date: 2016-03-23 (Wed, 23 Mar 2016)
Changed paths:
A default-configs/mips-softmmu-common.mak
M default-configs/mips-softmmu.mak
M default-configs/mips64-softmmu.mak
M default-configs/mips64el-softmmu.mak
M default-configs/mipsel-softmmu.mak
Log Message:
-----------
default-configs: add mips-softmmu-common.mak
Add mips-softmmu-common.mak and include it in existing mips*-softmmu.mak
files to avoid having to repeat CONFIG defines four times.
Suggested-by: Peter Maydell <address@hidden>
Signed-off-by: Leon Alrae <address@hidden>
Commit: 10805344811f794647b0b28f7409b319d60a7d67
https://github.com/qemu/qemu/commit/10805344811f794647b0b28f7409b319d60a7d67
Author: Peter Maydell <address@hidden>
Date: 2016-03-24 (Thu, 24 Mar 2016)
Changed paths:
A default-configs/mips-softmmu-common.mak
M default-configs/mips-softmmu.mak
M default-configs/mips64-softmmu.mak
M default-configs/mips64el-softmmu.mak
M default-configs/mipsel-softmmu.mak
M target-mips/cpu.h
M target-mips/translate.c
M target-mips/translate_init.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/lalrae/tags/mips-20160323' into staging
MIPS patches 2016-03-23
Changes:
* add mips-softmmu-common.mak
* indicate presence of IEEE 754-2008 FPU in MIPS64R6-generic and P5600
# gpg: Signature made Wed 23 Mar 2016 16:38:04 GMT using RSA key ID 0B29DA6B
# gpg: Good signature from "Leon Alrae <address@hidden>"
* remotes/lalrae/tags/mips-20160323:
default-configs: add mips-softmmu-common.mak
target-mips: indicate presence of IEEE 754-2008 FPU in R6/R5+MSA CPUs
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/4f57a35d8138...10805344811f
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] ba5c79: target-mips: indicate presence of IEEE 754-2008 FP...,
GitHub <=