From: Igor Mammedov <imammedo@redhat.com>
To: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
Cc: "Hervé Poussineau" <hpoussin@reactos.org>,
"Aurelien Jarno" <aurelien@aurel32.net>,
"Yongbok Kim" <yongbok.kim@imgtec.com>,
qemu-devel@nongnu.org, "Eduardo Habkost" <ehabkost@redhat.com>,
"James Hogan" <james.hogan@imgtec.com>,
"Thomas Huth" <thuth@redhat.com>,
"Peter Maydell" <peter.maydell@linaro.org>
Subject: Re: [Qemu-devel] [PATCH 0/8] QOMify MIPS cpu
Date: Thu, 17 Aug 2017 17:22:49 +0200 [thread overview]
Message-ID: <20170817172249.31cf5e3d@nial.brq.redhat.com> (raw)
In-Reply-To: <20170817043102.6322-1-f4bug@amsat.org>
On Thu, 17 Aug 2017 01:30:54 -0300
Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
> Hi,
>
> While working with the mips codebase I had to QOMify it.
>
> I then read Igor's series "complete cpu QOMification" [1] and after some IRC
> chat I suggested Igor to rebase his series on mine to avoid code moving
> forward then back.
>
> Since most of Igor's series is reviewed I'm posting this a week before 2.11.
>
> I'm not sure about the TypeInfo.abstract change so it is RFC.
>
> Also I couldn't test it with KVM.
Tested in TCG mode (boots debian mips/mips64 kernel with different cpu types),
and new CPU leaf types show up on QOM tree as expected (QOMifycation is done as expected)
and '-cpu help' also works as expected,
so with checkpatch issues fixed you may add to patches my
Tested-by: Igor Mammedov <imammedo@redhat.com>
>
> Regards,
>
> Phil.
>
> [1]: http://lists.nongnu.org/archive/html/qemu-devel/2017-07/msg04414.html
>
> Igor Mammedov (2):
> mips: MIPSCPU model subclasses
> mips: replace cpu_mips_init() with cpu_generic_init()
>
> Philippe Mathieu-Daudé (6):
> mips: move hw/mips/cputimer.c to target/mips/
> mips: introduce internal.h and cleanup cpu.h
> mips: split cpu_mips_realize_env() out of cpu_mips_init()
> mips: call cpu_mips_realize_env() from mips_cpu_realizefn()
> mips: now than MIPSCPU is QOMified, mark it abstract
> mips: update mips_cpu_list() to use object_class_get_list()
>
> target/mips/cpu-qom.h | 1 +
> target/mips/cpu.h | 357 +---------------------
> target/mips/internal.h | 422 ++++++++++++++++++++++++++
> hw/mips/cps.c | 2 +-
> hw/mips/mips_fulong2e.c | 2 +-
> hw/mips/mips_jazz.c | 2 +-
> hw/mips/mips_malta.c | 2 +-
> hw/mips/mips_mipssim.c | 2 +-
> hw/mips/mips_r4k.c | 2 +-
> hw/mips/cputimer.c => target/mips/cp0_timer.c | 2 +-
> target/mips/cpu.c | 57 +++-
> target/mips/gdbstub.c | 1 +
> target/mips/helper.c | 47 +++
> target/mips/kvm.c | 1 +
> target/mips/machine.c | 1 +
> target/mips/msa_helper.c | 1 +
> target/mips/op_helper.c | 1 +
> target/mips/translate.c | 23 +-
> target/mips/translate_init.c | 68 +----
> hw/mips/Makefile.objs | 2 +-
> target/mips/Makefile.objs | 2 +-
> 21 files changed, 549 insertions(+), 449 deletions(-)
> create mode 100644 target/mips/internal.h
> rename hw/mips/cputimer.c => target/mips/cp0_timer.c (99%)
>
next prev parent reply other threads:[~2017-08-17 15:23 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-17 4:30 [Qemu-devel] [PATCH 0/8] QOMify MIPS cpu Philippe Mathieu-Daudé
2017-08-17 4:30 ` [Qemu-devel] [PATCH 1/8] mips: move hw/mips/cputimer.c to target/mips/ Philippe Mathieu-Daudé
2017-08-17 4:30 ` [Qemu-devel] [PATCH 2/8] mips: introduce internal.h and cleanup cpu.h Philippe Mathieu-Daudé
2017-08-17 14:38 ` Igor Mammedov
2017-08-17 15:06 ` Philippe Mathieu-Daudé
2017-08-18 20:03 ` Philippe Mathieu-Daudé
2017-08-21 8:57 ` Igor Mammedov
2017-08-17 4:30 ` [Qemu-devel] [PATCH 3/8] mips: split cpu_mips_realize_env() out of cpu_mips_init() Philippe Mathieu-Daudé
2017-08-17 4:30 ` [Qemu-devel] [PATCH 4/8] mips: call cpu_mips_realize_env() from mips_cpu_realizefn() Philippe Mathieu-Daudé
2017-08-17 4:30 ` [Qemu-devel] [PATCH 5/8] mips: MIPSCPU model subclasses Philippe Mathieu-Daudé
2017-08-17 4:31 ` [Qemu-devel] [RFC PATCH 6/8] !fixup mips: now than MIPSCPU is QOMified, mark it abstract Philippe Mathieu-Daudé
2017-08-17 15:17 ` Igor Mammedov
2017-08-17 4:31 ` [Qemu-devel] [PATCH 7/8] mips: replace cpu_mips_init() with cpu_generic_init() Philippe Mathieu-Daudé
2017-08-17 4:31 ` [Qemu-devel] [PATCH 8/8] mips: update mips_cpu_list() to use object_class_get_list() Philippe Mathieu-Daudé
2017-08-17 4:54 ` [Qemu-devel] [PATCH 0/8] QOMify MIPS cpu no-reply
2017-08-17 16:34 ` Philippe Mathieu-Daudé
2017-08-17 15:22 ` Igor Mammedov [this message]
2017-08-18 20:08 ` Philippe Mathieu-Daudé
2017-08-21 9:02 ` Igor Mammedov
2017-08-30 13:50 ` Igor Mammedov
2017-08-30 14:41 ` Philippe Mathieu-Daudé
2017-08-30 18:19 ` James Hogan
2017-08-30 19:52 ` Philippe Mathieu-Daudé
2017-08-30 20:53 ` James Hogan
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=20170817172249.31cf5e3d@nial.brq.redhat.com \
--to=imammedo@redhat.com \
--cc=aurelien@aurel32.net \
--cc=ehabkost@redhat.com \
--cc=f4bug@amsat.org \
--cc=hpoussin@reactos.org \
--cc=james.hogan@imgtec.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
--cc=yongbok.kim@imgtec.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).