Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753162AbbHCKDe (ORCPT ); Mon, 3 Aug 2015 06:03:34 -0400 Received: from smtprelay2.synopsys.com ([198.182.60.111]:55842 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752803AbbHCKDd (ORCPT ); Mon, 3 Aug 2015 06:03:33 -0400 From: Vineet Gupta To: "Peter Zijlstra (Intel)" CC: lkml , , Vineet Gupta Subject: [PATCH 0/6] ARC: spinlocks/atomics rework Date: Mon, 3 Aug 2015 15:33:02 +0530 Message-ID: <1438596188-10875-1-git-send-email-vgupta@synopsys.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.12.197.191] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1459 Lines: 40 Hi Peter, Just running this by you for quick eye balling and also as FYI. 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. I need to send this to Linus 4.2-rcx so will appreicate if you could take a quick peek. Thx, -Vineet 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 | 113 +++++-- arch/arc/include/asm/spinlock.h | 551 +++++++++++++++++++++++++++++++++- arch/arc/include/asm/spinlock_types.h | 2 + arch/arc/kernel/setup.c | 4 + 5 files changed, 636 insertions(+), 39 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/