From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B4634ECE58C for ; Wed, 9 Oct 2019 21:42:38 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 879F0206BB for ; Wed, 9 Oct 2019 21:42:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="C1aJjTSs" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 879F0206BB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=breakpoint.cc Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=i5FU4wrqVilYCFLET5L4JHM4797fsc4b5+9hZ62+tC4=; b=C1aJjTSs2yM07H t77N4qHhgwg8wEfE8oX5tuJd4IwuuuEQER1hpB3l9rLggBUmzxKsBX+ryUL+q2F2n3eZrOj5FubJv N2VdkRVhJQ0Fuf/Nufgyi5YJJ3P5PBvEbRC6S4BnsYLdAHb18KmD4nWoD8uYjroUlItusVBE9mCR5 C9CsbqrnyZ5edL0Flb+OAitR8dJGzjsKXjH/4VduO9bpG86QDPtv0ILV4iL3aoL1jwqotSOloO2bJ F1xvf6MfyFDdTyaQQP70u7iUITQeWJOeHxmIUfu62v9V3ewjvbcEaT5boYishdyBdO7fA4JGj2JN8 DQblSpWgsqI9KCHkf/Uw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iIJj6-00023q-LS; Wed, 09 Oct 2019 21:42:32 +0000 Received: from chamillionaire.breakpoint.cc ([2a0a:51c0:0:12e:520::1]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iIJj3-00023H-NM for linux-arm-kernel@lists.infradead.org; Wed, 09 Oct 2019 21:42:30 +0000 Received: from bigeasy by Chamillionaire.breakpoint.cc with local (Exim 4.92) (envelope-from ) id 1iIJiz-0006C9-1u; Wed, 09 Oct 2019 23:42:25 +0200 Date: Wed, 9 Oct 2019 23:42:24 +0200 From: Sebastian Andrzej Siewior To: Arnd Bergmann Subject: Re: [RFC PATCH 0/3] Queued spinlocks/RW-locks for ARM Message-ID: <20191009214224.qcv5jenrceoijk5y@flow> References: <56004687-af3e-3b8b-c9b5-21cd653db12b@redhat.com> <20191009084610.GG2311@hirez.programming.kicks-ass.net> <20191009093118.GJ2328@hirez.programming.kicks-ass.net> <20191009105650.GM2328@hirez.programming.kicks-ass.net> <20191009120639.GI2311@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191009_144229_760452_0E49E646 X-CRM114-Status: GOOD ( 11.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Zijlstra , Russell King , Ingo Molnar , Waiman Long , Will Deacon , Linux ARM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2019-10-09 15:50:24 [+0200], Arnd Bergmann wrote: > Ok. I looked a bit at the other implementations that do xchg16() through > cmpxchg32(), and it seems it would be easiest to reuse the superh version, > which is fully portable by moving arch/sh/include/asm/cmpxchg-xchg.h > into include/asm-generic/, the same thing would allow us to change a > number of other architectures to use the generic qspinlock instead of > their own locks. > > Sebastian, do you want to try doing it that way? sounds good, I'm on it. > Arnd Sebastian _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel