Message ID | 20171113091752.10663-11-christoffer.dall@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4424760586 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 13 Nov 2017 09:25:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 392C929333 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 13 Nov 2017 09:25:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2C70E2933C; Mon, 13 Nov 2017 09:25:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BD7D429333 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 13 Nov 2017 09:25:53 +0000 (UTC) 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=WuM7jOJnpOflWOF1wQxk1ZI/NX5GpUXGdsjcUKFk/UM=; b=gIx6Hpe//fGs56Xyc3pSvv/IAJ haiNX7habJa/FST8fXIXcdnnROuCw/9uOwigdQpOLd9v5MR5XkRo/e5UcyyeeDydyCI/egN29vbEP +MyTTHr4GHQCn/707QsnDZ+HNNXQucaeUVSev2FGZbEgQ5r/eWqMiEHrxtFP5DSY0VxMOLjBo00hz uZSxkKjXuovKI5bn2o7ia5EJZEZbka8tVGM/xlffrtUBfUzjeGZi4vPoaZg7RsCqWWTVuyKwb67O5 kYg3vEkHpyJdzobSQM0eD4l8zFpjEe4bkRv/Tji19rd1G4Mb2tBykyeGmkk2+1bmlkGdz5/N9Dr+M IctDaFYA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eEB04-0002is-6B; Mon, 13 Nov 2017 09:25:52 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eEAsv-00025D-Mg for linux-arm-kernel@lists.infradead.org; Mon, 13 Nov 2017 09:18:40 +0000 Received: by mail-wm0-x241.google.com with SMTP id r68so13277683wmr.0 for <linux-arm-kernel@lists.infradead.org>; Mon, 13 Nov 2017 01:18:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=PdXDSjy8ZTqJlQTcUnynxYlUI0c15jJsaak2zepha10=; b=b8Oh/3xkIZEM+XcNTScr3NBMKpjYxOlZguZSxPYCCtPxqKz6YU7YJ2B2nqyIIcidIq wfLFpzt+UYfaintX7xJq3NwHn1RIcttMd3iUriYpcM6WjzYuLBrWJ2lH/svn0mmIn+JA J0xMuQwBQMbKXhw0ZJVYbj80f5HczmArfpr2s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=PdXDSjy8ZTqJlQTcUnynxYlUI0c15jJsaak2zepha10=; b=MqSpMma3Yfv71NKcNSPhwSaVxemYmVz4+VUvF5zIyJ75Ksy0iRTHuxSph9TNtiSdJo 9yR01Eq2M1Tf9+gvRWuj2LEOTFvwQX3b0BUxZLuA5Wrh8J75ne5oGXvUavZDmDZ6lmd2 LX/3ZaZOeAG1SnRSBBl006hk4Erc5cLwvm03xJb8AY1JiFzb8JEiHCqyN+3XCWJlxi8F 1hqYbMimj1Ad9J8pGUGfieAeA5lgG0fRTvmLee46o3pGAi+mi1MFzavIoeGybAxY+GTe dpUw0t0bCAmMoPPKn1SH8JgNj+2icQ5f9CoRS8Xm3CY8vroQYQsyDYJ4SafcNonm+976 m/0g== X-Gm-Message-State: AJaThX7JtVnuzKwjIeYrFExRHMSRwQoc7Sw61mnfG71FF29fBLPRrcCT Xc7VZBDcSt5XMtZOu7AIpkPrnQ== X-Google-Smtp-Source: AGs4zMZBXZH+pST2ZT9HBk0y2Qgxq7L3s5CT8Vg1R/ej0qWYBasRTq60mnFbGGAugr9lhongDmJbmA== X-Received: by 10.28.140.15 with SMTP id o15mr5593726wmd.8.1510564687935; Mon, 13 Nov 2017 01:18:07 -0800 (PST) Received: from localhost.localdomain (xd93dd96b.cust.hiper.dk. [217.61.217.107]) by smtp.gmail.com with ESMTPSA id x63sm9651399wma.39.2017.11.13.01.18.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 13 Nov 2017 01:18:07 -0800 (PST) From: Christoffer Dall <christoffer.dall@linaro.org> To: Paolo Bonzini <pbonzini@redhat.com>, =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= <rkrcmar@redhat.com> Subject: [PULL 10/27] KVM: arm/arm64: GICv4: Handle INT command applied to a VLPI Date: Mon, 13 Nov 2017 10:17:35 +0100 Message-Id: <20171113091752.10663-11-christoffer.dall@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171113091752.10663-1-christoffer.dall@linaro.org> References: <20171113091752.10663-1-christoffer.dall@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171113_011830_321479_21BE3BD7 X-CRM114-Status: UNSURE ( 9.36 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 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>, Christoffer Dall <christoffer.dall@linaro.org>, kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org MIME-Version: 1.0 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/virt/kvm/arm/vgic/vgic-its.c b/virt/kvm/arm/vgic/vgic-its.c index 54f81eb24a07..590f794b7330 100644 --- a/virt/kvm/arm/vgic/vgic-its.c +++ b/virt/kvm/arm/vgic/vgic-its.c @@ -581,6 +581,10 @@ static int vgic_its_trigger_msi(struct kvm *kvm, struct vgic_its *its, if (err) return err; + if (irq->hw) + return irq_set_irqchip_state(irq->host_irq, + IRQCHIP_STATE_PENDING, true); + spin_lock_irqsave(&irq->irq_lock, flags); irq->pending_latch = true; vgic_queue_irq_unlock(kvm, irq, flags);