All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] qemumips: Use 34Kf CPU emulation
@ 2020-07-29  2:28 Khem Raj
  2020-07-29  9:56 ` [OE-core] " Richard Purdie
       [not found] ` <162630A032FCBA1C.9067@lists.openembedded.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Khem Raj @ 2020-07-29  2:28 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

Few years ago we switched to using mips32r2 tunings for qemumips however
the default CPU emulation still remained 24Kf which is not optimal for
mips32r2 ISA for qemu [1], therefore switch to recommended 32Kf for CPU
emulation when running qemu in system mode

Boot time to console is ~1s faster with this setting, hopefully this
should speed up qemumips in general

[1] https://www.qemu.org/docs/master/system/target-mips.html#preferred-cpu-models-for-mips-hosts

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/conf/machine/qemumips.conf | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/conf/machine/qemumips.conf b/meta/conf/machine/qemumips.conf
index 31ad754483..4617c3c7b6 100644
--- a/meta/conf/machine/qemumips.conf
+++ b/meta/conf/machine/qemumips.conf
@@ -12,3 +12,5 @@ KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
 SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1"
 
 QB_SYSTEM_NAME = "qemu-system-mips"
+
+QB_CPU = "-cpu 34Kf"
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-07-29 17:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-29  2:28 [PATCH] qemumips: Use 34Kf CPU emulation Khem Raj
2020-07-29  9:56 ` [OE-core] " Richard Purdie
     [not found] ` <162630A032FCBA1C.9067@lists.openembedded.org>
2020-07-29 10:13   ` Richard Purdie
2020-07-29 17:58     ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.