All of lore.kernel.org
 help / color / mirror / Atom feed
From: peterz@infradead.org (Peter Zijlstra)
To: linux-snps-arc@lists.infradead.org
Subject: local64_cmpxchg() in arc_perf_event_update()
Date: Tue, 17 Nov 2015 13:25:40 +0100	[thread overview]
Message-ID: <20151117122540.GL11639@twins.programming.kicks-ass.net> (raw)
In-Reply-To: <20151117122401.GY3816@twins.programming.kicks-ass.net>

On Tue, Nov 17, 2015@01:24:01PM +0100, Peter Zijlstra wrote:
> On Tue, Nov 17, 2015@04:53:04PM +0530, Vineet Gupta wrote:
> > That means Alexey need to revert the hunk ?
> 
> Yes, I think so.

This is assuming you now have these NMIs we talked about earlier. If all
you have are regular IRQs this is not possible, for we should be calling
->read() with IRQs disabled.

WARNING: multiple messages have this Message-ID (diff)
From: Peter Zijlstra <peterz@infradead.org>
To: Vineet Gupta <Vineet.Gupta1@synopsys.com>
Cc: Alexey Brodkin <Alexey.Brodkin@synopsys.com>,
	arcml <linux-snps-arc@lists.infradead.org>,
	lkml <linux-kernel@vger.kernel.org>
Subject: Re: local64_cmpxchg() in arc_perf_event_update()
Date: Tue, 17 Nov 2015 13:25:40 +0100	[thread overview]
Message-ID: <20151117122540.GL11639@twins.programming.kicks-ass.net> (raw)
In-Reply-To: <20151117122401.GY3816@twins.programming.kicks-ass.net>

On Tue, Nov 17, 2015 at 01:24:01PM +0100, Peter Zijlstra wrote:
> On Tue, Nov 17, 2015 at 04:53:04PM +0530, Vineet Gupta wrote:
> > That means Alexey need to revert the hunk ?
> 
> Yes, I think so.

This is assuming you now have these NMIs we talked about earlier. If all
you have are regular IRQs this is not possible, for we should be calling
->read() with IRQs disabled.

  reply	other threads:[~2015-11-17 12:25 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1445286926.3913.13.camel@synopsys.com>
2015-11-17  9:14 ` local64_cmpxchg() in arc_perf_event_update() Vineet Gupta
2015-11-17  9:14   ` Vineet Gupta
2015-11-17 11:07   ` Peter Zijlstra
2015-11-17 11:07     ` Peter Zijlstra
2015-11-17 11:23     ` Vineet Gupta
2015-11-17 11:23       ` Vineet Gupta
2015-11-17 12:24       ` Peter Zijlstra
2015-11-17 12:24         ` Peter Zijlstra
2015-11-17 12:25         ` Peter Zijlstra [this message]
2015-11-17 12:25           ` Peter Zijlstra
2015-11-17 12:53           ` NMI for ARC Vineet Gupta
2015-11-17 12:53             ` Vineet Gupta
2015-11-17 13:15             ` Peter Zijlstra
2015-11-17 13:15               ` Peter Zijlstra
2016-09-28  0:22               ` Vineet Gupta
2016-09-28  0:22                 ` Vineet Gupta
2016-09-28  7:16                 ` Peter Zijlstra
2016-09-28  7:16                   ` Peter Zijlstra
2016-09-28 17:58                   ` Vineet Gupta
2016-09-28 17:58                     ` Vineet Gupta
2016-09-28 19:25                   ` Andy Lutomirski
2016-09-28 19:25                     ` Andy Lutomirski
2016-09-28 20:37                     ` Peter Zijlstra
2016-09-28 20:37                       ` Peter Zijlstra
2016-09-28 22:26                       ` Andy Lutomirski
2016-09-28 22:26                         ` Andy Lutomirski
2016-09-28 22:44                         ` Vineet Gupta
2016-09-28 22:44                           ` Vineet Gupta
2016-09-28 22:47                           ` Andy Lutomirski
2016-09-28 22:47                             ` Andy Lutomirski
2016-09-29  1:20                         ` Vineet Gupta
2016-09-29  1:20                           ` Vineet Gupta
2016-09-29  6:43                           ` Peter Zijlstra
2016-09-29  6:43                             ` Peter Zijlstra
2016-09-29 16:47                             ` Vineet Gupta
2016-09-29 16:47                               ` Vineet Gupta
2016-09-29 18:54                               ` Andy Lutomirski
2016-09-29 18:54                                 ` Andy Lutomirski
2016-09-29 19:48                                 ` Vineet Gupta
2016-09-29 19:48                                   ` Vineet Gupta
2016-09-30 10:49                                   ` Peter Zijlstra
2016-09-30 10:49                                     ` Peter Zijlstra
2016-09-29 17:30                           ` Andy Lutomirski
2016-09-29 17:30                             ` Andy Lutomirski
2015-11-17 13:24           ` local64_cmpxchg() in arc_perf_event_update() Vineet Gupta
2015-11-17 13:24             ` Vineet Gupta

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=20151117122540.GL11639@twins.programming.kicks-ass.net \
    --to=peterz@infradead.org \
    --cc=linux-snps-arc@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.