From patchwork Tue Jan 26 14:11:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandru Elisei X-Patchwork-Id: 12046749 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ED274C433E0 for ; Tue, 26 Jan 2021 14:14:14 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B353122B3B for ; Tue, 26 Jan 2021 14:14:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B353122B3B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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=kWlaDQmGEyyQb5upplgU3sfGirirG4qGGeFArSa+02U=; b=wvYdGihNusTee8QaVPEQZhLbG YUH18/B55yUAA7klPWoAL3vwFTqPCRHE//h9Y4oQ2qewv6akw4SlPfm4PcCorovbi1tWlmcwN3nQD EbATZRcuEiHLbJH48jPtF+TYsXO8XKuRuh67yoXxfD0IGKC+B4y/JJ/gW5QK4tac+n1SfrqID+Xzd G7nfRsgYKijxg/FWDu3KmYPjOkQVma7kuCPNPlpY9RdkknoYnIPEhQXtnbbGASL9mvoISQEQlMnYJ 3k50cOMdpGhXLrr+6u940DyKqk1WxQIHf2hAHlp0ncUOeezar9EjkWQgqJGsOrSQHtRDxrzeTVi3j wm3sDuwMA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l4P4s-0000PK-7t; Tue, 26 Jan 2021 14:12:18 +0000 Received: from foss.arm.com ([217.140.110.172]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l4P4k-0000N1-4F for linux-arm-kernel@lists.infradead.org; Tue, 26 Jan 2021 14:12:11 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 24364113E; Tue, 26 Jan 2021 06:12:09 -0800 (PST) Received: from monolith.localdoman (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2A98E3F68F; Tue, 26 Jan 2021 06:12:03 -0800 (PST) From: Alexandru Elisei To: maz@kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu Subject: [PATCH 1/2] Documentation: kvm: vgic-v3: Update return code for KVM_DEV_ARM_VGIC_GRP_CTRL Date: Tue, 26 Jan 2021 14:11:55 +0000 Message-Id: <20210126141156.39317-2-alexandru.elisei@arm.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210126141156.39317-1-alexandru.elisei@arm.com> References: <20210126141156.39317-1-alexandru.elisei@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210126_091210_281014_0ADF0424 X-CRM114-Status: GOOD ( 10.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: james.morse@arm.com, julien.thierry.kdev@gmail.com, suzuki.poulose@arm.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org KVM_DEV_ARM_VGIC_GRP_CTRL(KVM_DEV_ARM_VGIC_CTRL_INIT) can return -EBUSY from vgic_init() if one or more VCPUs are in the process of being created (kvm->created_cpus != kvm->online_cpus). Update the documentation for the -EBUSY return code with this information. Signed-off-by: Alexandru Elisei --- Documentation/virt/kvm/devices/arm-vgic-v3.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/virt/kvm/devices/arm-vgic-v3.rst b/Documentation/virt/kvm/devices/arm-vgic-v3.rst index 5dd3bff51978..1fad08d722de 100644 --- a/Documentation/virt/kvm/devices/arm-vgic-v3.rst +++ b/Documentation/virt/kvm/devices/arm-vgic-v3.rst @@ -242,7 +242,9 @@ Groups: -ENODEV no online VCPU -ENOMEM memory shortage when allocating vgic internal data -EFAULT Invalid guest ram access - -EBUSY One or more VCPUS are running + -EBUSY One or more VCPUS are running when saving the LPI pending + tables or VCPU creation is in progress when initializing + the VGIC ======= ========================================================