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=-3.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 AFB85C433ED for ; Wed, 7 Apr 2021 15:54:34 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 5CA1A61132 for ; Wed, 7 Apr 2021 15:54:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5CA1A61132 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc: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=AVwQYmt4/WvLhqzKQNuWe9VtXHn1OJ3whzuURgEhyzI=; b=rIs0TiZXzRgAM6YwlJK7N2ePz Mc6lo7CxOqILv29JqWkdqMDYtBsx+ecSRE9+aZTjnrNvyFpR8LzuPcrTLlRC3GcZnjozCusXVrm3b 60AEafhw9Y5UrBP8LoUis0jQzYNDlLEaesvLSEELplS8wqhL0EyERsuXHXu53fo2h7/PCgJsYeaFF IkQ6nRrUSdkdn1ntoreQmaX5RRVYxAbgwCVKHOuGWoRMKWlmoPaO0Y6RxMNOqi3A+YLn73QK3egfH M/LWrVyRZWCOx71DmKOMShlQPvu+kPAbDU4xg2Q35z3rbN143mtfqMyG3rOOum9Nv8ijBfKQDQTS7 57XnllzQA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lUAVW-005LQd-EP; Wed, 07 Apr 2021 15:54:19 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lUAVS-005LPi-En for linux-riscv@desiato.infradead.org; Wed, 07 Apr 2021 15:54:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=ZN4QPdG1dWY6PBo4DSX5jrwf0CE9CsAs0+P/fZZM2Q4=; b=v56zcA69Axw8XFUBNIHFOZoenq iUwADmybOT9cRYlkoTELmY4GiYo9Kmzl1EZ678sgaqNY87YCrmckChlCNEv7eE4zYmyUzLAvrhY3W qPFqCtxoQn11hJvCjtdgYsSdfkm3ty/AsejW0/O4m6CZ9gT9vCRtU4OURHA0vqk7QEvzxsprnKH6D 6b8mLKd42nleucfHxTd22W1tZhXpty0Ct5NjmKw4ggQcRug1NLYPcbIfEqqojKra0hTXt8+J1Dvjf Uus5cbh2eupcBfyVoSkwl7KJoyalB8DWrAKz2Z5741s+TxaQ3BUgDlk0wRRo2/FX4aDIxsD2w2+me KBb63rWw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1lUATs-00EhxJ-PW; Wed, 07 Apr 2021 15:52:43 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 6F1AF300219; Wed, 7 Apr 2021 17:52:36 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 61DB52BF09264; Wed, 7 Apr 2021 17:52:36 +0200 (CEST) Date: Wed, 7 Apr 2021 17:52:36 +0200 From: Peter Zijlstra To: Christoph =?iso-8859-1?Q?M=FCllner?= Cc: Christoph Hellwig , Guo Ren , linux-riscv , Linux Kernel Mailing List , linux-csky@vger.kernel.org, linux-arch , Guo Ren , Will Deacon , Ingo Molnar , Waiman Long , Arnd Bergmann , Anup Patel Subject: Re: [PATCH v4 3/4] locking/qspinlock: Add ARCH_USE_QUEUED_SPINLOCKS_XCHG32 Message-ID: References: <1616868399-82848-4-git-send-email-guoren@kernel.org> <20210407094224.GA3393992@infradead.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Wed, Apr 07, 2021 at 04:29:12PM +0200, Christoph M=FCllner wrote: > The comparison with sparc64 is not applicable, as sparc64 does not > have LL/SC instructions. Sparc64 has CAS, without hardware fwd progress. It has to do software backoff for failed CAS in order to do software fwd progress. _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv