Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1953095pxu; Sun, 13 Dec 2020 08:38:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJx96gc1tjuKiJXLx/U1kGOfI79vJUjmOsux3FUE3RhAwo1POTap5nPvxIkSGEd8lh5AJoHN X-Received: by 2002:a05:6402:31b5:: with SMTP id dj21mr21653101edb.90.1607877518735; Sun, 13 Dec 2020 08:38:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607877518; cv=none; d=google.com; s=arc-20160816; b=i/u4CItOKi9XozkuoXvGXP6FNsX2kSE7pytSh4NZrsU1m4yTU5rq8IDYk3JpSW8ZJx 5ZRq+bx3DvFe4K8jVSrcoDohX6CMO2Kc1Ofeu0LWk/9W9RYVSy0+i2V+ID8UYm8yLQY+ E+owHkv5CWUCPk+yO6kELtexbrFzhXiYZbMc0Oab+kVG9ebKIMlm7H/MH/lj0pO4Fwut 6JDaoDx+stHz1zWDVVF1xqe0yHMj8GvXBVFc/D8WBFrqzbVBLTEX7iA2IC6BHVz4CLIs bVrG3GQMuYWStOY1gVFASbyJRZm+EnsAREfQODjLLh7zp6AZ57uONLz6Gulwjp11Cw+a KUvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+A3phxBKaaaLjrjDmzMcORteXFYyi2v6m11ADHyJ5AE=; b=BQ/r7ziIAejY6/fPtsoBqtsY2h6kdJqgeEcwXBaTRi6SlnhHov8Hku/LnBW+iSddXa ok8VuHu4ctjNjd7c+pNBiXIakeLYUhhNrqsqEA3eQjhQ/ZCRzdaKqqUNCpN9/7kRUavr byKGh2qoAmAW81shQCB/ZVPQ3U5CPb7CR1/otgxV4xYjEois2fPpXcw3LdL2uo3yI1Tu ztWWbrT+3UnJFCr4qzh/+Df5siJ9oKAiV8NireAH14MgQmhIN3Q5mMZQXrs2ufsTgO7M LJp6qnAyuCgUr6XMDwmQaJ6yaiaVUomA5jJUaHMztz69hHgoIsI6p31CMK2n0Ts5wVmZ ksxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=J2pxx60h; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rv27si7854827ejb.720.2020.12.13.08.38.15; Sun, 13 Dec 2020 08:38:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=J2pxx60h; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2439779AbgLLSw7 (ORCPT + 99 others); Sat, 12 Dec 2020 13:52:59 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:58340 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2407756AbgLLSwR (ORCPT ); Sat, 12 Dec 2020 13:52:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1607799051; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+A3phxBKaaaLjrjDmzMcORteXFYyi2v6m11ADHyJ5AE=; b=J2pxx60hie9jnLBebMm8L26YWttmV47tpvEaIQZP58ZAaqJBZJ3wARXg479ovdECXRUt+o QZW7zwRjM5NJhS+DRxnEKHHiTFhs/KxrN8o7hFk4QwN/FEoyqNUeXQ8k72ps4GyUn4hqRf 9UIv6RNmpL4yDH39JGvPFjn2RywcfCY= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-500-c1s9mzLFP_-x7xrl0AmGAg-1; Sat, 12 Dec 2020 13:50:50 -0500 X-MC-Unique: c1s9mzLFP_-x7xrl0AmGAg-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 57DFC10054FF; Sat, 12 Dec 2020 18:50:48 +0000 (UTC) Received: from laptop.redhat.com (ovpn-115-41.ams2.redhat.com [10.36.115.41]) by smtp.corp.redhat.com (Postfix) with ESMTP id 76CF01F069; Sat, 12 Dec 2020 18:50:45 +0000 (UTC) From: Eric Auger To: eric.auger.pro@gmail.com, eric.auger@redhat.com, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu, maz@kernel.org, drjones@redhat.com Cc: alexandru.elisei@arm.com, james.morse@arm.com, julien.thierry.kdev@gmail.com, suzuki.poulose@arm.com, shuah@kernel.org, pbonzini@redhat.com Subject: [PATCH 6/9] docs: kvm: devices/arm-vgic-v3: enhance KVM_DEV_ARM_VGIC_CTRL_INIT doc Date: Sat, 12 Dec 2020 19:50:07 +0100 Message-Id: <20201212185010.26579-7-eric.auger@redhat.com> In-Reply-To: <20201212185010.26579-1-eric.auger@redhat.com> References: <20201212185010.26579-1-eric.auger@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org kvm_arch_vcpu_precreate() returns -EBUSY if the vgic is already initialized. So let's document that KVM_DEV_ARM_VGIC_CTRL_INIT must be called after all vcpu creations. Signed-off-by: Eric Auger --- Documentation/virt/kvm/devices/arm-vgic-v3.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/virt/kvm/devices/arm-vgic-v3.rst b/Documentation/virt/kvm/devices/arm-vgic-v3.rst index 5dd3bff51978..322de6aebdec 100644 --- a/Documentation/virt/kvm/devices/arm-vgic-v3.rst +++ b/Documentation/virt/kvm/devices/arm-vgic-v3.rst @@ -228,7 +228,7 @@ Groups: KVM_DEV_ARM_VGIC_CTRL_INIT request the initialization of the VGIC, no additional parameter in - kvm_device_attr.addr. + kvm_device_attr.addr. Must be called after all vcpu creations. KVM_DEV_ARM_VGIC_SAVE_PENDING_TABLES save all LPI pending bits into guest RAM pending tables. -- 2.21.3