From: Sebastian Huber <sebastian.huber@embedded-brains.de>
To: "Andreas Färber" <afaerber@suse.de>
Cc: blauwirbel@gmail.com, qemu-devel@nongnu.org,
Fabien Chouteau <chouteau@adacore.com>
Subject: Re: [Qemu-devel] [PATCH v3] target-sparc: Add and use CPU_FEATURE_CASA
Date: Fri, 14 Feb 2014 16:43:45 +0100 [thread overview]
Message-ID: <52FE39B1.1020506@embedded-brains.de> (raw)
In-Reply-To: <52FE3761.7020403@suse.de>
On 2014-02-14 16:33, Andreas Färber wrote:
>> @@ -5120,6 +5119,20 @@ static void disas_sparc_insn(DisasContext * dc, unsigned int insn)
>> > case 0x37: /* stdc */
>> > goto ncp_insn;
>> > #endif
>> >+#if !defined(CONFIG_USER_ONLY) || defined(TARGET_SPARC64)
>> >+ case 0x3c: /* V9 or LEON3 casa */
>> >+ CHECK_FPU_FEATURE(dc, CASA);
>> >+#ifndef TARGET_SPARC64
>> >+ if (IS_IMM)
>
> Did you forget to run checkpatch.pl? Missing braces here ...
>
>> >+ goto illegal_insn;
>> >+ if (!supervisor(dc))
> ... and here.
>
>> >+ goto priv_insn;
> Otherwise patch looks okay, thanks for the subject normalization.
I didn't know there was a checkpatch.pl, I run it next time.
This code fragment is a copy and paste move from another place in this file.
There a lot of similar style errors in this file.
>
> As for the other one you'll need to sort our who sends a pull if Blue
> doesn't resurface - I note that qemu-trivial is not CC'ed here and the
> patch probably isn't anyway. Maybe Fabien can help out with that?
>
> More generally, independent of this patch with test case in its commit
> message, you may want to consider setting up tests/tcg/sparc/ for test
> cases and/or use qtest with accel=tcg similar to what mst did for ACPI
> regression testing.
Ok, I will have a look at this. Is this a required step to get the patch
committed?
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
next prev parent reply other threads:[~2014-02-14 15:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-14 15:16 [Qemu-devel] [PATCH v3] target-sparc: Add and use CPU_FEATURE_CASA Sebastian Huber
2014-02-14 15:33 ` Andreas Färber
2014-02-14 15:43 ` Sebastian Huber [this message]
2014-02-14 16:04 ` Andreas Färber
2014-02-14 17:27 ` Fabien Chouteau
2014-03-02 18:11 ` Andreas Färber
2014-03-07 12:18 ` Fabien Chouteau
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=52FE39B1.1020506@embedded-brains.de \
--to=sebastian.huber@embedded-brains.de \
--cc=afaerber@suse.de \
--cc=blauwirbel@gmail.com \
--cc=chouteau@adacore.com \
--cc=qemu-devel@nongnu.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 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).