Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1617916ybh; Thu, 23 Jul 2020 13:32:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwgXpFc6eIx7/1b7yRn4rXE7o1AnR3nLY4Q2CKhR5yU7rHXm54t9uUbMw6Prrq4YZwUt9GC X-Received: by 2002:a17:906:7f90:: with SMTP id f16mr5948416ejr.507.1595536326555; Thu, 23 Jul 2020 13:32:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595536326; cv=none; d=google.com; s=arc-20160816; b=C0fyuaWyo0RryglRZi0dL0QYpix9mLhVJ4pBE6ATVMTuI64xhYOWS2dHRTqVanhod5 bkkt9ESWXgWI3IEKHwGm/ZBGuh9EsR8PPCm7S7ebBgs657sT0r37XG+y/3X3EyAFiTjo RWsqtHtywHcCeaNQjYzlqRxw6dZYlXJZoaL1uPueCQ6O2afAiKUwTeR6VuSTIvZdczGB yrmXx2cTLC/SsrP3T1X/iYxl6VYMQ1ddTkHooVe6d4mqhWfD7YVPDJquBg1mrxtTgtga MmLtcUHH7GbNga4l0jNtaRz4i0Hb11u4I1mnfStwerDon84eRFWYzNVyLczV/oY4Dhwr 8Q4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=o3JemNeKvd//x/HlVYzulF9jqzoAy1UEItJUFviEboM=; b=qCkZJkO7ybGXmX67PaHBDJ0pxEwm6/Zc507LlmZpUgDHmt4UmSXFP1KZ7nILnB8JrF Ik1wAfOiVDEWIffpdhi8WP7ugO6fzSt4ZRRKpK6YgLqpzwl5V4PgEyFd5NcCJkhQQNfl Vnnw/w7KNVs9h6FbauzNHdGz7cKp4abMktJj7+duIDeGDH1pOhpndi8zTIYt6Txb+A3Y tpRO+ZHyO0CHUi9SK4uV6x6D7wj18iywGRSr0nBBsfBY6zsaag7Hf8daiwbsjtG7fChr DVjnNutR4wG05GdpkR+819cfa398z6IhmZYj0pn/7H67wE4pjWxFSmlSfBYt8CwnLFLg yvcg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d14si2668747eds.574.2020.07.23.13.31.44; Thu, 23 Jul 2020 13:32:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727900AbgGWUbE (ORCPT + 99 others); Thu, 23 Jul 2020 16:31:04 -0400 Received: from gate.crashing.org ([63.228.1.57]:51798 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726146AbgGWUbE (ORCPT ); Thu, 23 Jul 2020 16:31:04 -0400 Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id 06NKUlRb019444; Thu, 23 Jul 2020 15:30:47 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id 06NKUkhI019442; Thu, 23 Jul 2020 15:30:46 -0500 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Thu, 23 Jul 2020 15:30:46 -0500 From: Segher Boessenkool To: peterz@infradead.org Cc: Waiman Long , linux-arch@vger.kernel.org, Boqun Feng , virtualization@lists.linux-foundation.org, linuxppc-dev@lists.ozlabs.org, Nicholas Piggin , linux-kernel@vger.kernel.org, Ingo Molnar , kvm-ppc@vger.kernel.org, Will Deacon Subject: Re: [PATCH v3 5/6] powerpc/pseries: implement paravirt qspinlocks for SPLPAR Message-ID: <20200723203046.GI32057@gate.crashing.org> References: <20200706043540.1563616-1-npiggin@gmail.com> <20200706043540.1563616-6-npiggin@gmail.com> <874kqhvu1v.fsf@mpe.ellerman.id.au> <8265d782-4e50-a9b2-a908-0cb588ffa09c@redhat.com> <20200723140011.GR5523@worktop.programming.kicks-ass.net> <845de183-56f5-2958-3159-faa131d46401@redhat.com> <20200723184759.GS119549@hirez.programming.kicks-ass.net> <6d6279ad-7432-63c1-14c3-18c4cff30bf8@redhat.com> <20200723195855.GU119549@hirez.programming.kicks-ass.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200723195855.GU119549@hirez.programming.kicks-ass.net> User-Agent: Mutt/1.4.2.3i Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 23, 2020 at 09:58:55PM +0200, peterz@infradead.org wrote: > asm ("addb %[val], %b[var];" > "cmovc %[sat], %[var];" > : [var] "+r" (tmp) > : [val] "ir" (val), [sat] "r" (sat) > ); "var" (operand 0) needs an earlyclobber ("sat" is read after "var" is written for the first time). Segher