From: will.deacon@arm.com (Will Deacon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: perf: use raw_spinlock_t for pmu_lock
Date: Wed, 1 Dec 2010 16:45:25 -0000 [thread overview]
Message-ID: <004e01cb9177$2760c460$76224d20$@deacon@arm.com> (raw)
In-Reply-To: <20101201163547.GE2898@pulham.picochip.com>
Hi Jamie,
> Subject: Re: [PATCH] ARM: perf: use raw_spinlock_t for pmu_lock
[...]
> Looks fine to me and tested on my board (not with PREEMPT_RT at the moment
> though). Btw, it may be my mail reader (mutt) but trying to save your mail to
> an mbox gave lots of extra characters in the patch like:
>
> diff --git a/arch/arm/kernel/perf_event_v6.c b/arch/arm/kernel/perf_event_v=
> 6.c
> index 3f427aa..c058bfc 100644
> --- a/arch/arm/kernel/perf_event_v6.c
> +++ b/arch/arm/kernel/perf_event_v6.c
> @@ -426,12 +426,12 @@ armv6pmu_enable_event(struct hw_perf_event *hwc,
> =09 * Mask out the current event and set the counter to count the event
> =09 * that we're interested in.
> =09 */
> -=09spin_lock_irqsave(&pmu_lock, flags);
> +=09raw_spin_lock_irqsave(&pmu_lock, flags);
Oh dear...
> Possibly an Exchange thing? Saving the message body worked and your
> hw_breakpoint patches are fine.
Hmm, I just use an smtp server for sending messages so the message *should*
be ok. It's the receiving side of things where I get into trouble. If I look
at the .patch I gave to git send-email with hexdump it has:
000007d0 69 74 65 28 76 61 6c 29 3b 0a 2d 09 73 70 69 6e |ite(val);.-.spin|
000007e0 5f 75 6e 6c 6f 63 6b 5f 69 72 71 72 65 73 74 6f |_unlock_irqresto|
000007f0 72 65 28 26 70 6d 75 5f 6c 6f 63 6b 2c 20 66 6c |re(&pmu_lock, fl|
00000800 61 67 73 29 3b 0a 2b 09 72 61 77 5f 73 70 69 6e |ags);.+.raw_spin|
00000810 5f 75 6e 6c 6f 63 6b 5f 69 72 71 72 65 73 74 6f |_unlock_irqresto|
00000820 72 65 28 26 70 6d 75 5f 6c 6f 63 6b 2c 20 66 6c |re(&pmu_lock, fl|
00000830 61 67 73 29 3b 0a 20 7d 0a 20 0a 20 73 74 61 74 |ags);. }. . stat|
So it looks like tabs (ascii code 0x09) are being converted to =09 somewhere
on your end. Mutt should be fine, what are you connecting it to?
Will
next prev parent reply other threads:[~2010-12-01 16:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-30 17:17 [PATCH] ARM: perf: use raw_spinlock_t for pmu_lock Will Deacon
2010-12-01 16:35 ` Jamie Iles
2010-12-01 16:45 ` Will Deacon [this message]
2010-12-01 17:21 ` Russell King - ARM Linux
2010-12-01 17:23 ` Jamie Iles
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='004e01cb9177$2760c460$76224d20$@deacon@arm.com' \
--to=will.deacon@arm.com \
--cc=linux-arm-kernel@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.