From: David Miller <davem@davemloft.net>
To: andreas@gaisler.com
Cc: sparclinux@vger.kernel.org, sam@ravnborg.org,
linux-kernel@vger.kernel.org, software@gaisler.com
Subject: Re: [PATCH] sparc: leon: Fix race condition between leon_cycles_offset and timer_interrupt
Date: Tue, 09 Sep 2014 16:40:35 -0700 (PDT) [thread overview]
Message-ID: <20140909.164035.1538611197997884601.davem@davemloft.net> (raw)
In-Reply-To: <1409324958-22902-1-git-send-email-andreas@gaisler.com>
From: Andreas Larsson <andreas@gaisler.com>
Date: Fri, 29 Aug 2014 17:09:18 +0200
> This makes sure that leon_cycles_offset takes the pending bit into
> account and that leon_clear_clock_irq clears the pending bit. Otherwise,
> if leon_cycles_offset is executed after the timer has wrapped but before
> timer_interrupt has increased timer_cs_internal_counter, time can be
> perceived to go backwards.
>
> Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Applied.
prev parent reply other threads:[~2014-09-09 23:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-29 15:09 Andreas Larsson
2014-09-09 23:40 ` David Miller [this message]
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=20140909.164035.1538611197997884601.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=andreas@gaisler.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.org \
--cc=software@gaisler.com \
--cc=sparclinux@vger.kernel.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
all inboxes | Powered by JetHome®