From: "Andreas Färber" <afaerber@suse.de>
To: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>,
Fabien Chouteau <chouteau@adacore.com>
Cc: Peter Maydell <peter.maydell@linaro.org>,
Eduardo Habkost <ehabkost@redhat.com>,
Alexey Kardashevskiy <aik@ozlabs.ru>,
Sebastian Huber <sebastian.huber@embedded-brains.de>,
qemu-devel@nongnu.org, Anthony Liguori <anthony@codemonkey.ws>,
Igor Mammedov <imammedo@redhat.com>
Subject: Re: [Qemu-devel] [PATCH qom-cpu 0/6] cpu: Unifying features parsing
Date: Tue, 04 Mar 2014 21:32:34 +0100 [thread overview]
Message-ID: <53163862.7080109@suse.de> (raw)
In-Reply-To: <1393901749-5944-1-git-send-email-afaerber@suse.de>
Am 04.03.2014 03:55, schrieb Andreas Färber:
> Hello,
>
> Prompted by Alexey's desire for tweakable PowerPCCPU properties but also by
> Peter's wish for ARMCPU properties, this series sets out to align cpu_model
> parsing across targets.
>
> QemuOpts would've been nice to use, but on the one hand x86 and sparc use
> QemuOpts-incompatible +foo and -foo syntax (which accumulate rather than apply
> immediately) and on the other linux-user and bsd-user don't use QemuOpts at all.
>
> The x86 implementation is closest to the proposed API, save for some laziness.
> SPARC is brought in line. And as fallback for the remaining targets a new
> implementation, derived from x86 but supporting only key=value format, is added.
>
> To facilitate using this infrastructure, a generic CPU init function is created.
>
> Only lightly tested. Available at:
> git://github.com/afaerber/qemu-cpu.git qom-cpu-features.v1
> https://github.com/afaerber/qemu-cpu/commits/qom-cpu-features.v1
>
> Regards,
> Andreas
>
> Cc: Alexey Kardashevskiy <aik@ozlabs.ru>
> Cc: Peter Maydell <peter.maydell@linaro.org>
> Cc: Anthony Liguori <anthony@codemonkey.ws>
>
> Andreas Färber (6):
> cpu: Introduce CPUClass::parse_features() hook
> target-sparc: Use error_report() for CPU error reporting
> target-sparc: Implement CPUClass::parse_features() for SPARCCPU
> target-sparc: Defer SPARCCPU feature inference to QOM realize
Mark and Fabien, forgot to CC you: Could you take a look at the sparc
parts and give them some testing please?
The very latest version can be found on qom-cpu-ppc branch if necessary.
Thanks,
Andreas
> cpu: Implement CPUClass::parse_features() for the rest of CPUs
> cpu: Factor out cpu_generic_init()
>
> include/qom/cpu.h | 14 +++++++
> qom/cpu.c | 72 +++++++++++++++++++++++++++++++++-
> target-arm/helper.c | 14 +------
> target-cris/cpu.c | 13 +-----
> target-i386/cpu.c | 36 ++++++++++-------
> target-lm32/helper.c | 13 +-----
> target-moxie/cpu.c | 13 +-----
> target-openrisc/cpu.c | 13 +-----
> target-ppc/translate_init.c | 21 +---------
> target-sh4/cpu.c | 13 +-----
> target-sparc/cpu.c | 96 +++++++++++++++++++++++++++------------------
> target-unicore32/helper.c | 13 ++----
> 12 files changed, 174 insertions(+), 157 deletions(-)
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
next prev parent reply other threads:[~2014-03-04 20:32 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-04 2:55 [Qemu-devel] [PATCH qom-cpu 0/6] cpu: Unifying features parsing Andreas Färber
2014-03-04 2:55 ` [Qemu-devel] [PATCH qom-cpu 1/6] cpu: Introduce CPUClass::parse_features() hook Andreas Färber
2014-03-05 15:04 ` Igor Mammedov
2014-03-05 16:06 ` Andreas Färber
2014-03-05 16:57 ` Igor Mammedov
2014-03-05 22:31 ` Eduardo Habkost
2014-03-09 15:55 ` Andreas Färber
2014-03-09 15:45 ` Andreas Färber
2014-03-10 11:25 ` Igor Mammedov
2014-03-04 2:55 ` [Qemu-devel] [PATCH qom-cpu 2/6] target-sparc: Use error_report() for CPU error reporting Andreas Färber
2014-03-04 2:55 ` [Qemu-devel] [PATCH qom-cpu 3/6] target-sparc: Implement CPUClass::parse_features() for SPARCCPU Andreas Färber
2014-03-04 2:55 ` [Qemu-devel] [PATCH qom-cpu 4/6] target-sparc: Defer SPARCCPU feature inference to QOM realize Andreas Färber
2014-03-04 2:55 ` [Qemu-devel] [PATCH qom-cpu 5/6] cpu: Implement CPUClass::parse_features() for the rest of CPUs Andreas Färber
2014-03-04 2:55 ` [Qemu-devel] [PATCH qom-cpu 6/6] cpu: Factor out cpu_generic_init() Andreas Färber
2014-03-04 20:32 ` Andreas Färber [this message]
2014-03-08 20:50 ` [Qemu-devel] [PATCH qom-cpu 0/6] cpu: Unifying features parsing Mark Cave-Ayland
2014-03-09 16:19 ` Andreas Färber
2014-03-05 2:50 ` Alexey Kardashevskiy
2014-03-05 8:30 ` Andreas Färber
2014-03-05 11:27 ` Alexey Kardashevskiy
2014-03-09 16:11 ` Andreas Färber
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=53163862.7080109@suse.de \
--to=afaerber@suse.de \
--cc=aik@ozlabs.ru \
--cc=anthony@codemonkey.ws \
--cc=chouteau@adacore.com \
--cc=ehabkost@redhat.com \
--cc=imammedo@redhat.com \
--cc=mark.cave-ayland@ilande.co.uk \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=sebastian.huber@embedded-brains.de \
/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).