From: Paolo Bonzini <pbonzini@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Vijaya Kumar K <vijayak@caviumnetworks.com>,
qemu-arm <qemu-arm@nongnu.org>,
Juan Quintela <quintela@redhat.com>,
QEMU Developers <qemu-devel@nongnu.org>,
Prasun Kapoor <Prasun.Kapoor@caviumnetworks.com>,
Vijay Kilari <vijay.kilari@gmail.com>,
Vijaya Kumar K <Vijaya.Kumar@caviumnetworks.com>,
Vijaya Kumar K <vijayak@cavium.com>
Subject: Re: [Qemu-devel] [RFC PATCH v1 3/4] translate-all.c: Compute L1 page table properties at runtime
Date: Tue, 21 Jun 2016 13:57:53 +0200 [thread overview]
Message-ID: <0e6c012c-26c5-8878-f579-d2410c640cfb@redhat.com> (raw)
In-Reply-To: <CAFEAcA_A=f0H3DkquozZKKVs4A3UR+fEhE9wfwe8zDHrsprEyQ@mail.gmail.com>
On 21/06/2016 13:53, Peter Maydell wrote:
>>> >> object_property_add_child(object_get_root(), "machine",
>>> >> OBJECT(current_machine), &error_abort);
>>> >> +
>>> >> + init_l1_page_table_param();
>> >
>> > Please call this from cpu_exec_init_all instead.
> If you're going to call it that early (ie before machine init)
> than I think we might as well just call it from the existing
> page_init() function in translate-all.c instead, right?
> (gets called when the tcg accelerator is inited; we don't need
> to set up the l1 map if we're not using TCG).
Yes, good idea.
Paolo
next prev parent reply other threads:[~2016-06-21 11:58 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-13 9:08 [Qemu-devel] [RFC PATCH v1 0/4] ARM/AARCH64: Runtime page size computation vijayak
2016-06-13 9:08 ` [Qemu-devel] [RFC PATCH v1 1/4] migration: Remove static allocation of xzblre cache buffer vijayak
2016-06-13 9:08 ` [Qemu-devel] [RFC PATCH v1 2/4] exec.c: Remove static allocation of sub_section of sub_page vijayak
2016-06-13 9:32 ` Peter Maydell
2016-06-13 9:52 ` Paolo Bonzini
2016-06-17 10:14 ` Vijay Kilari
2016-06-17 10:29 ` Peter Maydell
2016-06-13 9:08 ` [Qemu-devel] [RFC PATCH v1 3/4] translate-all.c: Compute L1 page table properties at runtime vijayak
2016-06-13 9:25 ` Paolo Bonzini
2016-06-13 9:36 ` Peter Maydell
2016-06-13 10:06 ` Paolo Bonzini
2016-06-21 11:53 ` Peter Maydell
2016-06-21 11:57 ` Paolo Bonzini [this message]
2016-06-13 9:08 ` [Qemu-devel] [RFC PATCH v1 4/4] target-arm: Compute page size based on ARM target cpu type vijayak
2016-06-13 9:25 ` Paolo Bonzini
2016-06-13 9:43 ` Peter Maydell
2016-06-13 10:10 ` Peter Maydell
2016-06-14 11:14 ` Vijay Kilari
2016-06-14 11:36 ` Peter Maydell
2016-06-16 19:42 ` Richard Henderson
2016-06-17 10:20 ` Vijay Kilari
2016-06-17 10:30 ` Peter Maydell
2016-06-17 10:39 ` Vijay Kilari
2016-06-17 10:42 ` Peter Maydell
2016-06-21 11:55 ` Peter Maydell
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=0e6c012c-26c5-8878-f579-d2410c640cfb@redhat.com \
--to=pbonzini@redhat.com \
--cc=Prasun.Kapoor@caviumnetworks.com \
--cc=Vijaya.Kumar@caviumnetworks.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
--cc=vijay.kilari@gmail.com \
--cc=vijayak@cavium.com \
--cc=vijayak@caviumnetworks.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).