From: "Emilio G. Cota" <cota@braap.org>
To: qemu-devel@nongnu.org
Cc: "Richard Henderson" <richard.henderson@linaro.org>,
"Alex Bennée" <alex.bennee@linaro.org>
Subject: Re: [Qemu-devel] [PATCH v6 2/3] tcg: introduce dynamic TLB sizing
Date: Mon, 14 Jan 2019 14:34:27 -0500 [thread overview]
Message-ID: <20190114193427.GA2286@flamenco> (raw)
In-Reply-To: <20190114165017.27298-3-cota@braap.org>
On Mon, Jan 14, 2019 at 11:50:16 -0500, Emilio G. Cota wrote:
> Disabled in all TCG backends for now.
>
> Signed-off-by: Emilio G. Cota <cota@braap.org>
> ---
> include/exec/cpu-defs.h | 57 ++++++++++-
> include/exec/cpu_ldst.h | 21 ++++
> tcg/aarch64/tcg-target.h | 1 +
> tcg/arm/tcg-target.h | 1 +
> tcg/i386/tcg-target.h | 1 +
> tcg/mips/tcg-target.h | 1 +
> tcg/ppc/tcg-target.h | 1 +
> tcg/s390/tcg-target.h | 1 +
> tcg/sparc/tcg-target.h | 1 +
> tcg/tci/tcg-target.h | 1 +
> accel/tcg/cputlb.c | 202 ++++++++++++++++++++++++++++++++++++++-
> 11 files changed, 281 insertions(+), 7 deletions(-)
Just realised the riscv backend was recently merged. I've
updated this commit on the github branch with the following:
diff --git a/tcg/riscv/tcg-target.h b/tcg/riscv/tcg-target.h
index 60918cacb4..1eb032626c 100644
--- a/tcg/riscv/tcg-target.h
+++ b/tcg/riscv/tcg-target.h
@@ -33,6 +33,7 @@
#define TCG_TARGET_INSN_UNIT_SIZE 4
#define TCG_TARGET_TLB_DISPLACEMENT_BITS 20
+#define TCG_TARGET_IMPLEMENTS_DYN_TLB 0
#define TCG_TARGET_NB_REGS 32
Thanks,
E.
next prev parent reply other threads:[~2019-01-14 19:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-14 16:50 [Qemu-devel] [PATCH v6 0/3] Dynamic TLB sizing Emilio G. Cota
2019-01-14 16:50 ` [Qemu-devel] [PATCH v6 1/3] cputlb: do not evict empty entries to the vtlb Emilio G. Cota
2019-01-16 10:32 ` Alex Bennée
2019-01-16 16:53 ` Emilio G. Cota
2019-01-14 16:50 ` [Qemu-devel] [PATCH v6 2/3] tcg: introduce dynamic TLB sizing Emilio G. Cota
2019-01-14 19:34 ` Emilio G. Cota [this message]
2019-01-14 16:50 ` [Qemu-devel] [PATCH v6 3/3] tcg/i386: enable " Emilio G. Cota
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190114193427.GA2286@flamenco \
--to=cota@braap.org \
--cc=alex.bennee@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.