Message ID | 20160518130139.GG3827@cbox |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp2622286qge; Wed, 18 May 2016 06:02:39 -0700 (PDT) X-Received: by 10.67.15.9 with SMTP id fk9mr10694752pad.77.1463576559249; Wed, 18 May 2016 06:02:39 -0700 (PDT) Return-Path: <linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org> Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id bk5si12086108pac.52.2016.05.18.06.02.39 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 May 2016 06:02:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1b316E-0000XB-2w; Wed, 18 May 2016 13:01:18 +0000 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b316A-0000Nc-Fd for linux-arm-kernel@lists.infradead.org; Wed, 18 May 2016 13:01:15 +0000 Received: by mail-wm0-x236.google.com with SMTP id n129so183833120wmn.1 for <linux-arm-kernel@lists.infradead.org>; Wed, 18 May 2016 06:00:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=ZG2bh6pYl5hMqkY4RErFH4d4VxseAoq5DbAN7dQIpo0=; b=P32A1dma6XD6KbKBBoKCq42D85WGeBXOVmaxJJuO0DUhWG1T/bwfnF7ZHl7JatnDXd c75evGpH7tZNWMkRVuiaFxMrR9IGCJU68pOqTsUUTnFn1K+Xaf5Lu2O810Q2YG0Wh0eV 49qJ3GEZdf/ud3z3mPpOPDC+9K1Na3t4dtvkM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ZG2bh6pYl5hMqkY4RErFH4d4VxseAoq5DbAN7dQIpo0=; b=ZfCn8fzQtb/D96GMZ1kbjePHwN4hLRgI9NnqqB+xr+160P5ClWBlui3adIodwbwsxc AIU5+KuwKJihqXDKfejgPPI75ETS6P4fXVRgLGV2eJy8wksp9Yw5OgC7Kdi7UikFM5Ej idRagSoHjIUHSUJ1q7wij7EnYDpIaoJhKwUPf/jBxJhPK30Ih+jiOhFxqj4IzqqbKoSx B0yXTxYJrNZ/9ypRVHslFO2YL0/xn+5n7fDaL+lv5nEBdB6iH0J8dMtq0jme/Z6Yr+Yj BtHeFL5vyYFGFjadtF9NHvdQcR1M8mysQGxIH4AaarSzWVTwzodX8SjuH7YR2aV+HxSA cSAQ== X-Gm-Message-State: AOPr4FUPfxaYy4ihjEfA9AxZgk60ZAOot3ihvoYU1v/O4PMXBe1jSm1NQzSWMI7RCireTrZ2 X-Received: by 10.28.56.132 with SMTP id f126mr4480862wma.96.1463576452855; Wed, 18 May 2016 06:00:52 -0700 (PDT) Received: from localhost ([94.18.191.146]) by smtp.gmail.com with ESMTPSA id e8sm8581033wjm.23.2016.05.18.06.00.51 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 18 May 2016 06:00:52 -0700 (PDT) Date: Wed, 18 May 2016 15:01:39 +0200 From: Christoffer Dall <christoffer.dall@linaro.org> To: Andre Przywara <andre.przywara@arm.com> Subject: Re: [PATCH v4 27/56] KVM: arm/arm64: vgic-new: Add ACTIVE registers handlers Message-ID: <20160518130139.GG3827@cbox> References: <1463392481-26583-1-git-send-email-andre.przywara@arm.com> <1463392481-26583-28-git-send-email-andre.przywara@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1463392481-26583-28-git-send-email-andre.przywara@arm.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160518_060114_814728_C2D8EC5F X-CRM114-Status: GOOD ( 30.85 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:400c:c09:0:0:0:236 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Marc Zyngier <marc.zyngier@arm.com>, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, Eric Auger <eric.auger@linaro.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org |
diff --git a/virt/kvm/arm/vgic/vgic.c b/virt/kvm/arm/vgic/vgic.c index c22f7e2..27204f22 100644 --- a/virt/kvm/arm/vgic/vgic.c +++ b/virt/kvm/arm/vgic/vgic.c @@ -81,7 +81,7 @@ static struct kvm_vcpu *vgic_target_oracle(struct vgic_irq *irq) /* If the interrupt is active, it must stay on the current vcpu */ if (irq->active) - return irq->vcpu; + return irq->vcpu ? : irq->target_vcpu; /* * If the IRQ is not active but enabled and pending, we should direct