qemumips: Use upstream propsed patches to enable 64-entry TLB
PATCH 1/1 qemumips: Use upstream propsed patches to enable 64-entry TLB
This will also provide some much needed testing for upstream patches which are RFC atm, if this works for yocto we can provide the feedback upstream and help them merge into qemu
Signed-off-by Khem Raj <[email protected]>
Cc Victor Kamensky <[email protected]>
--- meta/conf/machine/qemumips.conf | 2 +- meta/recipes-devtools/qemu/qemu.inc | 5 +- ...tlb-fictitious-cpu-type-like-34Kf-bu.patch | 118 ------------------ ...-cpu_mips_realize_env-propagate-Erro.patch | 83 ++++++++++++ ...e-number-of-TLB-entries-in-CPUMIPSSt.patch | 81 ++++++++++++ ...-the-number-of-TLB-entries-a-CPU-pro.patch | 111 ++++++++++++++++ ...w-using-the-34Kf-with-16-32-64-prese.patch | 59 +++++++++ 7 files changed, 339 insertions(+), 120 deletions(-) delete mode 100644 meta/recipes-devtools/qemu/qemu/0001-mips-add-34Kf-64tlb-fictitious-cpu-type-like-34Kf-bu.patch create mode 100644 meta/recipes-devtools/qemu/qemu/0001-target-mips-Make-cpu_mips_realize_env-propagate-Erro.patch create mode 100644 meta/recipes-devtools/qemu/qemu/0002-target-mips-Store-number-of-TLB-entries-in-CPUMIPSSt.patch create mode 100644 meta/recipes-devtools/qemu/qemu/0003-target-mips-Make-the-number-of-TLB-entries-a-CPU-pro.patch create mode 100644 meta/recipes-devtools/qemu/qemu/0004-target-mips-Allow-using-the-34Kf-with-16-32-64-prese.patch
meta/conf/machine/qemumips.conf +1 -1
@@ -15,4 +15,4 @@ SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1" QB_SYSTEM_NAME = "qemu-system-mips" -QB_CPU = "-cpu 34Kf-64tlb" +QB_CPU = "-cpu 34Kf,tlb-entries=64"
meta/recipes-devtools/qemu/qemu.inc +4 -1
@@ -31,7 +31,10 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \ file://0001-qemu-Do-not-include-file-if-not-exists.patch \ file://find_datadir.patch \ file://usb-fix-setup_len-init.patch \ - file://0001-mips-add-34Kf-64tlb-fictitious-cpu-type-like-34Kf-bu.patch \ + file://0001-target-mips-Make-cpu_mips_realize_env-propagate-Erro.patch \ + file://0002-target-mips-Store-number-of-TLB-entries-in-CPUMIPSSt.patch \ + file://0003-target-mips-Make-the-number-of-TLB-entries-a-CPU-pro.patch \ + file://0004-target-mips-Allow-using-the-34Kf-with-16-32-64-prese.patch \ " UPSTREAM_CHECK_REGEX = "qemu-(?P<pver>\d+(\.\d+)+)\.tar"
meta/recipes-devtools/qemu/qemu/0001-mips-add-34Kf-64tlb-fictitious-cpu-type-like-34Kf-bu.patch deleted +0 -118
118 lines not on this page · raw message
meta/recipes-devtools/qemu/qemu/0001-target-mips-Make-cpu_mips_realize_env-propagate-Erro.patch new file +83 -0
83 lines not on this page · raw message
meta/recipes-devtools/qemu/qemu/0002-target-mips-Store-number-of-TLB-entries-in-CPUMIPSSt.patch new file +81 -0
81 lines not on this page · raw message
meta/recipes-devtools/qemu/qemu/0003-target-mips-Make-the-number-of-TLB-entries-a-CPU-pro.patch new file +111 -0
111 lines not on this page · raw message
meta/recipes-devtools/qemu/qemu/0004-target-mips-Allow-using-the-34Kf-with-16-32-64-prese.patch new file +59 -0
59 lines not on this page · raw message
Signature · 1 line
2.28.0