From patchwork Fri Feb 22 08:23:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 159000 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp1454478jaa; Fri, 22 Feb 2019 00:23:51 -0800 (PST) X-Google-Smtp-Source: AHgI3IYWdEajd8c4upivkKY5YJl07SkZbPIjS3YxlGv9zeyjdJHcfk9CofzE4k51A+CcU8Igk9Jw X-Received: by 2002:a63:2a89:: with SMTP id q131mr2782440pgq.216.1550823831446; Fri, 22 Feb 2019 00:23:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550823831; cv=none; d=google.com; s=arc-20160816; b=ctvqTNSG8svHoT//cbPPhEFqoVjFeUvcH4r/b1RGmqKrQcGHNtLkaz6ZsG7wjMkbVk FuxOPSNo7CIioPN+S9lNqYb2saket0fSS2dmXCzpuAAhIBKvZpwvQWCL9Gp6oXirb2g+ H6bUpsAOhXg4RMFa6e9WyaB6yCWzKaAJU+zeUUHNcKwgGzbYeV9ngWank0G2ZLmQPh35 Wjhy+TLe5ICo3RQ4QxN1iBKn8xSB3lTFX/lGvZ52HWdbNbHCpdt4/O4aIye3fH8ytOxX UhGMF7wl1WPVeajzRo0fhTgaUDPON2RVQI2ypX/86Y4UX8ybptrUZbQZy7wZ30WUD7gp wh2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=kVzojLvyJg8CcO1+5mzWEKYitIoofAkDltlfNCBnwRI=; b=qtCmzRtCdadLz4G9qTW1NuLiKFAXJKtaqkcz2E6W+9uOporL7zXpepMFB3TBQNyL11 SndF0lBkpS4rMfg3iH+sFAN3YvSzkaGjxT2sapCqj5GgyLdUtUKB/MFZXxImF8GCYxTr T4MGqdiXTAKCVZjf9y0FYqtjN0mBU7pZRV/Sg2KzEmAw4X+daDnOMCC1ygg+2jdY1VaU OmnetMaIQh8ylwNzVcB366piyuDNSklz82xXYT2jHgTzsfTXPZA9uq24HQ8PxqWVMO0v /6BrsrZfzUSy73Ry/FI5xiDtk6Jk3semaoum0VjcNjITABoPVf1TOUiwi2wOWHY5ayJS vyxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KjfjDlet; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s9si792602plr.316.2019.02.22.00.23.50; Fri, 22 Feb 2019 00:23:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KjfjDlet; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726694AbfBVIXt (ORCPT + 32 others); Fri, 22 Feb 2019 03:23:49 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:47034 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725821AbfBVIXt (ORCPT ); Fri, 22 Feb 2019 03:23:49 -0500 Received: by mail-pl1-f195.google.com with SMTP id o6so741587pls.13 for ; Fri, 22 Feb 2019 00:23:48 -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=kVzojLvyJg8CcO1+5mzWEKYitIoofAkDltlfNCBnwRI=; b=KjfjDletYe2Gtz8dr94Kle7Id+AdDFAyRuqtC1gVPe2D+yRqWa5Mp7QaMT7TdxW380 gbyuZhHjXcVxhcKWGjGvlVS/34VShvvl5tUyfFciiLIR7IgI1IASoxuRxWiDvjvRijUR k2Zeh2pj3ZZ44oZ+fRoJxZFaUjBrdB2M/vMa3HF88jMxOswoaVlgCWSGsi+9MJM6oApn TlRpSyxbIRr8xdLdjLjy6YZUUNxTIS7oong30k9mQ6Icmtnu2zWZrZ2VBYl88+SoM2gJ d7OE2cRo1TL0bSCUm5nJ6h4M9TDVdkd474mi0zYsD6fvJ4wPs99XtNDOKmJNhxsUbgPs nQQA== 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=kVzojLvyJg8CcO1+5mzWEKYitIoofAkDltlfNCBnwRI=; b=nsbX874cGofnbEHtvLHxYVVL3O1KFdm8L7v3KZGJiJ0wfBLFm1rIjNBz4g+KWhMgyO Wt8u/+dW+dt2EObWAuWuXo0P1VSomYHI54RqEX3QaX/AvN4by+7HaidR3kyEX52NOjlF Dru6/LpnBXDAH0CF3RFYNiOtQq2Iz056YT8oERlLBPQLGeE3mxKeidLNwUUchuT9GflF IsL6DHw+i/MeJMXRvI5fhCz9OkgRAlIlumeSIF1XWbR3r8JBzE6ZwUWUrvCPGDShUsA3 XmA/ZFIGcVZu544UbVHpRhDTv16OM5NLw5J+o9J1b4jme7OzT+EbfgrX1KHOJ0DsP5ON grjg== X-Gm-Message-State: AHQUAuaI9RhQypHNudqvL1xY9rEhVHsumZjDwO3FycsuNBxuK5Gxsx8n TL6wbBxwaYM4ANvdsoLPesep8w== X-Received: by 2002:a17:902:b20e:: with SMTP id t14mr2927069plr.97.1550823828410; Fri, 22 Feb 2019 00:23:48 -0800 (PST) Received: from localhost.localdomain (li1195-158.members.linode.com. [45.79.96.158]) by smtp.gmail.com with ESMTPSA id y22sm133821pfn.136.2019.02.22.00.23.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Feb 2019 00:23:47 -0800 (PST) From: Leo Yan To: Christoffer Dall , Marc Zyngier , Catalin Marinas , Will Deacon , Mark Rutland , James Morse , Andre Przywara , Jun Yao , Paolo Bonzini , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org Cc: Leo Yan Subject: [PATCH v1 2/4] KVM: arm/arm64: vgic: Improve comment on kvm_vgic_inject_irq Date: Fri, 22 Feb 2019 16:23:24 +0800 Message-Id: <20190222082327.3312-3-leo.yan@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190222082327.3312-1-leo.yan@linaro.org> References: <20190222082327.3312-1-leo.yan@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The function kvm_vgic_inject_irq() is not only used by PPIs but also can be used to inject interrupt for SPIs; this patch improves comment for argument @cpuid to reflect support SPIs as well. Signed-off-by: Leo Yan --- virt/kvm/arm/vgic/vgic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/virt/kvm/arm/vgic/vgic.c b/virt/kvm/arm/vgic/vgic.c index 7cfdfbc910e0..79fe64c15051 100644 --- a/virt/kvm/arm/vgic/vgic.c +++ b/virt/kvm/arm/vgic/vgic.c @@ -394,7 +394,7 @@ bool vgic_queue_irq_unlock(struct kvm *kvm, struct vgic_irq *irq, /** * kvm_vgic_inject_irq - Inject an IRQ from a device to the vgic * @kvm: The VM structure pointer - * @cpuid: The CPU for PPIs + * @cpuid: The CPU for PPIs and SPIs * @intid: The INTID to inject a new state to. * @level: Edge-triggered: true: to trigger the interrupt * false: to ignore the call