From: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
To: Aleksandar Markovic <aleksandar.markovic@rt-rk.com>,
qemu-devel@nongnu.org
Cc: philippe.mathieu.daude@gmail.com, aurelien@aurel32.net,
amarkovic@wavecomp.com, smarkovic@wavecomp.com,
pjovanovic@wavecomp.com, pburton@wavecomp.com
Subject: Re: [Qemu-devel] [PATCH v3 2/8] target/mips: Workaround for checkpatch.pl hanging on msa_helper.c
Date: Wed, 4 Jul 2018 17:11:03 -0300 [thread overview]
Message-ID: <f5f4cd65-545e-42f7-3d8d-1d57ced676d7@amsat.org> (raw)
In-Reply-To: <1530732637-28606-3-git-send-email-aleksandar.markovic@rt-rk.com>
Hi Aleksandar,
On 07/04/2018 04:30 PM, Aleksandar Markovic wrote:
> From: Aleksandar Markovic <amarkovic@wavecomp.com>
>
> If checkpatch.pl is applied (using switch "-f") on file
> target/mips/msa_helper.c, it will hang.
>
> This is a workaround by correcting the source file. The workaround is
> found by partial deleting and undeleting of the code in msa_helper.c
> in binary search fashion.
>
> The bug (for checkpatch.pl) is already reported to the qemu-devel list.
Paolo already sent a fix for this bug:
http://lists.nongnu.org/archive/html/qemu-devel/2018-07/msg01250.html
Can you test it?
>
> Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
> ---
> target/mips/msa_helper.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/target/mips/msa_helper.c b/target/mips/msa_helper.c
> index c74e3cd..1691b70 100644
> --- a/target/mips/msa_helper.c
> +++ b/target/mips/msa_helper.c
> @@ -2750,8 +2750,8 @@ void helper_msa_ftq_df(CPUMIPSState *env, uint32_t df, uint32_t wd,
>
> #define FMAXMIN_A(F, G, X, _S, _T, BITS, STATUS) \
> do { \
> - uint## BITS ##_t S = _S, T = _T; \
> - uint## BITS ##_t as, at, xs, xt, xd; \
> + uint## BITS ## _t S = _S, T = _T; \
> + uint## BITS ## _t as, at, xs, xt, xd; \
> if (NUMBER_QNAN_PAIR(S, T, BITS, STATUS)) { \
> T = S; \
> } \
>
next prev parent reply other threads:[~2018-07-04 20:11 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-04 19:30 [Qemu-devel] [PATCH v3 0/8] target/mips: Maintenance and misc fixes and improvements Aleksandar Markovic
2018-07-04 19:30 ` [Qemu-devel] [PATCH v3 1/8] target/mips: Update maintainer's email addresses Aleksandar Markovic
2018-07-04 20:09 ` Philippe Mathieu-Daudé
2018-07-04 19:30 ` [Qemu-devel] [PATCH v3 2/8] target/mips: Workaround for checkpatch.pl hanging on msa_helper.c Aleksandar Markovic
2018-07-04 20:11 ` Philippe Mathieu-Daudé [this message]
2018-07-05 9:59 ` [Qemu-devel] ?==?utf-8?q? " Aleksandar Markovic
2018-07-04 19:30 ` [Qemu-devel] [PATCH v3 3/8] target/mips: Update some CP0 registers bit definitions Aleksandar Markovic
2018-07-04 20:16 ` Philippe Mathieu-Daudé
2018-07-05 10:04 ` [Qemu-devel] ?==?utf-8?q? " Aleksandar Markovic
2018-07-04 19:30 ` [Qemu-devel] [PATCH v3 4/8] target/mips: Avoid case statements formulated by ranges Aleksandar Markovic
[not found] ` <51b61976-e024-77c4-afa5-b3d55a93bfb5@amsat.org>
2018-07-05 15:23 ` Philippe Mathieu-Daudé
2018-07-05 15:49 ` Richard Henderson
2018-07-06 9:04 ` Aleksandar Markovic
2018-07-04 19:30 ` [Qemu-devel] [PATCH v3 5/8] target/mips: Add CP0 BadInstrX register Aleksandar Markovic
2018-07-04 20:31 ` Philippe Mathieu-Daudé
2018-07-05 10:08 ` [Qemu-devel] ?==?utf-8?q? " Aleksandar Markovic
2018-07-05 13:27 ` [Qemu-devel] " Stefan Markovic
[not found] ` <6bed7e02-a3d3-ea93-7291-96799d4d2a83@amsat.org>
2018-07-06 11:40 ` Stefan Markovic
2018-07-06 13:11 ` Richard Henderson
2018-07-04 19:30 ` [Qemu-devel] [PATCH v3 6/8] target/mips: Amend CP0 WatchHi register implementation Aleksandar Markovic
2018-07-04 19:30 ` [Qemu-devel] [PATCH v3 7/8] target/mips: Don't update BadVAddr register in Debug Mode Aleksandar Markovic
2018-07-04 20:34 ` Philippe Mathieu-Daudé
2018-07-05 10:12 ` [Qemu-devel] ?==?utf-8?q? " Aleksandar Markovic
2018-07-04 19:30 ` [Qemu-devel] [PATCH v3 8/8] target/mips: Check ELPA flag only in some cases of MFHC0 and MTHC0 Aleksandar Markovic
2018-07-06 15:46 ` Aleksandar Markovic
2018-07-04 22:51 ` [Qemu-devel] [PATCH v3 0/8] target/mips: Maintenance and misc fixes and improvements no-reply
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=f5f4cd65-545e-42f7-3d8d-1d57ced676d7@amsat.org \
--to=f4bug@amsat.org \
--cc=aleksandar.markovic@rt-rk.com \
--cc=amarkovic@wavecomp.com \
--cc=aurelien@aurel32.net \
--cc=pburton@wavecomp.com \
--cc=philippe.mathieu.daude@gmail.com \
--cc=pjovanovic@wavecomp.com \
--cc=qemu-devel@nongnu.org \
--cc=smarkovic@wavecomp.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).