From patchwork Mon Sep 21 13:08:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandru Elisei X-Patchwork-Id: 11789745 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 490641668 for ; Mon, 21 Sep 2020 13:09:49 +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 07D0A21789 for ; Mon, 21 Sep 2020 13:09:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="BQNXI5d7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 07D0A21789 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.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: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:In-Reply-To:References:List-Owner; bh=FWhZFnNGHdHrOfh+0qbtTihJbvJZc7i30Qoo8FzsG3M=; b=BQNXI5d7Hjv1nTOeY9AbVAaIx2 zGcYZ4rTHuU9bXfyNdsakmfyWnZG5JqE9/tsZcRVN79TIzd4S5HZ5jm/xhT6Ya4iVd1L8k3aOlqpy ix355VMinnLmlMaiGzaojV2XCkWffgfaTrwXatScuiI3K9/16b5afpfFPwXi04wcqoCyImO78m50o WNpwx0crTc+rHlqXrEFGygeNXnU9N+3p1GRhPNz9SgqGICtvjkbPsq2dmZn+L7eCXfUL0y5UVyPkb yCNIXggW9PDQC+WiwqhL6pCAl5RTvg6bK7hsqpfmGgvg31uVj2KdCnzH70xaVGTeGhY+G+Pf4YCsE G7OVcJrw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kKLY1-0004Bd-B9; Mon, 21 Sep 2020 13:08:01 +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 1kKLXz-0004Ad-Fq for linux-arm-kernel@lists.infradead.org; Mon, 21 Sep 2020 13:08:00 +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 12EE4D6E; Mon, 21 Sep 2020 06:07:57 -0700 (PDT) Received: from monolith.localdoman (unknown [10.37.8.129]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 842D73F73B; Mon, 21 Sep 2020 06:07:55 -0700 (PDT) From: Alexandru Elisei To: linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu Subject: [PATCH 0/2] KVM: arm64: Documentation updates Date: Mon, 21 Sep 2020 14:08:36 +0100 Message-Id: <20200921130838.37296-1-alexandru.elisei@arm.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200921_090759_579800_FEFA216E X-CRM114-Status: GOOD ( 11.13 ) X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [217.140.110.172 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 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: maz@kernel.org, james.morse@arm.com, julien.thierry.kdev@gmail.com, suzuki.poulose@arm.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org I noticed some discrepancies between the error codes returned by KVM PMU emulation and the documentation, this is my attempt at fixing them. The code is from the original implementation of KVM PMU, and I thought it would be more prudent to modify the documentation to match the code instead of the other way around. Alexandru Elisei (2): KVM: arm64: Add undocumented return values for PMU device control group KVM: arm64: Match PMU error code descriptions with error conditions Documentation/virt/kvm/devices/vcpu.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)