From: Vineet Gupta <Vineet.Gupta1@synopsys.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: <linux-kernel@vger.kernel.org>,
Vineet Gupta <Vineet.Gupta1@synopsys.com>
Subject: [PATCH v2 0/6] ARC: spinlocks/atomics rework
Date: Mon, 3 Aug 2015 20:06:02 +0530 [thread overview]
Message-ID: <1438612568-28265-1-git-send-email-vgupta@synopsys.com> (raw)
The PREFETCHW workaround for llock/scond livelock was not sufficient after
all and we had to do some work there. Extending testing of quad core FPGA
builds shows things pretty stable, whereas w/o patches some of the LTP tests
(shm_open/23-1) would cause the system to go bonkers.
Changes since v1* (all thx to Peter Zijlstra)
* 3/6 - updated changelog
* 4/6 - updated changelog
arch_write_unlock() need not use LLOCK/SCOND
* 5/6 - Conditional implementation of SCOND_FAIL_RETRY* in atomics (reduced dup)
Handle overflow of delay counter in SCOND_FAIL_RETRY_ASM
* 6/6 - updated changelog
[*] http://lkml.kernel.org/r/1438596188-10875-1-git-send-email-vgupta@synopsys.com
Vineet Gupta (6):
Revert "ARCv2: STAR 9000837815 workaround hardware exclusive
transactions livelock"
ARC: refactor atomic inline asm operands with symbolic names
ARC: LLOCK/SCOND based spin_lock
ARC: LLOCK/SCOND based rwlock
ARCv2: spinlock/rwlock/atomics: Delayed retry of failed SCOND with
exponential backoff
ARCv2: spinlock/rwlock: Reset retry delay when starting a new
spin-wait cycle
arch/arc/Kconfig | 5 +
arch/arc/include/asm/atomic.h | 79 +++--
arch/arc/include/asm/spinlock.h | 539 +++++++++++++++++++++++++++++++++-
arch/arc/include/asm/spinlock_types.h | 2 +
arch/arc/kernel/setup.c | 4 +
5 files changed, 591 insertions(+), 38 deletions(-)
--
1.9.1
next reply other threads:[~2015-08-03 14:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-03 14:36 Vineet Gupta [this message]
2015-08-03 14:36 ` [PATCH v2 1/6] Revert "ARCv2: STAR 9000837815 workaround hardware exclusive transactions livelock" Vineet Gupta
2015-08-03 14:36 ` [PATCH v2 2/6] ARC: refactor atomic inline asm operands with symbolic names Vineet Gupta
2015-08-03 14:36 ` [PATCH v2 3/6] ARC: LLOCK/SCOND based spin_lock Vineet Gupta
2015-08-03 14:36 ` [PATCH v2 4/6] ARC: LLOCK/SCOND based rwlock Vineet Gupta
2015-08-03 14:36 ` [PATCH v2 5/6] ARCv2: spinlock/rwlock/atomics: Delayed retry of failed SCOND with exponential backoff Vineet Gupta
2015-08-03 14:36 ` [PATCH v2 6/6] ARCv2: spinlock/rwlock: Reset retry delay when starting a new spin-wait cycle Vineet Gupta
2015-08-03 14:48 ` [PATCH v2 0/6] ARC: spinlocks/atomics rework Peter Zijlstra
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=1438612568-28265-1-git-send-email-vgupta@synopsys.com \
--to=vineet.gupta1@synopsys.com \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@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 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®