Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp182622ybz; Wed, 15 Apr 2020 06:51:34 -0700 (PDT) X-Google-Smtp-Source: APiQypKdvpAfmkxHuSwwYrTd7wtR9SbWAW5LOSdcwyD3cJpeX2RnxI5mR8aT11CD0mLvoOzdxgDc X-Received: by 2002:aa7:c2c3:: with SMTP id m3mr18184211edp.10.1586958693960; Wed, 15 Apr 2020 06:51:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586958693; cv=none; d=google.com; s=arc-20160816; b=ZJePoPkSDPS+/3hNyTEx9iTHFZ5qggWJYOa9djLLxaFVLimT/qjE9v8cQsPztK+PVe RcIGwfOUHAio35rAfxb9mu7sC56NQqK0jCuzUkjhurgc6XD0VvJrZ2XxC5ql4vtlAhlv ZrMXmOz4WAGqbxXVIHL6GE+x+xm/1PbZJnw0Z1AaA0f3k0/LrozFEHptfbFY75PyM46D 1NufundmRo+rRDHUSf0YDpTFfiDtp1YhN8pO6sl2W8wYqo2wE6VkGNSa2B0k68zSxrly iG5thyq5Yg+HtdsYT8BOphmOiCFZUTzYbH0p3souY8IvROAGu/TlrvV96cI2HLSNIzhS FG5g== 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=zXHa7527yuILqr63lcd5ulTxtnm2cwRf5M3r7hTSyI0=; b=AvcxtZI9QCdSxenmVTa14EOGnQEAx7L2pS6ZWdsHzDaubK2d49/rJKUXfBQX0Sqlzo i169LZZ05w2cIAOnnBH/ajMVIB0UPpnQFVtpm+YG3wjfBPKCTsFJU4M5t1t+YCmkQOg+ JV/lhbJnLAVFzpKMv8lLd0ZVoDq/+MjzCiiVQfH2ifiXzWpfbEGR14G1K99ttwfMefa4 mrrBIoevdG+lN1mOt+UtR8bIazYQfN7tPDqtlkMEuKd87UJINzr+DebNUWGwnpOHZfW5 2cjpURNcZw5xALyfjWDmAZIlkLUlRbwd+UXs2ya/4PIhUi5LDXaQ/l9kIYWoQ5fx3KMJ WnSg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for 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 v11si6568800ejw.31.2020.04.15.06.51.08; Wed, 15 Apr 2020 06:51:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for 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: best guess record for 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 S2391757AbgDNVPD (ORCPT + 99 others); Tue, 14 Apr 2020 17:15:03 -0400 Received: from mx2.suse.de ([195.135.220.15]:59768 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732367AbgDNVPA (ORCPT ); Tue, 14 Apr 2020 17:15:00 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 45390ABBE; Tue, 14 Apr 2020 21:14:57 +0000 (UTC) Date: Tue, 14 Apr 2020 14:12:43 -0700 From: Davidlohr Bueso To: Paolo Bonzini Cc: tglx@linutronix.de, bigeasy@linutronix.de, peterz@infradead.org, rostedt@goodmis.org, torvalds@linux-foundation.org, will@kernel.org, joel@joelfernandes.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Paul Mackerras , kvmarm@lists.cs.columbia.edu, linux-mips@vger.kernel.org, Davidlohr Bueso Subject: Re: [PATCH 3/4] kvm: Replace vcpu->swait with rcuwait Message-ID: <20200414211243.7vehybdrvbzmbduu@linux-p48b> References: <20200324044453.15733-1-dave@stgolabs.net> <20200324044453.15733-4-dave@stgolabs.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 25 Mar 2020, Paolo Bonzini wrote: >On 24/03/20 05:44, Davidlohr Bueso wrote: >> diff --git a/arch/mips/kvm/mips.c b/arch/mips/kvm/mips.c >> index 71244bf87c3a..e049fcb3dffb 100644 >> --- a/arch/mips/kvm/mips.c >> +++ b/arch/mips/kvm/mips.c >> @@ -290,8 +290,7 @@ static enum hrtimer_restart kvm_mips_comparecount_wakeup(struct hrtimer *timer) >> kvm_mips_callbacks->queue_timer_int(vcpu); >> >> vcpu->arch.wait = 0; >> - if (swq_has_sleeper(&vcpu->wq)) >> - swake_up_one(&vcpu->wq); >> + rcuwait_wake_up(&vcpu->wait) > >This is missing a semicolon. (KVM MIPS is known not to compile and will >be changed to "depends on BROKEN" in 5.7). Do you want me to send another version with this fix or do you prefer fixing it when/if picked up? Thanks, Davidlohr