From patchwork Thu May 18 10:09:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Philippe Brucker X-Patchwork-Id: 13246434 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 96DD5C7EE22 for ; Thu, 18 May 2023 10:43:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=u0uyNep4Lw5IJ/XYvduP1lkQOTgccSeZ2Jfa4IRW/IQ=; b=PzEWIqQeSLyEgb c57NYlWq8TqPXpHr/BPUHA/5SeZ2oqSxeV1RLeJ+bhibg0yEtRoYPIVDJa4e+aXx0vs4rBGSSIemt tJH23sy7EynuMRuSLbgtRU4IgKuPqYXvh70tqK1DTdlqBa/jL3w7F2MhBaS8VW5f4AcOrbOiqD8QD QnCHoZYXP9I626ERgIrJiQNDJE1bKn5iK/qh+C3/aSQdACVcGQwZYSP+pBoqIy0V2w0UMfJ/s9Ygb xRd2dZi+NUbFVrTPw1X2ChFasPktR6pe7xmHVjLS/GRkBUYrtgRoxdU+uXrIHPcOmnMYPyIuPH8KF JiEH37kn/QsxIsFrU+rg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pzb6V-00Cbek-1H; Thu, 18 May 2023 10:43:27 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pzb6R-00CbbT-0l for linux-arm-kernel@lists.infradead.org; Thu, 18 May 2023 10:43:24 +0000 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-3f4ad71b00eso11869135e9.2 for ; Thu, 18 May 2023 03:43:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684406601; x=1686998601; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=mp00WwehAYxhmIULq9IO59RiAwWhddV/IMvvStrd9QY=; b=S2AxPAGUw+TvyThlV0Vf9cbp1xI9Tav8+vI1C0HsNRWQUwjPnUfVaZBIq+Z35A/LpQ BT/LZzrLBEr9cZanYzuUOX0BLluH/JGkUUG+lTV/ICIc82pxJfjUIMyw7/8/FLKN/RBR aSdzIsMBP6x8uF8uKvytzyTv7Nika6GmXKknU1t13judHK5pQXYkc45CH9O/FNZzWelx 2xdS/Cd0Lu388nw322+bSI4hANfoaf3sEU5YCoeV5bVT4xUXXGoa1gnunBNzPikdnj4g bJrI3ZFiIRwIxxl2GEFk1IRNhBW81wwgu8mpKAoEGOvXDyZ1t8s1mfcqs8CAKI1GNsph pP1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684406601; x=1686998601; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mp00WwehAYxhmIULq9IO59RiAwWhddV/IMvvStrd9QY=; b=C66932AdWLESthuJjdliftZacCMx+Phbgg/jST/6tSZQonPpBGnAfIEbLExJ3nVzey eL42ouGWVlGsjgEr6CJRmOVPO2dcZ8VqXLGB2hS3Lyom/6EZN6IBrEr4Ah0TVqt5Ew1R YzqerYKL9D3GX2o9YebdFRUOU1KsOC0C9OGjgBwg7ZN/T2S2aMZdaDOka0JtwL1wyssu VRl50xEioYA1y6Gw73NVdt/VFYVs01vBd3ZkKENscosQAb9QP+7W89rCAFtPNhiV1Xnk xtmNAm0k34z2oHC4pd92OjSKPVxVdsAV9mBs5akwH6Vk3mG0DW9SE3og7rhVUcTvujGO DZiA== X-Gm-Message-State: AC+VfDwr7TrsV99mA18v0XhV+CsCg18xsTemSlvaCdiZ9R0AmOesvdJe TJSrh8BEgDSaNal4lHk/qmzZpw== X-Google-Smtp-Source: ACHHUZ74xHy3Q+upbLQlKFFcBssYX0WpfXMEve5SgQOi/ntELy8xB4pjSzgKM2I4g5IiYUtWQ6beAA== X-Received: by 2002:a05:600c:2049:b0:3f1:6fea:790a with SMTP id p9-20020a05600c204900b003f16fea790amr1174571wmg.30.1684406601090; Thu, 18 May 2023 03:43:21 -0700 (PDT) Received: from localhost.localdomain (5750a5b3.skybroadband.com. [87.80.165.179]) by smtp.gmail.com with ESMTPSA id f6-20020a1c6a06000000b003f427cba193sm4880523wmc.41.2023.05.18.03.43.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 May 2023 03:43:20 -0700 (PDT) From: Jean-Philippe Brucker To: oliver.upton@linux.dev, maz@kernel.org Cc: james.morse@arm.com, suzuki.poulose@arm.com, yuzenghui@huawei.com, catalin.marinas@arm.com, will@kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, Jean-Philippe Brucker Subject: [PATCH 4/4] KVM: arm64: vgic: Fix a comment Date: Thu, 18 May 2023 11:09:18 +0100 Message-Id: <20230518100914.2837292-5-jean-philippe@linaro.org> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230518100914.2837292-1-jean-philippe@linaro.org> References: <20230518100914.2837292-1-jean-philippe@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230518_034323_280429_D9BE5E2B X-CRM114-Status: GOOD ( 12.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org It is host userspace, not the guest, that issues KVM_DEV_ARM_VGIC_GRP_CTRL Signed-off-by: Jean-Philippe Brucker --- arch/arm64/kvm/vgic/vgic-init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kvm/vgic/vgic-init.c b/arch/arm64/kvm/vgic/vgic-init.c index c199ba2f192ef..6eafc2c45cfcf 100644 --- a/arch/arm64/kvm/vgic/vgic-init.c +++ b/arch/arm64/kvm/vgic/vgic-init.c @@ -406,7 +406,7 @@ void kvm_vgic_destroy(struct kvm *kvm) /** * vgic_lazy_init: Lazy init is only allowed if the GIC exposed to the guest - * is a GICv2. A GICv3 must be explicitly initialized by the guest using the + * is a GICv2. A GICv3 must be explicitly initialized by userspace using the * KVM_DEV_ARM_VGIC_GRP_CTRL KVM_DEVICE group. * @kvm: kvm struct pointer */